[New Mod] maneuvering thrusters

Post about your finished mods here.
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

Finally, a way to strafe and reverse thrust! Unfortunately, the thrusters take your launcher slot. There are 3 sizes of thrusters micro, medium and heavy freight.

Download from Xelerus


Updated @ 36 DLs June 2nd/10
The thrusters now have afterburners and the ammo use has been removed. I tried to balance them some more and added a autoDefense device that will shove the ship out of the path of incoming missiles.
Last edited by Prophet on Thu Jun 03, 2010 1:46 am, edited 1 time in total.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2801
Joined: Mon Aug 17, 2009 4:27 am

Heh. That's a little like the effect of my Hellfire cannon, which lobs your ship backwards as you fire it. :D
Mischievous local moderator. She/Her pronouns.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

This looks very interesting and innovative. How do I choose to fire a particular thruster? Mind you, I have only looked at the code, not tried it ingame. Am I right in assuming this would be so much better with freely bound keys?
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

The onFireWeapon code checks which ammo you have selected and generates thrust appropriately. There are three ammo types: thrustLeft, thrustRight, thrustReverse. The ammo items are virtual and only exist to provide criteria for the event code to check. With custom keys this could be a misc device rather than taking up the launcher slot.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

George, can we please have free key binding? :twisted:
Jeoshua
Militia Lieutenant
Militia Lieutenant
Posts: 163
Joined: Sat Sep 06, 2008 3:48 pm

OMG! This is 90% of the way there to the most perfect mod ever made! The only way it could be made better is with virtual keys. GEORGE!!! PLZ?!
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

I think it's a great idea. I was planning on doing some simple key-mapping for 1.2, but maybe I can move that up to 1.1.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Now that would be spectacular! :o
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

I think it's a great idea. I was planning on doing some simple key-mapping for 1.2, but maybe I can move that up to 1.1.
Yay! :D
User avatar
Vizth
Commonwealth Pilot
Commonwealth Pilot
Posts: 54
Joined: Mon Sep 04, 2006 12:56 am
Location: Tellico Plains, Tennessee

Prophet wrote:Finally, a way to strafe and reverse thrust! Unfortunately, the thrusters take your launcher slot. There are 3 sizes of thrusters micro, medium and heavy freight. They generate their own ammo which is used as the fuel.
I developed these as a mining assistance device but they were too much fun to hold onto.

Download from Xelerus
You bastard, I've been working on a mod like that over a month now. lol

Ok not exactly like mine, mine's supposed to be more like a dodge button. Mind if i use some of your code? Making them directional is what killed me. XD
Image
User avatar
ptbptb
Militia Lieutenant
Militia Lieutenant
Posts: 143
Joined: Mon May 10, 2010 7:34 pm

I think everybody is going to die when the AI of enemy ships gets to do this. ;-)
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2801
Joined: Mon Aug 17, 2009 4:27 am

ptbptb wrote:I think everybody is going to die when the AI of enemy ships gets to do this. ;-)
Yeah. You're on 5 armor, you've got 7 shots left on your thermo cannon....and your enemy strafes right and hits reverse thrust JUST as you loose those last few rounds. :P
Mischievous local moderator. She/Her pronouns.
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

Vizth wrote:Ok not exactly like mine, mine's supposed to be more like a dodge button. Mind if i use some of your code? Making them directional is what killed me. XD
That's an awesome idea, please use whatever code you need. If you have any questions, just ask! In the case of making enemies dodge, perhaps something like an ICX auto defense device but have the weapon simply shove the ship sideways. It may mess with the AI a bit but it will mess with players more :twisted:
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
Jeoshua
Militia Lieutenant
Militia Lieutenant
Posts: 163
Joined: Sat Sep 06, 2008 3:48 pm

If anyone actually figures out how to make AI do this, it would make the game that much more awesome... of course, certain types of ships shouldn't have this ability at all.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

Shouldn't be too hard. Get the relative vector to the target and thrust depending on the angle.
Post Reply