Weapon.PreferredSkin and custom sprites. (ANSWERED)

Discuss all aspects related to modding Zandronum here.
Post Reply
TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

Weapon.PreferredSkin and custom sprites. (ANSWERED)

#1

Post by TerminusEst13 » Sat Oct 27, 2012 7:17 am

How does Weapon.PreferredSkin handle custom sprites?

Let's say a playerpawn has a jump state with a unique jump sprite.
Would I need to have a separate jump sprite for each skin, or does it just jump to that single sprite no matter the skin?
Last edited by TerminusEst13 on Tue Nov 06, 2012 5:05 pm, edited 1 time in total.
The Ranger - New class for HeXen.
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Weapon.PreferredSkin and custom sprites.

#2

Post by -Jes- » Sat Oct 27, 2012 9:20 pm

IIRC, it'll fall back on the default sprite if your preferredskin does not have a matching one.

Don't quote me on this though.

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

RE: Weapon.PreferredSkin and custom sprites.

#3

Post by TerminusEst13 » Tue Nov 06, 2012 5:05 pm

phpBB [video]
The [video] tag is deprecated, please use the [media] tag
And answer is: Flips the fuck out.

Well, damn.
Last edited by TerminusEst13 on Tue Nov 06, 2012 5:06 pm, edited 1 time in total.
The Ranger - New class for HeXen.
ZDoom Wars - I drew some pictures.
Samsara - Some class-based mod I guess?
Metroid: Dreadnought - I am a dumb fanboy.
DemonSteele - ~come with me to anime world~

User avatar
-Jes-
Frequent Poster Miles card holder
Posts: 975
Joined: Fri Aug 03, 2012 9:55 am
Location: Void Zone

RE: Weapon.PreferredSkin and custom sprites. (ANSWERED)

#4

Post by -Jes- » Wed Nov 07, 2012 3:29 am

. . . Wow.


My mind is blown.

Post Reply