Jump to content

Custom weapon replacing Plasma Rifle


Recommended Posts

This is similar to another post I've made in the past, I'm just unsure of what parameters I should put for the plasma rifle in the DECORATE and SND file. (GZDoom and the editor used is Slade.) The weapon will be an M4 style weapon, just a clarifying detail.

Edited by ironmanmine12
forgot to add clarifying details

Share this post


Link to post

My suggestion is to sift through the wiki, to take a direct look the the vanilla weapons (in this case) codes.

Here's the Plasma Rifle, you can clearly all you need.

 

About the SNDINFO instead, it's quite easy: 

RGReload		RGREL

(this is an SNDINFO example from my wad, where I give the railgun a reload sound).

You just need to specify a "call name" for your sound (on the left), that you will use in DECORATEs or scripts to call your sound, and next to it you have to write the audio file name.

 

So, in this example, I will use A_PlaySound("RGReload") in my weapon's DECORATE when I need it.

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...