r2204: CIF3 Final boss script broken

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Mr.X
Posts: 16
Joined: Tue Jan 19, 2010 5:52 am

r2204: CIF3 Final boss script broken

Post by Mr.X »

In community is falling 3 the final boss' scene nor does the boss itself show up. Here is the save file showing said bug.

http://www.sendspace.com/file/aqo0kh
Gez
 
 
Posts: 17943
Joined: Fri Jul 06, 2007 3:22 pm

Re: r2204: CIF3 Final boss script broken

Post by Gez »

Given the suckiness of file hosts such as those, here's another copy of the save:
Image
User avatar
Major Cooke
Posts: 8209
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: r2204: CIF3 Final boss script broken

Post by Major Cooke »

Actually, the boss is spawned, it's just that he spawns in the wrong area. I don't know why, but he's beyond the border to the north. You can noclip into that area to see for yourself, it's just that he's in the out-of-bounds area.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r2204: CIF3 Final boss script broken

Post by Graf Zahl »

Some people can't be helped doing stupid things regardless of any pressing need. 100 points to the one who can tell me what's wrong with this:

Code: Select all

			Spawn("TeleportFog", GetActorX(-123), GetActorY(-123), GetActorZ(-123), 0, 64<<8);
			Spawn("XTron_Boss", GetActorX(-123), GetActorY(-123), GetActorZ(-123), 0, GetActorAngle(-123)>>8);

Ok, I answer myself: The Thing ID is defined as an unsigned short in the map data but for some reason until UDMF support was added all tids inside the Actor structure were stored as signed shorts (clearly an error on ZDoom's part as tids were signed in Hexen even in the map data) but UDMF necessitated expanding all tid variables to full ints. And now guess what happens:

All these unsigned short tids with values of 65500 or similar suddenly get stored as what they are supposed to be! And Kaiser managed to write his script in a way that not only did not play it safe by only using positive tids. No, he also felt the need to use a completely non-standard way of spawning his boss which in this case made it appear in the wrong place.

As much as this is an error in ZDoom I have to ask myself: Why on earth can't some people map cleanly?`Negative tids? Come on! That's really not something anyone should ever need. I wonder why Kaiser did. Just to complement his joke wad with joke scripts? Such things tend to break rather sooner than later.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: r2204: CIF3 Final boss script broken

Post by Ceeb »

Kaiser's an unabashed tool when it comes to ZDoom, why is anyone surprised CIF3 takes the most possibly complex route around a given problem?

MOST of the shit that every DECORATE actor does could have been accomplished without any ACS. Maybe not the power drill and missile cam, but most of the stuff could've been a whole lot less complex.
User avatar
Enjay
 
 
Posts: 26991
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r2204: CIF3 Final boss script broken

Post by Enjay »

Kaiser wrote:CIF3 has been aimed to take full advantage of Zdoom, and when I mean full advantage, I mean crashing, lagging fps, and insane glitches. Watch as zdoom halts to 1 fps from the simplest script being triggered or crashes from viewing the wrong side of a terrain and unbearable hud scripts that will make the gameplay unforgivable :-)
But these features is what makes zdoom so great.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r2204: CIF3 Final boss script broken

Post by Graf Zahl »

Well, I hate to say it but CIF3 was one of the WADs I found close to unplayable due to the inept use of ZDoom. The tid issue and the weird spawning is just the icing on the cake.
Post Reply

Return to “Closed Bugs [GZDoom]”