View unanswered posts | View active topics It is currently Wed Dec 25, 2024 6:12 pm



Reply to topic  [ 3 posts ] 
 Need help with a gun 
Author Message
User avatar

Joined: Wed Apr 16, 2014 8:53 am
Posts: 64
Location: Bunker busting.
Reply with quote
Post 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?


Tue Nov 18, 2014 1:54 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Need help with a gun
You're missing the material and atomgroup (and deepgroup) definitions.


Tue Nov 18, 2014 4:46 am
Profile
User avatar

Joined: Wed Apr 16, 2014 8:53 am
Posts: 64
Location: Bunker busting.
Reply with quote
Post Re: Need help with a gun
thanks cave, you always seam to point out the most obvious problems with my code. :oops:


Tue Nov 18, 2014 8:00 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


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.098s | 13 Queries | GZIP : Off ]