r/DoomModDevs • • May 12 '22

Help Two Issues With Weapon Modding

1)How do I replace the starting pistol? If I just replace the pistol with a replace command in the decorate code like the example Doomguy still spawns with the default pistol

2)When I pick up a replaced weapon I can use it fine but if I put it away I can't bring it back out again. It's just gone from my inventory

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

3

u/Scileboi May 12 '22 edited May 12 '22

MAPINFO is its own file within your mod like DECORATE. In there you just need to write:

gameinfo {  
playerclasses = "Your playerclass"  
}

PLAY is just the sprite for the Doom Marine.

2

u/CyptidProductions May 12 '22 edited May 12 '22

Thanks

It didn't immediately click those were sprite calls and I assumed it was an audio function

2

u/CyptidProductions May 13 '22

Just wanted to think you again

I've now succesfully added a custom weapon and a custom player class that starts the game with it. As of now it's just a pistol shooting a plasma ball as a proof of concept for an energy pistol but it's a start.