Data Realms Fan Forums
http://45.55.195.193/

custom bullet sprite help.
http://45.55.195.193/viewtopic.php?f=1&t=15390
Page 1 of 1

Author:  rjhw1 [ Tue Jun 16, 2009 1:25 am ]
Post subject:  custom bullet sprite help.

i am trying to change a MO pixel sprite ,and the code that i used did not work!
this is the code

SpriteFile = ContentFile
FilePath = the file path

i out it right under preset name in both ammunition sections.
any suggestions?

Author:  CaveCricket48 [ Tue Jun 16, 2009 1:31 am ]
Post subject:  Re: custom bullet sprite help.

MOPixels cannont have sprites (MOPixel). MOSParticles can have sprites.

Code of a MOSParticle:

Code:
AddEffect = MOSParticle
   PresetName = Side Thruster Blast Ball 1
   Mass = 2
   GlobalAccScalar = -0.3
   AirResistance = 0.08
   RestThreshold = -1
   LifeTime = 250
   Sharpness = 0.1
   HitsMOs = 1
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Base.rte/Effects/Pyro/SmallBlast01.bmp
   FrameCount = 19
   SpriteOffset = Vector
      X = -4.5
      Y = -4.5
   AngularVel = 60
   Atom = Atom
      Material = Material
         CopyOf = Air Blast
      TrailLength = 0
   Framerate = 0


Note: GlobalAccScalar is the gravity variable, 1 being normal, -1 is reverse.

Adjust to your liking.

Author:  Areku [ Tue Jun 16, 2009 1:31 am ]
Post subject:  Re: custom bullet sprite help.

Uh, well, y'know, MOPixels can't have sprites. Use a MOSParticle instead.

EDIT: heck, I was ninja'd!

Author:  rjhw1 [ Tue Jun 16, 2009 1:34 am ]
Post subject:  Re: custom bullet sprite help.

how do i do that?

Author:  CaveCricket48 [ Tue Jun 16, 2009 1:34 am ]
Post subject:  Re: custom bullet sprite help.

Look at my post above.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/