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

Truly Replace Weapons

Recommended Posts

Hi! another weapon question :)

I want to COMPLETELY replace certain weapons in Doom 2 and I want the player to start the game ONLY with a custom fist I created.

The fist is ready and has been assigned the SlotNumber 1. In the Decorate code I also have:

Actor SensitiveFist : Weapon Replaces Fist 20000
{
...

But the old fist is there too. Searching the web I found that I could use the KEYCONF lump they say I should not use this method. What other options do I have?

Thanks again!!!

Share this post


Link to post

I don't know if this will help much. But I think it would have something to do with adding/replacing classes.

EDIT

I found this for you, hope this is helpful

http://forum.zdoom.org/viewtopic.php?f=3&t=22680

I believe when you make a new KEYCONF, you need to type:

clearplayerclasses
addplayerclass SolarPlayer


SolarPlayer is just an example, what ever you name your class would be where that name was put.

Share this post


Link to post

Oh yeah! It was the way to go!

I created a new player class inheriting from DoomPlayer. Then I modified the weapons I wanted on the startup with the Player. StartupItem properties and THEN I used the MAPINFO lump with GAMEINFO to overwrite the player class.

Thank you so much!!! :)

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
×