Page 1 of 1

Space Fighter Issues + Questions

Posted: Wed Aug 12, 2009 12:56 pm
by Fiodis
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?

Re: Indestructable Fighter + missing contrails

Posted: Wed Aug 12, 2009 2:16 pm
by Maveritchell
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?
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?

You also need to have chunk geometry for your flyer if you want it to explode without hitting something first.

Re: Space Fighter Issues + Questions

Posted: Wed Aug 12, 2009 6:09 pm
by Fiodis
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

Code: Select all

TakeoffHeight           = 0
That didn't seem to have any effect, however.

Re: Space Fighter Issues + Questions

Posted: Wed Aug 12, 2009 6:50 pm
by Frisbeetarian
Hidden/Spoiler:
Try setting TakeoffHeight and LandedHeight to the same thing.

source:http://www.secretsociety.com/forum/down ... meters.txt
EDIT: Actually, I think you just forgot the quotes around the zero.

source:http://www.secretsociety.com/forum/down ... _Notes.txt

Re: Space Fighter Issues + Questions

Posted: Wed Aug 12, 2009 7:01 pm
by [RDH]Zerted
If you don't mind me adding a question, does a negative value work or does the game just crash?

Re: Space Fighter Issues + Questions

Posted: Wed Aug 12, 2009 7:08 pm
by Fiodis
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.

Re: Space Fighter Issues + Questions

Posted: Wed Aug 12, 2009 8:29 pm
by Frisbeetarian
Well, then, how about my pre-edit?

Re: Space Fighter Issues + Questions

Posted: Wed Aug 12, 2009 8:56 pm
by bobfinkl
You have to edit these values to look like this:

Code: Select all

TakeoffTime             = 0.0009
TakeoffSpeed            = 0.0009
TakeoffHeight           = 0.0009
LandedHeight            = 0.0009
These must be above 0 or it simply doesn't work.

Re: Space Fighter Issues + Questions

Posted: Thu Aug 13, 2009 12:03 am
by Maveritchell
bobfinkl wrote:You have to edit these values to look like this:

Code: Select all

TakeoffTime             = 0.0009
TakeoffSpeed            = 0.0009
TakeoffHeight           = 0.0009
LandedHeight            = 0.0009
These must be above 0 or it simply doesn't work.
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.

Re: Space Fighter Issues + Questions

Posted: Thu Aug 13, 2009 11:16 am
by Fiodis
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?

Re: Space Fighter Issues + Questions

Posted: Thu Aug 13, 2009 12:37 pm
by DarthD.U.C.K.
no
the each contrailnull is used for 2 contraileffects as an example
(the contrail wont work otherwise)

Re: Space Fighter Issues + Questions

Posted: Thu Aug 13, 2009 1:06 pm
by Fiodis
I didn't completely understand that. You mean that each contrail null can only be used for contrail effects?

Re: Space Fighter Issues + Questions

Posted: Thu Aug 13, 2009 1:08 pm
by DarthD.U.C.K.
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