Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Frisky

Replacing Weapon Sprites, Adding Weapons, and Adding Frames to Weapons

Recommended Posts

Hello, I was wondering how I could replace weapon sprites and add some weapons.
For example, I want to replace some pistol and shotgun sprites in Doom II, and I want to add new weapons like an assault rifle or such. I'd also like to know how I could add additional frames to weapons to make them more smooth and such. How would I go about doing so?
Solutions that could be achieved in SLADE3 would be appreciated, thanks in advance.

Share this post


Link to post

The following assumes that you're making a wad with (G)ZDoom/Zandronum-specific compatibility:

Replacing sprites is as easy as putting them into the sprite namespace (between S_START and S_END markers in a wad, or into a sprites directory in a pk3) and giving them the same names as the original sprites you want to be replaced by them.

Adding new weapons requires you to 1. have the weapon defined in DECORATE (see this) and 2. assigning it to a particular weapon slot and player class (see this).

Adding frames requires you to redefine the weapons, that is basically to make new weapons based on the old ones with some states redefined, and make them replace the originals. Using inheritance will probably be helpful.

Share this post


Link to post
scifista42 said:

Adding frames requires you to redefine the weapons, that is basically to make new weapons based on the old ones with some states redefined, and make them replace the originals. Using inheritance will probably be helpful.

How can I redefine the states and weapons, exactly?

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
Sign in to follow this  
×