// This file is for placing new and extra code, the game con file // has been preprepared so that this file will be 'included' in the // compilation. You may place anything from defs to actor code in this file. /* This SHIT (Secret Hot Internal Turd) modification to the Duke Nukem 3D game is to allow the player to access a new type of secret weapon jointly developed with MOMS (Monster Operations Mopup Society) cookin'. The story goes that Duke has been very stressed out lately and everything he eats has been really tearing his gut up. (Sounds like my mother's cookin') So doctors perfected a new way to allow Duke to get rid of that really nasty stuff as a proximity mine! Sounds great, but there's only one problem. It only explodes when Duke is around! That means Duke still has to fight his way through all those aliens without stepping in it!) However, he can get rid of his stress and anger against all those other pretend Dukes running around. So if you are a pretend Duke, better watch out. Duke himself has to be careful around the stuff! Let's just say that he doesn't sit around reading the paper while he's laying This Stuff Out!) The turd has about the same blast radius as a pipe bomb, with a little less force. Stepping in it, won't kill Duke, but it will sure make him feel bad. You can see these little turds everywhere Duke has had to stop and have a BM. So watch out Duke and tip toe through the tulips! There are some tricks that Duke can do with this stuff, but you will need to figure it out:) How it works: Put Duke into the duck or squat position, and press the space bar. You'd better not hang around to long. This stuff is really hot. It's great for DukeMatch play. Programming Changes: Most of the changes take place in the "game.con" file. There are two actors there that I have changed and two states I have added. Player Actor Mods: First, I made the player actor spawn a turd when ducking and the player presses the space bar. Secondly, I randomly choose one of two Duke sayings that fit this situation. Then I give Duke time to get out of the area before the turd can explode. In other words, 'time to wipe his butt.' Feces Actor Mods: The Feces only had sound and sprite changes taking place originally. So I left the sprite changes but removed the sounds and added my own code. This code does one of three actions; first, it checks for the turd's nearness to Duke to see about exploding. Secondly, it checks to see if the turd's been hit with a weapon. Finally, it checks to see if the turd has been shot at with a bullet. Apparently the bullet doesn't appear in code as a weapon hit. So I added the third action to allow Duke to shoot at the turd and explode it. In the feces actor code, I call one of two exploding feces states that I added. One is for Duke stepping on or near the turd. The second is for a weapon or bullet hit of the turd. Because I use an already defined explosion, the effect is that Duke's health is reduced by some amount dependent on his closeness to the turd. Remember, the turd has now become a proximity mine. So I didn't want to have Duke right on top of it before it went off. That's why the 'step in it' sound was removed. Duke wouldn't get a chance to step in it before it goes off. Additional Con Files modified: The quote #122 was added to the user.con file. Remember, the maximum quote size is 64 characters. Why doesn't the turd go off for other actors and monsters? Well, I couldn't find any programming code that would tell me how close one actor was to another. If anyone else knows how, please e-mail me, lindsey@montrose.net :) Why does Duke's health increase when he drops a turd? Don't you feel better after the same? Enough said:) Why does Duke's health increase more than it does just drinking water? There is nothing like a good sh__:) Where did you come up with those stupid acromyms? Good question, it's harder than you think to fit words to existing letter:) Questions and Problems, fix it yourself. It will make a programmer out of you!) One word of warning, the 'state' function doesn't like anything else after the statename, on the same line. Such as a '// ' comment. My thanks to Matt Tagliaferri for writing the book, "The Duke Nukem 3D Level Design Handbook". Three Cheers! Also to www.gamelords.com and their Duke 3D section. It's the best:) and to Jeff Armstrong for doing the 'Hackers Guide' and the best Damm Duke launcher I've seen - "Duke Nukem 3D Control Center"! */