here's the two codes:
modeldef:
Code: Select all
Model Bottle
{ 
   Path "Items" 
   Model 0 "Botl.md2" 
   Skin 0 "Botl.pcx" 
   Scale 1.5 1.5 1.5
   Frameindex Botl A 0 -1
}
Code: Select all
actor Bottle : Health 2014
{
        SpawnID 152
        Radius 20
        Height 16
        Inventory.PickupMessage "Picked up a Health Bottle"
        Inventory.Amount 1
        Inventory.MaxAmount 200
        +COUNTITEM
        +INVENTORY.ALWAYSPICKUP
	+SOLID
	states
	{
	spawn:
	        Botl a -1
		stop
	}
}





 .
.

