Page 1 of 1

How to detect GZDoom from DECORATE?

Posted: Thu Aug 03, 2006 8:05
by MartinHowe
I'm surprised this hasn't been asked before, but it surely was inevitable :)

I am making an XM-1014 derivative (shotgun with flashlight) and in normal ZDoom the best that can be done is to illuminate the entire room with the Light*() codepointers. In GZDoom, a "real" flashlight is possible, somebody did it for a Doom III weapons mod.

Rather than supply two versions of the finished product, is there any way to detect GZDoom from a DECORATE script and proceed accordingly?

Posted: Thu Aug 03, 2006 23:19
by chaoscentral
I dont think that there is a way to detect which port its using, If there was it would have been in Doom 3 Weapons MOD.

So i guess the only way is to make 2 versions.