View unanswered posts | View active topics It is currently Thu Jan 09, 2025 4:16 pm



Reply to topic  [ 9 posts ] 
 Framecount doesnt work 
Author Message

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post 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!? :shock:

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
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post 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? :P

CBM02


Fri Sep 18, 2009 11:20 pm
Profile WWW

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Framecount doesnt work
What type of particle is it? Also, type better English please.


Sat Sep 19, 2009 5:16 am
Profile

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post Re: Framecount doesnt work
it is a Mosparticle and should be played as a gib of Acrocket


Sat Sep 19, 2009 6:09 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Framecount doesnt work
Who the hell uses TDExplosives for gibs? Use a MOSRotating my good man!


Sat Sep 19, 2009 12:25 pm
Profile

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.048s | 16 Queries | GZIP : Off ]