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

Starting a map unarmed (GZDoom)

Recommended Posts

I want to make a map where you start in an auditorium surrounded by demons and a berserk pack in front of you.

I don't want to have any weapons to start. Does anybody know how to do that?

Share this post

Link to post

You have 2 possibilities:

1.) Remove his pistol (or possibly other weapons) via an ACS script. Open SCRIPTS lump while editing the map in a map editor, and write this script:

#include "zcommon.acs"

If the map can be played continuously (player might be bringing more weapons from previous maps), feel free to remove his other weapons in a similar way - perhaps also ammo, armor and backpack. But be warned - it might easily annoy your players.

2.) Create a new player class, whose only start weapon would be the fist. Open your wad in SLADE3, create new lumps names DECORATE and MAPINFO. Put this code into the DECORATE lump:
actor MyPlayer : DoomPlayer
  Player.StartItem "Fist"
And this code into the MAPINFO lump:
   PlayerClasses = "MyPlayer"
Of course, this latter solution will always make the player unarmed when he decides to "pistol start" any map in your wad.

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