Player classes with weapon skins

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Evilm0nk
Forum Regular
Posts: 106
Joined: Sun Jun 10, 2012 2:16 am
Location: Arizona

Player classes with weapon skins

#1

Post by Evilm0nk » Thu Feb 12, 2015 10:36 pm

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.
Last edited by Evilm0nk on Thu Feb 12, 2015 10:39 pm, edited 1 time in total.
Projects:
Bossbattles
CacoInvasion
Reckless Wars

User avatar
Evilm0nk
Forum Regular
Posts: 106
Joined: Sun Jun 10, 2012 2:16 am
Location: Arizona

RE: Player classes with weapon skins

#2

Post by Evilm0nk » Sat Feb 14, 2015 7:43 pm

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?
Last edited by Evilm0nk on Sat Feb 14, 2015 7:43 pm, edited 1 time in total.
Projects:
Bossbattles
CacoInvasion
Reckless Wars

Post Reply