Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001873Zandronum[All Projects] Suggestionpublic2014-07-06 05:172014-07-21 01:15
ReporterZzZombo 
Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001873: More robust skin definition format
DescriptionI propose to introduce a more flexible skin format:

<SkinName>[:<BaseSkin>]
{
    displayname=<visible skin name>
    hidden=<false/true> //for mod's internal skins like Weapon.PreferredSkin.
    //game,gender,face,scale work as they currently do. Add scaleX/Y.
    classes //skin applies to any of given classes.
    {
        PlayerClass1
        PlayerClass2
    }
    spriteremaps //remaps given sprites.
    {
        PLAY1A DEMN1A
        PLAY2 DEMN2
        PLAY1A2B DEMN1A2B//Extremely important, allows much more precise remapping, especially if you use additional sprites.
    }
    soundremaps
    {
        *death demon/death //logical sound remapped to logical sound.
        *pain demon/pain/pain01.wav //logical sound remapped to full sound name.
        player/cry.wav demon/cry.wav //full sound name to full sound name.
        player/hit.wav demon/hit //full sound name to logical name.
    }
}
Additional InformationThis format allows to use templates and a sort of inheritance in skins saving some time if skins only differ a bit (as if you have skins for different weapons for the same class, only remappings will be different).

Introduce SetSkin(<skin name>) action special available in both ACS and Decorate; it only changes skin, but doesn't save it into user settings. Allow skins to be used on other actors since there is plenty of actors like bushes and lamps that behave identically and only differ in looking. When SetSkin() is called, the game will apply the one skin of given name that matches both classes and gender criteria. As such, SkinName may be not unique, just in case that may be troublesome. SoundRemaps is generalization of the current implementation of skins in the part regarding sounds, it allows to remap any arbitrary sound played from an actor (some custom player classes play additional sounds and they can't be changed by skins alone).

Now why this is important: I have two classes of players, each can pick the same weapons, each weapon has Weapon.PreferredSkin. Now, how can you make badass looking classes if they will look the same with the same weapon? You either will have to refuse the use of Weapon.PreferredSkin and do a bunch of jumps, and do I need to mention how bad it looks online here? or agree w/ the same looking players. W/ my format I could define two same-named gender-neutral skins, one for each player class and Weapon.PreferredSkin would choose the one matching my class. For other mods I can see this used by other multi-class mods w/ several weapons, to make each class looking different w/ same weapons. One more example could be Zombie Horde, instead of doing jumps in the player class actor to make it look like zombie or human it could just apply the correct skin dynamically.
Attached Files

- Relationships

-  Notes
User avatar (0010019)
DevilHunter (reporter)
2014-07-20 21:50

Probley should ask Zdoom first.
User avatar (0010021)
Catastrophe (reporter)
2014-07-21 01:04

Wouldn't hold my breath on that considering skininfo doesn't even exist in zdoom.
User avatar (0010022)
DevilHunter (reporter)
2014-07-21 01:15

Well.. goes to show how much I know about stuff. Anyhow, yea I guess then yea.. I Agree with this.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: DevilHunter
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-07-06 05:17 ZzZombo New Issue
2014-07-20 21:50 DevilHunter Note Added: 0010019
2014-07-21 01:04 Catastrophe Note Added: 0010021
2014-07-21 01:15 DevilHunter Note Added: 0010022






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker