BAH! :( Help please
:shock: Here we go...
Just discovered how to script and stuff for the superheroes in the .sma files. I can compile and do little stuff no probs.. After looking at the Zeus superhero, I was inspired to make a Jesus one :P lol, I wanted to make him 1000hp, health gen 5 hp /sec, and zeus revive team mate power. At first it seemed fine, It shows up on the superhero menu, and i can select it, BUT! when i do, health doesnt change and Zeus power and health regen don't work, Can you guys please take a look at my code? Greatly appreciated, cheers. :wink: -------------Code------------- Code:
|
1) use small code blocks for code (I fixed it for you)
2) attach the sma so anyone trying to compile it will have the exact same code |
k
1 Attachment(s)
Ah, ok thanx mate, I'm new to all this
Heres the .sma Good you possibly say what's wrong :( |
Code:
wolv? you forgot to change it.. "Jesus_health" - you mention this cvar up top, but you never register it anywhere. oh, and the regen wont work because you dont have any tasks doing it.... how is it gonna magically regen health? |
oh
Ah lol! sorry, But where would i register the health? Ive looked at the tuts but im confused :?
Also, what tasks? and what would it be like? could u give me example of how the task would be? thanx ps: I declared it at the top? Quote:
|
this stuff all works in the heroes you ripped it from.... so obviously you're missing parts.
|
?
But i need to know how i would mention the health where ever it goes, cos it doesnt work, Jesus doesnt get 500 or 1000 hp or what ever i set it too! So where would i need to address the cvars which are at the top? Also, i went into the sh_config and addapted:
//Jesus jesus_health 500 etc.. But still don't work :x Can you give any possible examples or could you help with the .sma file plz? thanx PS: How come u take so long to reply mate?? I like need this done tonight please :D |
y0
Hello? :cry: plz dude need this quick :?
|
you have no idea how to program.... you wont get this done tonight. Learn how to do some basic programming.
|
...
Thanks for nothing.. FFS ill never learn unless u fucking tell me! jesus christ... You have no idea how to be helpful...
|
All times are GMT -4. The time now is 09:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.