Data Realms Fan Forums
http://forums.datarealms.com/

Need help with a gun
http://forums.datarealms.com/viewtopic.php?f=1&t=45856
Page 1 of 1

Author:  grave accent [ Tue Nov 18, 2014 1:54 am ]
Post subject:  Need help with a gun

so basically i have a gun that fires an emitter that fires an MOSRotating but for some reason, whenever i fire it, the game crashes, and i know that it`s the MOSRotating that is causing it. here is the code for it:

Code:
AddParticle = MOSRotating
   PresetName = maul particle
   HitsMOs = 1
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = scrappers.rte/Devices/Weapons/maul.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -2
      Y = -2
   AngularVel = 6
   Mass = 0.1
   Sharpness = 45


is there anything wrong?

Author:  CaveCricket48 [ Tue Nov 18, 2014 4:46 am ]
Post subject:  Re: Need help with a gun

You're missing the material and atomgroup (and deepgroup) definitions.

Author:  grave accent [ Tue Nov 18, 2014 8:00 am ]
Post subject:  Re: Need help with a gun

thanks cave, you always seam to point out the most obvious problems with my code. :oops:

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