View Full Version : help plz with cvars
alright...this is just wrong now...i inputed alot of heros ( not all of em ) and nothing is being edited with the cvars... i put it in...but its not working.
heres my superhero.ini
## NUMLEVELS - The total Number of levels to award players
## XPLEVELS - How much XP does it take to earn each level (0..NUMLEVELS)
## XPGIVEN - How much XP is given when a Level(N) player is killed (0..NUMLEVELS)
## LTXPLEVELS - Same as XPLEVELS but for Long-Term mode (sh_savexp 1)
## LTXPGIVEN - Same as XPGIVEN but for Long-Term mode (sh_savexp 1)
NUMLEVELS 20
XPLEVELS 0 100 300 600 1000 1500 2100 2800 3600 4500 5500 6500 7500 8500 9500 10500 11500 12500 13500 14500
XPGIVEN 60 80 100 120 140 160 180 200 220 240 26 280 300 320 340 360 380 400 420 440
LTXPLEVELS 0 100 200 400 800 1600 3200 6400 12800 25600 51200 61200 71200 81200 91200 101200 111200 121200 131200 141200
LTXPGIVEN 6 8 10 12 14 16 20 24 28 32 40 50 60 70 80 90 100 110 120 130
superman_mode 1
superman_gravity .35
superman_armor 500
superman_health 3000
superman_flyspeed 800
superman_flybeforetime 1
superman_toggle 0
superman_level 19
copter_level 15
copter_missile_buy 0
copter_missile_ammo1 1
copter_missile_ammo2 1
copter_missile_ammo3 1
copter_missile_ammo4 2
copter_missile_ammo5 1
copter_missile_ammo6 1
copter_missile_ammo7 1
copter_missile_ammo7takeall
copter_missile_speed 600
copter_missile_rsspeed 900
copter_missile_hsspeed 900
copter_missile_fuel 15
copter_missile_sdfuel 5
copter_missile_sdspeed 750
copter_missile_sdcount 9
copter_missile_sdrotate 9999
copter_missile_sd_radius 20
copter_missile_obeygravity 0
copter_missile_obeyffcvar 1
copter_missile_radiusdam1 99
copter_missile_radiusdam2 99
copter_missile_radiusdam3 99
copter_missile_radiusdam4 99
copter_missile_radiusdam5 99
copter_missile_radiusdam6 99
copter_missile_radiusdam7 100
copter_missile_prizes 1
copter_missile_radarbattery 100
copter_missile_atspawn 0
beast_gravity 600
beast_health 150
beast_armor 125
beast_level 2
beyonder_level 3
blackout_level 1
blackout_cooldown 30
blade_level 6
blade_knifespeed 350
blade_knifemult 1.50
blade_numburns 20
blade_numburns2 5
blade_pistoldamage 30
burnpointsknife 13
blink_level 5
blink_amount 5
blob_level 1
bullseye_level 1
bullseye_armor 100
bullseye_health 125
bullseye_zoommode
cola_speed 650
cola_health 700
cola_level 12
now...none of these are working...and sometimes if i put them in the admin console they work...until a map change.
plz help me...and uh...( dont steal my superman idea lol )
cvars go in shconfig.cfg not superhero.ini...
open shconfig.cfg and add that stuff you the bottom
make sure you delete out the cvars from superhero.ini
superhero.ini is only for xp/level defines...
next time make sure you read the documents...
sry, thx for ur help
gah, i cant find the shconfig folder...
Chivas2973
08-28-2004, 13:48
it is not a folder, it is a file, it should be in your amx folder but if not upgrade to new sh, it should have it
aight thx,
but i cant edit it...i enter the file ( shconfig) and it wont let me edit anything...help?
jtp10181
08-28-2004, 17:47
you "enter" the file....?
use a text editor.... edit it.
make sure its not set as read only somehow
ok thx again...but uh...if i edit it in say, microsoft word, do i save it and put the microsoft word file in there???or...what
Chivas2973
08-28-2004, 18:22
right click on it and open it with note pad, make your changes, close it, when prompted to save, save changes
you are done
jtp10181
08-28-2004, 18:26
ok thx again...but uh...if i edit it in say, microsoft word, do i save it and put the microsoft word file in there???or...what
if you edit a config file with MSWord may god have mercy on your soul
ur wrong jtp!!! its..."may neptune have mercy on ur soul..."
lol j/k
grrr its not working...open with notepad...right...a whole bunch of squares pop up..and gibberish like lines...i cant read it
open with wordpad copy and paste to notepad, all fixed... make sure to save it as an sma (other file) not a txt file, in the drop down option...
Chivas2973
08-28-2004, 19:21
I wouldn't make him angry, you wouldn't like him when he's angry
http://www.cinefile.biz/hulk1.jpg
imported_TicoMeElmo
08-28-2004, 19:23
lol true dat
how do i save as a .sma?
its like- not there in the down list
whats there is...RTF;Text Doc.;Text Doc Ms-Dos format;and unicode text doc.
WAIT: if this is shconfig then its a .cfg not .sma
in the save as box use sh_heroname.sma, put a .sma on the end
...what?
i put a bunch of heros in there
then it says if i try saving it as sh_heroname.sma u are about to save as a text only format, which will remove all formatting...what do i do!
Chivas2973
08-28-2004, 21:07
STOP, you are just way ahead of yourself, try to figure some things out, like open it and just look at what is in there, add things the same way, then just close it and save, don't change it to an sma, just leave it as a cfg
click the little X on the top right and a window will pop up asking you if you want to save, just say yes
THATS IT
I've already did it tho...so what do i do...i tested it and it doesnt work.
This was my fault I am sorry, I thought you were talking about editing sma's forgive me...
We can help you fix what i made you mess up, what superhero installer did you use? or what version of sh mod do you have (type amx plugins in console).
Since this was my fault I will make you a shconfig.cfg file with all your configs in it, just answer the question above.
<- new avatar is for chivas haha
Chivas2973
08-29-2004, 00:01
LMAO, I like it vittu
moose, you may be better off, starting with the new one here
http://forums.alliedmods.net/showthread.php?t=30351
since I know you started with what I gave you, if you already did some custom work though, take a look at the downloads here
http://forums.alliedmods.net/showthread.php?t=30372
everything in the superheromod_AMX_1.17.3.zip goes in the amx folder, maybe if you see it, you can work with it better, we are here to help if you work with us
yeah, i downloaded the new one already, thats the shero config folder i used, i dont know how to install it to the mod so THATS the one thats used...
Chivas2973
08-29-2004, 00:15
http://forums.alliedmods.net/showthread.php?t=30351
the czero for 1.17.3, I think you want czero, has a shconfig.cfg located in czero/addons/amx this is what you are looking for, it is not a folder, it is a file, matter of fact, I will attach it
omg r u blind??? lol j/k i already said, i downloaded it earlier today, i got the file from it and i did everything it said, i didnt test to see if it works since i put some test heros in it and i'm going to go see if it works now.
jtp10181
08-29-2004, 07:40
DO NOT USE MSWORD OR WORDPAD OR ANYTHING BESIDES A PLAIN TEXT EDITOR TO SAVE THE FILES
If you have weird characters in the file you probably saved it with something bad. Open the file in msword and see i it decodes it, copy the text and paste it into notepad. then save it using notepad and overwrite the old one.
ok thx i'll do that...although i already did it...
i used wordpad to edit the superhero config...just taker a look at it for a sec, nothing is working for me...
echo "[AMX] Successfully Loaded Superhero Config File"
// *************** END STANDARD SUPERHERO CVARS ***************
// ***************** START HERO SPECIFIC CVARS ****************
//Anubis
anubis_level 0
anibus_showdamage 1
anibus_showchat 1
//Aquaman
aquaman_level 0
aquaman_armorcost 0
aquaman_numbubbles 7
aquaman_bubbledamage 10
//Batman
batman_level 0
batman_health 125
batman_armor 125
//Bomberman
bomberman_level 0
bomberman_xpbased 0
bomberman_bombs 1
bomberman_bpl 1
bomberman_radius 400
bomberman_maxdamage 100
//Captain America
captaina_level 0
captaina_pctperlev 0.02
captaina_godsecs 1
//Cyclops
cyclops_level 0
cyclops_laser_ammo 20
cyclops_laser_burndecals 1
cyclops_cooldown 1
cyclops_mulishot 0.20
//Daredevil
daredevil_level 0
daredevil_radius 600
daredevil_bright 192
//Dazzler
dazzler_level 0
dazzler_radius 3000
dazzler_cooldown 15
//Dracula
dracula_level 0
dracula_pctperlev 0.03
//Flash
flash_level 18
MAX_SPEED 600
//Hobgoblin
goblin_level 0
goblin_grenademult 1.5
goblin_grenadetimer 10
//Hulk
hulk_level 0
hulk_radius 1800
hulk_cooldown 7
hulk_stuntime 3
hulk_stunspeed 70
//Human Torch
htorch_level 0
htorch_armorcost 15
htorch_numburns 5
htorch_burndamage 10
//Ironman
ironman_level 0
ironman_timer 0.1
ironman_thrust 125
ironman_maxspeed 400
ironman_xymult 1.05
ironman_armorfuel 1
ironman_fuelcost 1
ironman_armor 100
//Kamikaze
kamikaze_level 12
kamikaze_radius 300
kamikaze_fuse 1
kamikaze_maxdamage 125
//Magneto
magneto_level 10
magneto_cooldown 45
magneto_boost 125
magneto_giveglock 1
//Mystique
mystique_level 0
mystique_cooldown 0
mystique_maxtime 0
mystique_toggle 1
//Nightcrawler
nightc_level 0
nightc_cooldown 30
nightc_cliptime 6
//Punisher
punisher_level 0
punisher_dropwpn 0
//Skeletor
skeletor_level 0
skeletor_cooldown 20
skeletor_camptime 10
skeletor_movedist 10
//Spiderman
spiderman_level 0
spiderman_moveacc 150
spiderman_reelspeed 400
spiderman_hookstyle 2
spiderman_maxhooks 99
//Superman
superman_level 20
superman_gravity 0.35
superman_armor 500
superman_health 2500
superman_flyspeed 800
//Windwalker
windwalker_level 0
//Wolverine
wolverine_level 0
wolv_healpoints 3
wolv_knifespeed 500
wolv_knifemult 1.35
//Xavier
xavier_level 0
xavier_traillength 25
xavier_showteam 0
xavier_showenemy 1
xavier_refreshtimer 5.0
//Zeus
zeus_level 9
zeus_cooldown 600
//Copter
copter_level 15
copter_missile_buy 0
copter_missile_ammo1 1
copter_missile_ammo2 1
copter_missile_ammo3 1
copter_missile_ammo4 2
copter_missile_ammo5 1
copter_missile_ammo6 1
copter_missile_ammo7 1
copter_missile_ammo7takeall
copter_missile_speed 600
copter_missile_rsspeed 900
copter_missile_hsspeed 900
copter_missile_fuel 15
copter_missile_sdfuel 5
copter_missile_sdspeed 750
copter_missile_sdcount 9
copter_missile_sdrotate 500
copter_missile_sd_radius 20
copter_missile_obeygravity 0
copter_missile_obeyffcvar 1
copter_missile_radiusdam1 99
copter_missile_radiusdam2 99
copter_missile_radiusdam3 99
copter_missile_radiusdam4 99
copter_missile_radiusdam5 99
copter_missile_radiusdam6 99
copter_missile_radiusdam7 100
copter_missile_prizes 1
copter_missile_radarbattery 100
copter_missile_atspawn 0
//Beast
beast_gravity 600
beast_health 150
beast_armor 125
beast_level 2
//Beyonder
beyonder_level 3
//Blackout
blackout_level 1
blackout_cooldown 30
//Blade
blade_level 6
blade_knifespeed 350
blade_knifemult 1.50
blade_numburns 20
blade_numburns2 5
blade_pistoldamage 30
burnpointsknife 13
//Blink
blink_level 5
blink_amount 5
//Blob
blob_level 1
//Bullseye
bullseye_level 1
bullseye_armor 100
bullseye_health 125
bullseye_zoommode
//Colalover
cola_speed 800
cola_health 700
cola_level 15
now, none of that stuff in there works like i want it to, nothing is being modified. I have my sh config in my amx folder, i saved it with wordpad...i hope thats not bad...but it still says shconfig and under it it says it a CFG file, when i open it up it goes into wordpad...is this wrong?
also, this is not all of my heros..i wanted to test these but they dont work.
( i also did not show anything above the shcvars for admin reasons...
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.