flightTime probably wrong default value

flightTime probably wrong default value

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
code_man
Posts: 260
Joined: 19 Jan 2014, 13:10

flightTime probably wrong default value

Post by code_man »

I fixed a missle problem of mine and it came down to flightTime being too low.
On the wiki it says the def val is 0.0, i assume that means infinte(has to i guess). But with it it crashes about after 5 seconds, i set it to 15 and now it works fine.

Could someone confirm this?
Didnt know where else to report this.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: flightTime probably wrong default value

Post by Silentwings »

I would guess 0.0 means 0.0, but I didn't check.
User avatar
code_man
Posts: 260
Joined: 19 Jan 2014, 13:10

Re: flightTime probably wrong default value

Post by code_man »

If this were the case then the missile would drop right after launching.

After sleeping this over i think it must be a glitch, any defaul value other than 0 makes little sense and knowing most the defualt values of other parameters are 0.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: flightTime probably wrong default value

Post by Silentwings »

If this were the case then the missile would drop right after launching.
That is a legimate thing to want - if you gave it some initial velocity then it would fly some distance. Iirc, in non-spring-jargon terms flighttime is the length of time the missiles engine runs for.
User avatar
code_man
Posts: 260
Joined: 19 Jan 2014, 13:10

Re: flightTime probably wrong default value

Post by code_man »

I see your point, tough i cant come up with why anyone would ever need this, but who knows.
But its quite certanly not the case i observed, so the default value is not 0 in any case.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: flightTime probably wrong default value

Post by FLOZi »

User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: flightTime probably wrong default value

Post by SinbadEV »

I thought he was saying that the default was bad (as in it is zero but it shouldn't be)... and if it IS supposed to be zero what other thing is he doing wrong that is causing a value of zero to cause his code to fail?

(I'm sorry, you all seem to be talking circles around each other and it frustrated me).
Post Reply

Return to “Game Development”