PDA

View Full Version : Level Help.........


-angel-
07-20-2004, 16:18
If I want that a power will be from level 5 what I need to write and were????

PM
07-20-2004, 16:40
Find the cvar for the heros level, example:Nihlanth=nil_level <level number>

Put the cvar in both your listenserver.cfg and server.cfg

-angel-
07-20-2004, 18:20
I didn't anderstand.........
can you give me a better example?

-angel-
07-21-2004, 15:55
:( ??? :(

Chivas2973
07-21-2004, 16:22
there are 2 ways, the way described above
Posted: Tue Jul 20, 2004 4:40 pm Post subject:

--------------------------------------------------------------------------------

Find the cvar for the heros level, example:Nihlanth=nil_level <level number>

Put the cvar in both your listenserver.cfg and server.cfg

the cvar he is talking about is located in the sma, if you did it with the hero AssKicR, you would have to put AssKicR_level 5 in both your listenserver.cfg and server.cfg
the second way to edit a hero is edit the sma directly in this part
// FIRE THE EVENT TO CREATE THIS SUPERHERO!
if ( isDebugOn() ) server_print("Attempting to create AssKicR Hero")
if ( !cvar_exists("AssKicR_level") ) register_cvar("AssKicR_level", "0" )
shCreateHero(gHeroName, "Ultimate Skill", "You get lots of Nice Powers", true, "AssKicR_level" )
the place I made bold, change the 0 to whatever number level you want, then you must recompile the sma into a new amx, using an amx compiler, then put the new amx in your plugins folder
hope that clears it up

-angel-
07-22-2004, 08:23
10x i understand :lol: :lol:

but how can i get the amx compiler

Chivas2973
07-22-2004, 09:08
http://djeyl.net/forum/index.php?showtopic=16652

try this post which has this download
http://sniperbeamer.amxmod.info/amxcomp/amxcomp.exe

Myishi Coporations
08-03-2004, 05:22
when i compile it where does the new .amx go?Help me please

jtp10181
08-03-2004, 06:56
AHHHHHHH!!!!!!

DO NOT RECOMPILE THE PLUGIN JUST TO CHANGE A CVAR

just put the cvar line in your shconfig.cfg

I will not help anyone attempting to recomile a hero just to change a god damned cvar