Blockland Forums > Modification Help

v8 zombiemod source

Pages: << < (32/37) > >>

Mr.jacksaunt:

I read from Kaph I think, that the progress is pretty good. This true?

Wedge:


--- Quote from: Kaphonaits on November 25, 2011, 03:29:13 PM ---There's so much random stuff in here that's absolutely useless. Look at this function:


--- Code: ---function servercmdcast(%client,%sand){
if(%sand $= "sandwich"){
Messageclient(%client,'0',"You cast a sandwich, but badspot takes it before you eat it.");
}
--- End code ---
What's the point of this? Is this an unfinished feature? The forget is going on here?

--- End quote ---

Hah, I remember Rotondo demonstrating it on his server. He's got silly stuff on it all the time.

In any case, it's a reference to AoT. He either included it on accident or it's in there as an easter egg.

This reminds me of another situation many years ago. I could be remembering it incorrectly but I'll go ahead and share it. One time I asked for some help writing a simple piece of code where you'd type in a color and then the game would respond with "Your color is _____." Someone showed me how to do it, and coincidentally it was one of the TBM developers working on their own copy of the game. They never removed the code and it made it into release. For a long time afterwards you could type color(red); and the game would respond with "Your color is red."

Nom|Aplem|Nom:

Glad to see people could get it working. I forgot about it after having it inside my WIP folder for some time now.

soba:

This gamemode was a lot of fun during my time in v8, it was probrebly the first gamemode I had ever played

I can still remember the first custom vehicle I had seen too, it was the box truck, I freaked the forget out and ran for it as someone drove it away :D

Kaphonaits:

Okay. Okay.
School and Terraria (mostly Terraria) got in the way. Gonna start working on it now, and make some progress. Bugs will be in this post.

Bugs:
-Melee weapons dont do damage on a Zombie's first life.
        What I mean by this, is that when you kill a zombie, and it respawns, can you use melee weapons.

-Propane Tank doesn't explode
-Player Zombies aren't respawned on a new round.
-Other players in the mini-game cannot damage the zombies.

As far as I'm concerned, these bugs were very apparent and were in v8.

The problem with melee weapons has to do with Rot's awful idea of writing a huge function for zombie damage. Anyway, the code itself is an absolute mess:
-It uses K&R indenting
-Nothing is commented
-Variables are obscure
-Function names are obscure, as well as their purpose (casting sandwiches, anyone?)


This all boils down to a loving mess. It would be a better idea to just make your own gamemode with the same AI system and killBrick stuff.

Pages: << < (32/37) > >>

Go to full version