Difference between revisions of "Classes:BJPlayer"

From ECWolf Wiki
(Created page with "{{Actor| | type = Player | name = B.J. Blazkowicz | class = BJPlayer | game = Wolf3D }}Classes: {{Class|Actor}} → {{Class|PlayerPawn}} → <u>BJPlayer</u><br> &nbs...")
 
Line 13: Line 13:
 
  actor <u>BJPlayer</u> : {{Class|PlayerPawn}}
 
  actor <u>BJPlayer</u> : {{Class|PlayerPawn}}
 
  {
 
  {
   {{property|health}} 100
+
   {{property|Health}} 100
   {{property|radius}} 22
+
   {{property|Radius}} 22
 
   {{property|player.movebob}} 0
 
   {{property|player.movebob}} 0
 
   {{property|player.displayname}} "BJ Blazkowicz"
 
   {{property|player.displayname}} "BJ Blazkowicz"

Revision as of 14:18, 20 February 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.
B.J. Blazkowicz
Actor type Player Game MiniWolf3DLogoIcon.png
DoomEd Number None Class Name BJPlayer


Classes: ActorPlayerPawnBJPlayer
 →LostBJPlayer

Overview

Standard player class in Wolfenstein 3D.

DECORATE Definition

actor BJPlayer : PlayerPawn
{
  Health 100
  Radius 22
  player.movebob 0
  player.displayname "BJ Blazkowicz"
  player.startitem "Clip", 8
  player.startitem "Pistol"
  player.startitem "Knife"
  player.weaponslot 1, "Knife"
  player.weaponslot 2, "Pistol"
  player.weaponslot 3, "MachineGun"
  player.weaponslot 4, "GatlingGun"
  states
  {
    Spawn:
      TNT1 A -1
      stop
    Missile:
      TNT1 A -1
      stop
  }
}