MantisBT - Zandronum
View Issue Details
0001227Zandronum[All Projects] Suggestionpublic2012-12-26 19:112014-06-13 17:43
Monsterovich 
 
normalminoralways
closedwaiting for zdoom 
 
 
0001227: 3D Models support for modification actors
3D Models works correctly for original actors only (but hires textures works). I want to play with 3D models for modifications without damned moving .pk3 files (over 9000) and other problems...

Example:DECORATE.txt
actor My_Shotgun : Shotgun

On connecting to server where no My_Shotgun, I getting MODELDEF: Unknown actor type 'My_Shotgun'
gl_models.cpp - Example code (I tested, It's works!)
-----------------------------------
CVAR for debug:

CVAR(Bool, gl_models_skipunknownactor, true, CVAR_ARCHIVE)

IN gl_InitModels()

if ((gl_models_skipunknownactor == false) && (!smf.type)) sc.ScriptError("MODELDEF: Unknown actor type '%s' To skip it use 'gl_models_skipunknownactor'\n", sc.String);
                else if ((gl_models_skipunknownactor == true) && (!smf.type)) continue; //If there're no actor, do not render model.

?????
PROFIT!
Multiplayer
Issue History
2012-12-26 19:11MonsterovichNew Issue
2012-12-27 00:21ToxicityNote Added: 0005575
2012-12-27 10:56MonsterovichNote Added: 0005587
2012-12-27 10:56MonsterovichNote Edited: 0005587bug_revision_view_page.php?bugnote_id=5587#r3055
2013-01-16 14:38MonsterovichNote Added: 0005789
2013-01-16 14:41MonsterovichNote Edited: 0005789bug_revision_view_page.php?bugnote_id=5789#r3171
2013-01-16 15:29DuskNote Added: 0005790
2013-01-16 15:29DuskPriorityhigh => normal
2013-01-16 19:18MonsterovichNote Added: 0005794
2013-01-16 19:21MonsterovichNote Edited: 0005794bug_revision_view_page.php?bugnote_id=5794#r3173
2013-01-16 19:22MonsterovichNote Edited: 0005794bug_revision_view_page.php?bugnote_id=5794#r3174
2013-02-11 09:55MonsterovichNote Edited: 0005794bug_revision_view_page.php?bugnote_id=5794#r3311
2013-02-11 09:55MonsterovichNote Added: 0005998
2013-02-11 09:56MonsterovichNote Edited: 0005998bug_revision_view_page.php?rev_id=3313
2013-02-11 09:56MonsterovichNote Deleted: 0005998
2014-06-13 17:43WatermelonNote Added: 0009215
2014-06-13 17:43WatermelonStatusnew => closed
2014-06-13 17:43WatermelonResolutionopen => waiting for zdoom

Notes
(0005575)
Toxicity   
2012-12-27 00:21   
I don't think this is a bug, it's just how 3D models are defined.
(0005587)
Monsterovich   
2012-12-27 10:56   
Quote
I don't think this is a bug, it's just how 3D models are defined


I know. My suggestion is way to fix 3D models for multiplayer game.

(0005789)
Monsterovich   
2013-01-16 14:38   
(edited on: 2013-01-16 14:41)
That thing isn't necessary in gzdoom and very very very important in zan because it's multiplayer port. Now we CANT'T play in online with 3D models normally!

(0005790)
Dusk   
2013-01-16 15:29   
The suggested patch is complete nonsense. I'd rather suggest an `optional` keyword for MODELDEF.
(0005794)
Monsterovich   
2013-01-16 19:18   
(edited on: 2013-02-11 09:55)
It's just very easy and convenient example

(0009215)
Watermelon   
2014-06-13 17:43   
Submit to zdoom so we can backport