How can I implement that idea to the game? Making the game start so that player doesnt have any guns at all, only fists. The gun would be found only later on in the game.
I know that this needs some scripting, just dunno which commands to use...
Help appreciated!
Start game with no guns at all?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Re: Start game with no guns at all?
An easy and reliable way that would work for any map would be to use DECORATE to make a custom player class that only gets the fists as a start item.
Re: Start game with no guns at all?
[wiki]ClearInventory[/wiki]
- FuzzballFox
- Posts: 1905
- Joined: Thu Jan 24, 2008 10:19 am
- Location: Hampshire UK
Re: Start game with no guns at all?
Code: Select all
#include "zcommon.acs"
script 999 OPEN
{
ClearInventory();
GiveInventory("Fist", 1);
}- 9skulls
- Posts: 62
- Joined: Sat Sep 20, 2008 4:53 am
- Location: Still at the main menu -screen
- Contact:
Re: Start game with no guns at all?
Yeah, those inventory -tags did the trick. Thanks for the tip!
Re: Start game with no guns at all?
And yet Enjay's method is the most correct, and he gets completely ignored. 
- Cutmanmike
- Posts: 11354
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
Re: Start game with no guns at all?
I dunno I would have used ClearInventory if I was just making a map.
Re: Start game with no guns at all?
I probably would too. However, there was something in the phrasing of the original question that made me think he might want something a bit more robust that would, I dunno, allow warping to different maps or whatever and still guarantee the "base condition" of the player as a no-pistol one.

