Space Fighter Issues + Questions
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Space Fighter Issues + Questions
I recently made a custom fighter, with it's own mesh and weapons, etc. Now, when I speed up, there aren't any contrail effects, even though they are referenced in the ODF clearly. Also, when it is shot, it spirals out of control as usual, but unless it collides with something, it keeps going. It never just explodes on its own. So, if you are shot and you don't hit anything, you keep falling and spiraling forever. How can I fix this?
Last edited by Fiodis on Wed Aug 12, 2009 6:05 pm, edited 1 time in total.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Indestructable Fighter + missing contrails
Does it have the necessary hardpoints for the contrails to be attached to? Are you sure the contrails aren't just located in some odd location?Fiodis wrote:I recently made a custom fighter, with it's own mesh and weapons, etc. Now, when I speed up, there aren't any contrail effects, even though they are referenced in the ODF clearly. Also, when it is shot, it spirals out of control as usual, but unless it collides with something, it keeps going. It never just explodes on its own. So, if you are shot and you don't hit anything, you keep falling and spiraling forever. How can I fix this?
You also need to have chunk geometry for your flyer if you want it to explode without hitting something first.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Space Fighter Issues + Questions
Ah, thanks for the chunk tip. It does have two hp_contrails that are referenced correctly in the ODF. They are nulls. I also use them for two engine effects. Is that a problem? Can an hp be used for only one effect at a time?
Also, I renamed this thread because I have a few other questions about fighters and felt it'd be silly to litter the forum with fighter threads.
How do you control the height a flyer rises when you first lift off? I want to set this to be 0, so that it just shoots off right away without rising. I tried
That didn't seem to have any effect, however.
Also, I renamed this thread because I have a few other questions about fighters and felt it'd be silly to litter the forum with fighter threads.
How do you control the height a flyer rises when you first lift off? I want to set this to be 0, so that it just shoots off right away without rising. I tried
Code: Select all
TakeoffHeight = 0- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Space Fighter Issues + Questions
Hidden/Spoiler:
source:http://www.secretsociety.com/forum/down ... _Notes.txt
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Space Fighter Issues + Questions
If you don't mind me adding a question, does a negative value work or does the game just crash?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Space Fighter Issues + Questions
I put quotes around the 0 and nothing changed; it still rises a bit. I'll try a negative value.
EDIT - A negative value, when I hopped in and tried to lift off, resulted in the screen (Except the HUD) turning pitch-black and the game freezing. When I let some AI try it while I watched, they hopped in, then when they tried to lift off the ship exploded. I laughed at that; it seemed almost like a sleeper bomb or something. Needless to say it was the last thing I was expecting.
No related messages in the error log, and no munge errors.
EDIT - A negative value, when I hopped in and tried to lift off, resulted in the screen (Except the HUD) turning pitch-black and the game freezing. When I let some AI try it while I watched, they hopped in, then when they tried to lift off the ship exploded. I laughed at that; it seemed almost like a sleeper bomb or something. Needless to say it was the last thing I was expecting.
No related messages in the error log, and no munge errors.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Space Fighter Issues + Questions
Well, then, how about my pre-edit?
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Space Fighter Issues + Questions
You have to edit these values to look like this:
These must be above 0 or it simply doesn't work.
Code: Select all
TakeoffTime = 0.0009
TakeoffSpeed = 0.0009
TakeoffHeight = 0.0009
LandedHeight = 0.0009- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Space Fighter Issues + Questions
As a matter of clarification, TakeOffTime (and TakeOffSpeed) is what really matters, not TakeOffHeight. I'm not 100% sure what effect the "-Heights" do have, but they don't seem to have a noticeable effect on the actual takeoff height.bobfinkl wrote:You have to edit these values to look like this:
These must be above 0 or it simply doesn't work.Code: Select all
TakeoffTime = 0.0009 TakeoffSpeed = 0.0009 TakeoffHeight = 0.0009 LandedHeight = 0.0009
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Space Fighter Issues + Questions
Bobfinkl's values resulted in me being unable to fly forward or land, just turn in place. A few adjustments later, though, I've gotten what I want. Thanks.
Now, about the nulls. Is it that you can only use a null for on effect at a time?
Now, about the nulls. Is it that you can only use a null for on effect at a time?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Space Fighter Issues + Questions
no
the each contrailnull is used for 2 contraileffects as an example
(the contrail wont work otherwise)
the each contrailnull is used for 2 contraileffects as an example
(the contrail wont work otherwise)
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Space Fighter Issues + Questions
I didn't completely understand that. You mean that each contrail null can only be used for contrail effects?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Space Fighter Issues + Questions
no, i took a contrailnull as an example for a hardpoint thats used for than once
because all contrailhardpoints have two contraileffects attached to them
because all contrailhardpoints have two contraileffects attached to them
