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

No weapon

Recommended Posts

You can do this with a dehacked patch that sets the initial number of bullets to zero.

Patch File for DeHackEd v3.0

# Note: Use the pound sign ('#') to start comment lines.

Doom version = 19
Patch format = 6


Misc 0
Initial Bullets = 0

Share this post


Link to post

If you are using Zdoom, you can use the sprites to remove weapons (i think) and ammo. Something to the lines of this.

Script 1 OPEN

{
A_TakeInventory (bullets, 999);
}

The siyntax is probably incorrect, though.

Share this post


Link to post

Not quite:

Script 1 ENTER //Player activated, not world
{
     TakeInventory("Pistol",1);
     TakeInventory("Clip",50); //Yes you can actually remove the pistol
}

Script 2 RESPAWN //For Co-op
{
     TakeInventory("Pistol",1);
     TakeInventory("Clip",50); //Class is case sensitive. "Clip" is bullets
}

Share this post


Link to post

It works thanks allot.

but you are starting with the gun in your hand if you fire it will switch to fist. So I took away the gun out of the inventory
and when i'm playing and picking up some clips I won't get the gun back.

How do i fix this problem?

Share this post


Link to post

What you are wanting to do it sounds like is let the player keep the pistol, just take away all their ammo. If you are using that ACS code (like I assume you are), then you need to cut out a couple lines.

Script 1 ENTER //Player activated, not world
{
     //TakeInventory("Pistol",1);
     TakeInventory("Clip",50);
}

Script 2 RESPAWN //For Co-op
{
     //TakeInventory("Pistol",1);
     TakeInventory("Clip",50);
}
Lines with comments are the ones you want to remove.

Share this post


Link to post
MasterOFDeath said:

What you are wanting to do it sounds like is let the player keep the pistol, just take away all their ammo. If you are using that ACS code (like I assume you are)

Yes i am using those lines but that still doesn't solve my problem

Apocalypse said:

but you are starting with the gun in your hand if you fire it will switch to fist. So I took away the gun out of the inventory
and when i'm playing and picking up some clips I won't get the gun back.

How do i fix this problem?

Share this post


Link to post
Apocalypse said:

It works thanks allot.

but you are starting with the gun in your hand if you fire it will switch to fist. So I took away the gun out of the inventory
and when i'm playing and picking up some clips I won't get the gun back.

How do i fix this problem?

if you move to Skulltag format for doom builder, using the skulltag Iwad you can acually get a pistol pick up..i dont think it would help but you never know...

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
×