Jump to content

help for conversion


Recommended Posts

i need 

 

these

A_CustomRailgun(Random(100,250),0, "Blue", "White",RGF_FULLBRIGHT|RGF_SILENT,1,0,"GasterHurter",0,0,0,0,20.0,1.0,"GasterParticle")

 

 

in a weapon 

 

how?

Share this post


Link to post

Easy.

I'm assuming you know how to make a weapo in Decorate.

In the Fire state, add that piece of code to any of the frames.
And example:

   Fire:
   TNT1 A 1 A_CustomRailgun(Random(100,250),0, "Blue", "White",RGF_FULLBRIGHT|RGF_SILENT,1,0,"GasterHurter",0,0,0,0,20.0,1.0,"GasterParticle")
   TNT1 A 1 A_Refire


WARNING: You need to define "GasterHunter" and "GasterParticle" also.

Share this post


Link to post

In that case:

A_RailAttack(Random(109,250),0,1,"Blue","White",RGF_FULLBRIGHT | RGF_SILENT,0,"GasterHurter",0,0,0,0,20,1,"GasterParticle")


Should do it.

Note: Uses ammo.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...