Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

help for conversion

Recommended Posts

i need 



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 



Share this post

Link to post


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:

   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

yes but a_customrailgun is for monster



i need for a weapon with A_railattack


thanks anyway

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now