US Military Mod
1 Attachment(s)
This is my very first mod. I hope that it doesn't get deleted :cry:.
Well, this is just a simple XP based mod that I made following XunTric's tutorial. I took some of that stuff out, added stuff, changed stuff... and I got this! There are 27 different ranks, you start at private and work your way up to General. By default, XP per kill is set to 1. If you want to change the XP per kill, you might want to go into the .sma file and change lines 184 and 248 to better suit the output. I hope to be able to add a menu so that you can choose if you want to be in the Marines or the US Army, and at any time you can change which one your in. But say for example, your a Sergeant in the US Army, with 130 kills, I would like that to stay only on the Army side if you switch to the Marines so you start at scratch in the Marines instead of skipping the first 4 ranks. There are 2 CVARS for this plugin: Code:
xp_per_kill 1 //by default is set to 1 I haven't really been able to test it, so if someone could real quick, that would be awsome! PHP Code:
1.1 -
|
Re: US Military Mod
Nice I'll try this out. By any chance is this the same as the BF2 Rank mod?
|
Re: US Military Mod
it shuld krash the server i recommend you test your plugins before submiting them next time.
PHP Code:
You shuld replace vault whit nvault You dont need all the defines..... You Dont need fun and cstrike Use Pcvars Add more futures. Quote:
|
Re: US Military Mod
plugin work by steamid?
can u do this by name(nick) tnx |
Re: US Military Mod
Quote:
Quote:
ok, this is what i should do?: -Replace all instances of vault to nvault? Thats basically all that i can understand since im new, so u gotta explain it a little more. Also, i was gonna test this as soon as i got home from school today. Oh and i cant believe i didnt see that one part where it should crash the server, it basically common sense that plugin_continue should be there =\ Quote:
|
Re: US Military Mod
actuly you can remove the hole resethud event becase it actuly dont do enything.
i updated the xp tutorial script its at the last page have a look. XP TUTORIAL got pcvars,nvault and new menu system. |
Re: US Military Mod
Ohh, thank thank you :D
Would you like to help me with this mod? I got an idea of making a menu so that you can choose if your in the army or the marines. |
Re: US Military Mod
Quote:
OMG, if i follow that, i will need to rewrite everything! :| I'll just change the vault to nvault, and take out the defines and test that in a little bit, once i get home from school. Updated! |
Re: US Military Mod
Ok, i have tested it, and I need some help :(. Can someone please help me? I cant get anything to show up or work... It compiles fine though...
|
Re: US Military Mod
you have remove the ResetHUD function but you still register it.
remove it or it should cause problems Quote:
dont know if you removed it or not frome your main code but i can see it at the top post. |
All times are GMT -4. The time now is 22:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.