[BUG] Give all cheat

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
nwbeeman
Posts: 146
Joined: Mon Oct 17, 2005 1:18
Location: Tampa

[BUG] Give all cheat

Post by nwbeeman »

In the older gzdoom, typing give all would give the max number of items for the player (wings of wrath) 25, but now it only gives one of each
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

The code is the same as in v0.9.1 so I doubt it ever worked differently. AFAIK ZDoom has been suffering from this problem for some time now. But since this is a cheat and worse, in code that is easily overlooked I'll leave it as it is because I'll overwrite it with the next ZDoom update anyway.
User avatar
nwbeeman
Posts: 146
Joined: Mon Oct 17, 2005 1:18
Location: Tampa

Post by nwbeeman »

cool, i just thought it worked diffrently before. Guess not
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

nwbeeman wrote:cool, i just thought it worked diffrently before. Guess not
It did. If you go back to 2.0.63a and type "give all" you'll get 25 of each inventory item. I'm not especially bothered by the change, I'm just saying.
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Post by Cutmanmike »

On a minor note, new inventory items aren't being given in give all. Is this normal?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Cutmanmike wrote:Is this normal?
Well, it's not normal for me. I'm getting my custom inventory items with give all.
User avatar
TheDarkArchon
Posts: 1000
Joined: Wed Jul 06, 2005 11:58
Location: What's that fucking smell
Contact:

Post by TheDarkArchon »

Doesn't work with my Chi Gem which inherits from "Inventory". The other two items, the stimpack (Inherits from "HealthPickup") and weapons chip (ArtiTomeOfPower), work fine.

The code for the Chi Gem:

Code: Select all

ACTOR ChiGem : Inventory
{
   Scale 0.6
   Inventory.Amount 1
   Inventory.MaxAmount 1
   Inventory.Icon ARTIGEM
   Inventory.PickupSound "misc/p_pkup"
   Inventory.PickupMessage "Chi Gem"
   +INVBAR
   States
   {
   Spawn:
      CHIG AB 8
      loop
   Use:
	TNT1 A 0 A_Print("Equip the Unmaker to use this item")
      TNT1 A 0 A_PlayWeaponSound("chigem/use")
	Fail	
   }
} 
Locked

Return to “Closed Bugs”