Author |
Message |
waldespast
Joined: Fri Sep 18, 2009 7:44 pm Posts: 13
|
Framecount doesnt work
Hiho I had made a Nuke bomb. If my bomb explode without Framecount than the 1 pic is shown, but if i made 3 pics and framecount>1 than nothing happend!? Code: SpriteFile = ContentFile FilePath = Whitebots.rte/Crafts/Fat Man/Boom.bmp FrameCount = 2 SpriteOffset = Vector X = 0 Y = -1 SpriteAnimMode = 1 SpriteAnimDuration = 2000 There are 3 Images in Fat Man Boom000, Boom001, Boom002 What is wrong?
|
Fri Sep 18, 2009 10:17 pm |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
Re: Framecount doesnt work
Try... Code: SpriteFile = ContentFile FilePath = Whitebots.rte/Crafts/Fat Man/Boom.bmp FrameCount = 3 SpriteAnimMode = 1 SpriteAnimDuration = 2000 SpriteOffset = Vector X = 0 Y = -1
I've never put SpriteOffset before the AnimMode and the way i've done it has always worked for me. Might just have got it mixed up. I don't really like nukes because I mean... if you can win in one bomb... what's the point in playing? CBM02
|
Fri Sep 18, 2009 11:20 pm |
|
|
waldespast
Joined: Fri Sep 18, 2009 7:44 pm Posts: 13
|
Re: Framecount doesnt work
hmm i dont like extrem weapons, too, an this is not that kind of nuke bomb like u think^^ The nukeradius is relativly small and i only wants to bomb a medium hole in the area(like Fallout3)^^ and i add "acid" effect for actors. !!!!your code dont work (i deselected SpriteAnimMode and SpriteAnimDuration and made framecount 3)!!!
|
Fri Sep 18, 2009 11:50 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Framecount doesnt work
What type of particle is it? Also, type better English please.
|
Sat Sep 19, 2009 5:16 am |
|
|
waldespast
Joined: Fri Sep 18, 2009 7:44 pm Posts: 13
|
Re: Framecount doesnt work
it is a Mosparticle and should be played as a gib of Acrocket
|
Sat Sep 19, 2009 6:09 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Framecount doesnt work
MOSParticles don't like animating.
The biggest factor in their animation is lifetime; by default they loop through all frames in one lifetime amount.
|
Sat Sep 19, 2009 6:13 am |
|
|
waldespast
Joined: Fri Sep 18, 2009 7:44 pm Posts: 13
|
Re: Framecount doesnt work
Ahh i made it with mosparticle (i see the lifetime problem) but there is 1 problem, too;; i need a TDExplosive and not mosparticle, cause particle doesnt made a hole in the ground,,,,
If i make TDExploive without frame there is a hole (i made a white circle which lifetime is only 1), and if i make a frame like i did at mosparticle= nothing happend,,, no white circle(which expands with frames and breaks the ground)
it should be a method to fix it with TDExplosive too, or?
|
Sat Sep 19, 2009 6:34 am |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Re: Framecount doesnt work
Who the hell uses TDExplosives for gibs? Use a MOSRotating my good man!
|
Sat Sep 19, 2009 12:25 pm |
|
|
waldespast
Joined: Fri Sep 18, 2009 7:44 pm Posts: 13
|
Re: Framecount doesnt work
i have the source from TACNuke Pack, where the bombs(Rocket) were is TDExplosives used for gibs, too?
but i now try MOSRotating,,,(can the Mosrotating bomb a hole in ground too=`?)
|
Sat Sep 19, 2009 8:49 pm |
|
|
|