missileSpeed questions

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

What is the missileSpeed of a beam weapon?

What does it mean when it says missileSpeed="20-30"?

also bonus question what is lifetime measured in?
Crying is not a proper retort!
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

i would guess beams go 100, 20-30 means it will go anywhere between 20 and 30, lifetime seems to be is in ticks.
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Bobby is right.

100 = light speed

Any attribute that accepts a "dice range" (e.g., 1d6) also accepts a straight range (1-6). Sometimes, if you don't need a bell-shape distribution, a range is easier.

For weapons, lifetime is in ticks
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

thanks wasn't sure because some things are in "half ticks"
Crying is not a proper retort!
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Betelgeuse wrote:thanks wasn't sure because some things are in "half ticks"
Yes, that's true. Unfortunately, some time values are in "game seconds" which is a half tick. I really think many of those should be changed to ticks...
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

So if there isn't a missileSpeed listed in a weapon (laser cannon has no missileSpeed attribute) it is assumed as 100?

Hmm... I am building a calender function and event manager and was just using the ticks and thinking of using unvGetTicks as a source for the calculations for hour/day/month, is there already a built in calender that I missed somewhere that I can access instead?
Post Reply