Difference between revisions of "Classes:Gibs"

From ECWolf Wiki
(Created page with "{{Actor| | type = Decoration | name = Gibs | class = Gibs | doomednum = 71 | game = Wolf3D }}Classes: {{Class|Actor}} → <u>Gibs</u><br>  →{{Class|Gibs2}}<br...")
 
Line 5: Line 5:
 
| doomednum = 71
 
| doomednum = 71
 
| game = Wolf3D
 
| game = Wolf3D
}}[[Classes]]: {{Class|Actor}} &rarr; <u>Gibs</u><br>
+
}}[[Classes]]: {{Class|Actor}} &rarr; {{Class|Inventory}} &rarr; {{Class|Health}} &rarr; <u>Gibs</u><br>
 
&nbsp;&rarr;{{Class|Gibs2}}<br>
 
&nbsp;&rarr;{{Class|Gibs2}}<br>
  
Line 12: Line 12:
  
 
== DECORATE Definition ==
 
== DECORATE Definition ==
  actor <u>Gibs</u> 71
+
  actor <u>Gibs</u> : {{Class|Health}} 71
 
  {
 
  {
 +
  {{property|inventory.amount}} 1
 +
  {{property|inventory.maxamount}} 11
 +
  {{property|inventory.pickupsound}} "misc/slurpie"
 
   states
 
   states
 
   {
 
   {

Revision as of 05:40, 11 June 2013

Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Gibs
Actor type Decoration Game MiniWolf3DLogoIcon.png
DoomEd Number 71 Class Name Gibs


Classes: ActorInventoryHealthGibs
 →Gibs2

Overview

A pool of blood with a few gibs.

DECORATE Definition

actor Gibs : Health 71
{
  inventory.amount 1
  inventory.maxamount 11
  inventory.pickupsound "misc/slurpie"
  states
  {
    Spawn:
      GIBS A -1
      stop
  }
}