Difference between revisions of "Classes:Feed"

From ECWolf Wiki
(Created page with "{{Actor| | type = Ammo | class = Feed | name = Feed | doomednum = 180 | game = Noah3D }}Classes: {{Class|Actor}} → {{Class|Inventory}} → {{Class|Ammo}} → <u...")
 
 
Line 8: Line 8:
 
&ensp;&rarr;{{Class|FeedTrough}}<br>
 
&ensp;&rarr;{{Class|FeedTrough}}<br>
  
== Overview ==
+
==Overview==
 
Ammo for the Small Feed Launcher, Large Feed Launcher, and SuperFeeder5000.
 
Ammo for the Small Feed Launcher, Large Feed Launcher, and SuperFeeder5000.
  
== DECORATE Definition ==
+
==DECORATE Definition==
 
  actor <u>Feed</u> : {{Class|Ammo}} 180
 
  actor <u>Feed</u> : {{Class|Ammo}} 180
 
  {
 
  {
Line 19: Line 19:
 
     {{Property|ammo.backpackboostamount}} 100
 
     {{Property|ammo.backpackboostamount}} 100
 
     {{Property|ammo.backpackmaxamount}} 299
 
     {{Property|ammo.backpackmaxamount}} 299
  {{Property|overheadicon}} "TILE8:7E"
+
    {{Property|overheadicon}} "TILE8:7E"
 
     +{{Flag|PLOTONAUTOMAP}}
 
     +{{Flag|PLOTONAUTOMAP}}
 
     states
 
     states

Latest revision as of 14:49, 10 June 2018

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.
Feed
Actor type Ammo Game MiniNoah3DLogoIcon.png
DoomEd Number 180 Class Name Feed


Classes: ActorInventoryAmmoFeed
 →FeedTrough

Overview

Ammo for the Small Feed Launcher, Large Feed Launcher, and SuperFeeder5000.

DECORATE Definition

actor Feed : Ammo 180
{
   inventory.amount 5
   inventory.maxamount 99
   ammo.backpackamount 10
   ammo.backpackboostamount 100
   ammo.backpackmaxamount 299
   overheadicon "TILE8:7E"
   +PLOTONAUTOMAP
   states
   {
       Spawn:
       FEED A -1
       stop
   }
}