Page 1 of 1

Player classes with weapon skins

Posted: Thu Feb 12, 2015 10:36 pm
by Evilm0nk
As the title says, I am having issues with having player classes and skins linked to there weapons in bossbattles. Basically I have 7 classes and I want each individual class to have a skin for each weapon, As in if the cleric for instance has firestorm as his weapon, the other players will know because it will show it in his hands. So I use the skininfo lump and add the firestorm skin to it like so.

Code: Select all

{
Name = FirestormCleric
Sprite = CLFI
Class = Cleric1
Hidden = True
CrouchSprite = CLFI
}
Then I add it to the weapon in the decorate script as well.

Code: Select all

ACTOR Firestorm : CWeapFlame 13247
{
  //$Category Weapons
  +NOGRAVITY
  Weapon.PreferredSkin "FirestormCleric"
}
But for some reason the skin will not load when the weapon is selected and will not give me some kind of error. My only assumption is skins don't work correctly when there is classes or maybe I am doing something wrong.
The skin has all of the frames (except crouching frames) aswell as the default death frames. I just don't understand what I am missing and would like some insight on this. I can try and post an example if needed.

RE: Player classes with weapon skins

Posted: Sat Feb 14, 2015 7:43 pm
by Evilm0nk
Here is the Example Wad:

https://www.dropbox.com/s/q62t18jjjwpwi ... e.wad?dl=0

For Some reason the skins will not load when the weapon is selected and there is other classes in the wad.
Unless of course I am doing something wrong?