Author |
Message |
Einz Witzleben
Joined: Tue Aug 11, 2009 10:06 pm Posts: 2
|
Dropship Issues
Hi, I'm making a dropship, but every time I bring it down it explodes for no reason, any ideas? Also, I have multiple frames for it, and have the framecount set to the appropriate number, but it only shows the first frame in game.
Can anyone help me?
|
Tue Aug 11, 2009 10:17 pm |
|
|
LowestFormOfWit
Joined: Mon Oct 06, 2008 2:04 am Posts: 1559
|
Re: Dropship Issues
You should check the strength of the thrusters you're using vs the strength of the dropship. Check JointStrengths, Mass of the parts, and GibWound/GibImulse limits. Any of these could affect your dropships durability.
As for the frame animations, you need more than just framecount. You need two variables under it: SpriteAnimMode = X (Where X is a number 0-7, 0 is NoAnimation, 1 is Loop through frames, and 2 is Random, others are usually unused.)
SpriteAnimDuration = Y (Where Y is the time between frames)
However, I'm not sure that dropships can even animate. But then again I've never tried.
|
Wed Aug 12, 2009 3:56 am |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: Dropship Issues
whitty made an animated dropship before, so it's probably possible.
|
Wed Aug 12, 2009 4:24 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Dropship Issues
Animating using Lua is both possible and easy for craft.
If you need a script I can post one.
|
Wed Aug 12, 2009 5:01 am |
|
|
Einz Witzleben
Joined: Tue Aug 11, 2009 10:06 pm Posts: 2
|
Re: Dropship Issues
LowestFormOfWit wrote: You should check the strength of the thrusters you're using vs the strength of the dropship. Check JointStrengths, Mass of the parts, and GibWound/GibImulse limits. Any of these could affect your dropships durability.
As for the frame animations, you need more than just framecount. You need two variables under it: SpriteAnimMode = X (Where X is a number 0-7, 0 is NoAnimation, 1 is Loop through frames, and 2 is Random, others are usually unused.)
SpriteAnimDuration = Y (Where Y is the time between frames)
However, I'm not sure that dropships can even animate. But then again I've never tried. That helped, also Grif, a lua script would be helpful.
|
Wed Aug 12, 2009 9:36 pm |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
Re: Dropship Issues
You can animate the hull in the ini? Code: SpriteFile = ContentFile FilePath = NameOfMod.rte/Crafts/CraftName/DropshipHull.bmp FrameCount = 2 //Number of frames here SpriteAnimMode = 1 SpriteAnimDuration = 800 Example Result: CBM02
|
Wed Aug 12, 2009 10:24 pm |
|
|
LowestFormOfWit
Joined: Mon Oct 06, 2008 2:04 am Posts: 1559
|
Re: Dropship Issues
Hah, it's funny that you're doing a police thing. I had sketched out some GALACPOL officers and rockets a week ago or so. Basically Tradestar-bases Galactic Police.
This won't look bad when shaded.
|
Thu Aug 13, 2009 2:02 am |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
Re: Dropship Issues
LowestFormOfWit wrote: Hah, it's funny that you're doing a police thing. I had sketched out some GALACPOL officers and rockets a week ago or so. Basically Tradestar-bases Galactic Police.
This won't look bad when shaded. Hehe... Space Police. I just wanted to make a faction that had a reason to use the cage gun. Very fun. But yeah... only a resprite just made it for fun. I have loads of other private factions that are much better sprited. I'm sure your faction will be miles better. On Topic: I hope that's kindda what you are looking for Einz.
|
Thu Aug 13, 2009 12:43 pm |
|
|
|