MantisBT - Zandronum
View Issue Details
0001324Zandronum[All Projects] Suggestionpublic2013-04-15 02:442014-06-13 17:58
HexaDoken 
 
normalfeatureN/A
feedbackopen 
1.0 
 
0001324: Warn about sprite conflicts on startup
When you create mods and fill in custom sprites, there is that little chance that some of the sprite names you think on the fly happen to be identical to other sprite names that exist in your IWAD or other PWADs you load alongside. This can cause problems such as objects going invisible or having a completely inapporitate sprite. And this is very bad. To make matters worse, unless you remember all sprite names by heart(you don't), it's very hard to spot such things.

What I suggest is to make an option that, when enabled, makes zandronum give out console warnings each time it encounters a sprite conflict, similar to how it gives out warnings for each actor conflict. So at least you can check out the console and go all "oh shit I derped".

Why this should be an option? Because there are mods that actually rely on the behaviour of sprite replacement - loading up such mods would result in your console getting flooded by warnings, which are in fact intended behaviour. That is why average users probably want it off. But if you are a mod-maker, and you are making a mod where you want to avoid sprite conflicts, this feature would be infinitely useful.

Just make it in a CVar, or, if CVars are ignored on startup, a command line parameter.
No tags attached.
Issue History
2013-04-15 02:44HexaDokenNew Issue
2013-04-15 08:03Konar6Note Added: 0006285
2014-06-13 17:57WatermelonNote Added: 0009233
2014-06-13 17:57WatermelonStatusnew => feedback
2014-06-13 17:58WatermelonNote Edited: 0009233bug_revision_view_page.php?bugnote_id=9233#r4928

Notes
(0006285)
Konar6   
2013-04-15 08:03   
This could be added to existing sv_showwarnings.
(0009233)
Watermelon   
2014-06-13 17:57   
(edited on: 2014-06-13 17:58)
Should this be in zdoom first?
Not that I have a problem doing this ticket