[mod] GroundHog Day Zanzibar *scripts!*

This forum is for files only, Utilities and Hacks go here, not skins.
User avatar
Agent ME




Articulatist 500

Posts: 881
Joined: Tue Jun 21, 2005 6:00 pm
Location: California, USA
Contact:

[mod] GroundHog Day Zanzibar *scripts!*

Post by Agent ME »

I bring you... GroundHog Day Zanzibar!

Image

(For those who haven't seen the movie groundhog day, the day Feb 2nd kept repeating just for this guy, but to everyone else it was normal - just watch that movie!)

Open the zanzibar gate, and 60 seconds... a flying hippo kills you. I think you can infer from the mod name what may happen really.

To cancel the reverting, simply close the gate (yes, I made it open/closable).


This mod wasn't insanely hard or anything, I'm just releasing it to renew interest in scripting and get the people with renewed interest to bug someone to make a better compiler - arithmetic expressions don't even work right in the current one...


Also another thing - if you use Yelo trainer with "Debug Output" turned on, various messages will be output by the scripts to inform you of how they are working. When you start the level with the option on, you'll get the messages shown in the screenshot for example.


System Link: This mod freezes often in System Link, whether or not the other clients have the mod (scripts are only run for connection host).


DOWNLOAD (with compiler-safe source code)

Source Code Alone
Last edited by Agent ME on Mon Sep 25, 2006 4:57 pm, edited 4 times in total.
User avatar
G.I.R.




Recreator Coroner

Posts: 3221
Joined: Thu Aug 11, 2005 1:07 pm
Location: Missouri
Contact:

Post by G.I.R. »

So this does...What exactly?
Image
I think Noobraska is a pretty cool state. eh grows corn and doesn't afraid of anythng.
(12:18:11 AM) GTAF: DAMNIT GIR WE ARE ON THE SUBJECT OF VINCE'S DICK.
User avatar
Agent ME




Articulatist 500

Posts: 881
Joined: Tue Jun 21, 2005 6:00 pm
Location: California, USA
Contact:

Post by Agent ME »

After 60 seconds the game reverts back a bit in time - if you take a look at the source code - or try it out - you'll get a better understanding of it.
x088x




Critic

Posts: 837
Joined: Sun Nov 06, 2005 1:46 pm
Location: ..

Post by x088x »

Yeah, I'm wondering the same thing. A video maybe?
Halo 3 ruined everything..
User avatar
WastingBody





Posts: 195
Joined: Mon Sep 19, 2005 5:07 pm

Post by WastingBody »

Or you could play the mod.
Image
User avatar
G.I.R.




Recreator Coroner

Posts: 3221
Joined: Thu Aug 11, 2005 1:07 pm
Location: Missouri
Contact:

Post by G.I.R. »

Agent ME wrote:After 60 seconds the game reverts back a bit in time - if you take a look at the source code - or try it out - you'll get a better understanding of it.
=o! Cool.
Image
I think Noobraska is a pretty cool state. eh grows corn and doesn't afraid of anythng.
(12:18:11 AM) GTAF: DAMNIT GIR WE ARE ON THE SUBJECT OF VINCE'S DICK.
User avatar
Agent ME




Articulatist 500

Posts: 881
Joined: Tue Jun 21, 2005 6:00 pm
Location: California, USA
Contact:

Post by Agent ME »

When you open the gate, the game makes a checkpoint (but it DOES NOT do the "Checkpoint... Done" message - it only shows that in SP). And another script senses the gate is open, starts a timer (of 60 seconds), and if its still open at the end, it uses the game_revert command, which reverts to the last checkpoint.
User avatar
latinomodder





Posts: 1040
Joined: Tue Sep 20, 2005 5:51 pm
Location: Costa Rica

Post by latinomodder »

Now thats one complex script! Its really cool will try soon
Image
User avatar
StalkingGrunt911




Recreator Connoisseur Acolyte Coroner
Sigma Pyre

Posts: 3618
Joined: Wed May 24, 2006 12:30 pm
Location: Florida!
Contact:

Post by StalkingGrunt911 »

Sounds cool never saw the movie or ever heard about it but it has Adam Sandler so I got to watch it.
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Re: [mod] GroundHog Day Zanzibar *scripts!*

Post by xbox7887 »

Agent ME wrote:(For those who haven't seen the movie groundhog day, which I think starred Adam Sandler, the day Feb 2nd kept repeating just for him, but to everyone else it was normal - just watch that movie!)
BILL MURRAY != ADAM SANDLER!!!!!
User avatar
Agent ME




Articulatist 500

Posts: 881
Joined: Tue Jun 21, 2005 6:00 pm
Location: California, USA
Contact:

Post by Agent ME »

Eh, it's been forever since I saw the movie... and I was just about to edit that part out too, but nnnooooo.... :P
x088x




Critic

Posts: 837
Joined: Sun Nov 06, 2005 1:46 pm
Location: ..

Post by x088x »

Whoa, that sounds really cool. I can't wait to try it.
Halo 3 ruined everything..
Kamatzu




Droplet Wordewatician 500

Posts: 554
Joined: Thu Feb 12, 2004 3:46 am
Location: Still Here. Posts: 8,765,234

Post by Kamatzu »

Yeah it was Bill Murray, awesome movie. Sounds sweet, I shall play this! I <3 scripts to infinity and beyond.
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

You also probably aimed at basing this mod off of the movie Caddyshack, which also stars bill murray ;)
User avatar
Agent ME




Articulatist 500

Posts: 881
Joined: Tue Jun 21, 2005 6:00 pm
Location: California, USA
Contact:

Post by Agent ME »

Caddyshack? Never heard of that movie. What's that about?
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

A pesky groundhog...groundhog day is when a weatherman (Bill) experiences the same day (groundhog day) over and over again...you're getting the plots/titles/actors all mixed up :P
User avatar
scynide




Articulatist 100

Posts: 257
Joined: Fri Feb 17, 2006 1:32 pm
Location: Salida, CO, U.S.A.

Post by scynide »

StalkingGrunt911 wrote:Sounds cool never saw the movie or ever heard about it but it has Adam Sandler so I got to watch it.
No it is not Adam Sandler. It is Bill Murry. Believe me, that is one of my favorite movies because I think it would be kinda cool to have the same thing happen for about a week or so. (The peeps that have seen this movie know what I am talking about) Nice job on this mod. It gets a little confusing at first, but you get the hang of it. I bet the scripting was sorta a pain.

Edit: In the time it took me to post this, lots of peeps beet me to it. :(
Image
User avatar
Agent ME




Articulatist 500

Posts: 881
Joined: Tue Jun 21, 2005 6:00 pm
Location: California, USA
Contact:

Post by Agent ME »

The scripting in some places hit a few snags in a few places - mainly involving the global. Apparently the compiler is a bit picky with them, and (hog_stat) isn't good enough, I need to go in-depth with (= hog_stat true) :P So much for freedom with booleans.

But this is about nothing compared to a lot of the coding/scripting I've done in the past. In ZDooM (mainly DooM2 sourceport, but supports about everything that uses the DooM engine - and it added in HeXeN's powerful scripting features to all games) I had set up around a thousand lines of code to control a level voting system for multiplayer games, and the systems for spawning custom weapons (zdoom at the time wasn't the greatest in handling weapons taken from other games, and getting them to respawn right in multiplayer), and some other interesting things...

This mod was about a walk in the park compared to that type of stuff I've done. Now soon as a compiler comes out with better support for various features, I'll probably be glued to my monitor just trying to think up some insane stuff to do...
Last edited by Agent ME on Wed Sep 13, 2006 7:15 pm, edited 1 time in total.
User avatar
DoorM4n
Readers Club




Artisan Commentator

Posts: 2530
Joined: Mon Aug 15, 2005 2:48 pm
Location: Smurf Village Team: Team DeFiance

Post by DoorM4n »

Offtopic:
Caddyshack is honestly the funniest movie ever made...6 stars of 5
The maximum signature size is 500x120px at 75kb.
Shalted




Eureka Translator

Posts: 565
Joined: Wed Nov 17, 2004 8:41 am
Location: Vancouver, BC This is where people put their modding team because they feel important.
Contact:

Post by Shalted »

Wow, cool, somebody actually used my compiler =D.

Hmm, And I though I refrenced strings wrong :roll:.

Great work!
Awaiting connection...
Locked