AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Chicken God Cleanup (https://forums.alliedmods.net/showthread.php?t=28479)

ozzyzorda 05-15-2006 17:12

Chicken God Cleanup
 
1 Attachment(s)
I am not good at messing with code. I only have a decent sense to notice certain functions and whether they seem fine or not, but I don't want to type an 0 instead of and O and screw this whole hero up.
1.) Will some one please rework this hero by organizing all the cvars into one location (I found three cvars in 2 locations, I am not sure if there is more). and give a description of what the cvar does?
2.) There were countless gramical errors and I am sure some of the registered commands and cvar's were typed wrong.
line 32
Code:

chicken_chickime
line 66
Code:

chicken_chickime
and others

3.) And will you make it so if the person that has this hero can type "chickenme" and be turned into a chicken? I would be uber greatful.

SubStream 05-15-2006 20:11

What does this super hero do?

ozzyzorda 05-15-2006 22:54

I can't give you a definate answer, but I believe it is supposed to change who ever shoots you into a chicken. I think it is supposed to have like a cooldown of 45 secs between chicken switching. I am not sure. I was trying to look through the sma to figure out the cvars but this .sma is so unorganized, I can't tell left from right. I think I will stick to HTML coding for now. sma is too weird for me

ozzyzorda 05-19-2006 10:14

And I can't get it to work because I can't figure out the cvar's. they are not listed in the CVAR's folder in the right index using AMXx Studio. So can anybody help?

Freecode 05-19-2006 16:35

1. My code doesnt need a clean up. (It might need a conversion to AMXX though)

2. You must be blind for sure because theres a big comment in there that states that these are cvars
Code:
  // DEFAULT THE CVARS   register_cvar("chicken_cooldown", "45" )   register_cvar("chicken_chickime", "5")

ozzyzorda 05-19-2006 20:11

Quote:

Originally Posted by Freecode
1. My code doesnt need a clean up. (It might need a conversion to AMXX though)

2. You must be blind for sure because theres a big comment in there that states that these are cvars
Code:
  // DEFAULT THE CVARS   register_cvar("chicken_cooldown", "45" )   register_cvar("chicken_chickime", "5")

So, it won't work for amxx? And I was making no stab at your intelligence. From what I read about you, and of your work, you are VERY able-minded, but I just couldn't make left from right in your code, because it seemed like there were more than just those cvars.

Second, can you please clerify what does chicken_chickime do exactly?

Freecode 05-20-2006 01:01

i would tell you what it does....but that hero is like 2+ years old. I dont remember what it even does. By the looks its just a cvar for a loop timer.


All times are GMT -4. The time now is 16:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.