Error creating new classes

Discuss all aspects related to modding Zandronum here.
Post Reply
Flaminglacier
 
Posts: 65
Joined: Thu Jun 21, 2012 9:28 pm

Error creating new classes

#1

Post by Flaminglacier » Thu Jul 03, 2014 6:18 am

So I have a set of classes defined in decorate:
[spoiler]

Code: Select all

ACTOR GunSlinger : PlayerPawn
{
  Speed 1
  Health 70
  Player.DisplayName "Guns linger"
  }
  
ACTOR Fighter : PlayerPawn
{
  Speed 0.7
  Health 180
  Player.DisplayName "Fighter"
  }
  
ACTOR Magician : PlayerPawn
{
  Speed 1
  Health 65
  Player.DisplayName "Magician"
}

ACTOR Ranger : PlayerPawn
{
  Speed 3
  Health 50
  Player.DisplayName "Ranger"
  }
[/spoiler]

and in my key config I have this set up:

Code: Select all

clearplayerclasses
addplayerclass Fighter
addplayerclass GunSlinger
addplayerclass Ranger
addplayerclass Magician
Whenever I start doom and create a new game, Zandronum crashes. Any idea why?
Image

User avatar
Slim
Zandrone
Posts: 1112
Joined: Sat Mar 16, 2013 7:11 am
Location: Zero Space
Clan: Can't fit it in here
Clan Tag: -=FSR=-
Contact:

RE: Error creating new classes

#2

Post by Slim » Thu Jul 03, 2014 8:06 am

Flaminglacier wrote: So I have a set of classes defined in decorate:
[spoiler]

Code: Select all

ACTOR GunSlinger : PlayerPawn
{
  Speed 1
  Health 70
  Player.DisplayName "Guns linger"
  }

[/spoiler]

Not enough of an idea? A typo of "Gunslinger".
Last edited by Slim on Thu Jul 03, 2014 8:07 am, edited 1 time in total.
Image

"Your childish antics grow tiring. If you dare to fight me, then I accept your challenge: Anytime, anywhere." - Zero, Megaman X5
Spoiler: Quotes (Open)
5:54 PM - Slim: you're complaining about something so small that
5:54 PM - Lance: so? we do that all the time
5:55 PM - Lance: we're a bunch of losers complaining at a bar minus the bar
Spoiler: Galactus tried evading (Open)
Image

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: Error creating new classes

#3

Post by Vincent(PDP) » Thu Jul 03, 2014 11:46 am

Your classes doesn't have any states, niether do PlayerPawn.

Either add some states or change the inherit from PlayerPawn to DoomPlayer
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

Flaminglacier
 
Posts: 65
Joined: Thu Jun 21, 2012 9:28 pm

RE: Error creating new classes

#4

Post by Flaminglacier » Thu Jul 03, 2014 9:57 pm

Thanks vincent, that helped.
Image

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: Error creating new classes

#5

Post by Vincent(PDP) » Sat Jul 05, 2014 10:47 am

You're welcome :P
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

Post Reply