Raised This Month: $ Target: $400
 0% 

Military Rank Mod


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
raa
Senior Member
Join Date: Oct 2005
Old 02-07-2007 , 17:41   Re: Military Rank Mod
#1

Code:
public plugin_init()     {     register_plugin("Rank Display", "1.0", "Kensai")     register_cvar("sv_mranks","1") } public client_putinserver(id)     {       if(get_cvar_num("sv_mranks")==0)         {         return PLUGIN_HANDLED     }     set_task(HUD_INTERVAL, "ShowHUD", id)     return 0 }
__________________
raa is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-07-2007 , 17:42   Re: Military Rank Mod
#2

I see thank you, raa. Guys a great deal of credit goes to raa.
Phantom Warrior is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-07-2007 , 17:50   Re: Military Rank Mod
#3

**UPDATE** I added, a CVAR(Thanks to raa), to allow you to turn this off/on.
Phantom Warrior is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 02-07-2007 , 17:55   Re: Military Rank Mod
#4

Hey, sounds like your getting lots done on this. If at all possible, try to change your cvar to a pcvar, they tend to work a bit better. Nice job though!
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-07-2007 , 17:57   Re: Military Rank Mod
#5

What does a pcvar do?

And: You'll have to re-download to have the on/off function.
Phantom Warrior is offline
palehorse
Member
Join Date: Feb 2006
Location: Arkansas
Old 02-07-2007 , 18:33   Re: Military Rank Mod
#6

A few things I would want as a server admin ( and believe me this thing is going on my server)

a .cfg file where the admin could edit, and add more ranks. I would make it so there is an unlimited amount.

something like

rank1= "Private"
requirements:
onlinetime: 00:00:00
kills: 0

rank2= "Private First Class"
Requirements:
onlinetime: 3:00:00
Kills: 100

rank3="Lance Corporal"
Requirements:
onlinetime: 8:00:00
kills: 1,000

it would also be great to be able to add things such as knifes, headshots, planted bombs, defused bombs, hostages rescued, rounds played to the rank requirements.

and an motd window would be great for instructions and rankings for everyone else. How cool would it be to be able to type in /general and see a list of all generals in a motd window. also would be nice to see a motd window that would show how far to make it to the next level... ex:

/nextlevel
currently rank: Private First Class
Next Rank: Lance Corporal

Onlinetime Remaining: 40:00
Kills till next rank: 530
Defussed bombs remaining: 18
planted bombs: 20

IMO this could be the best plugin ever if it comes with the right featues.

Last edited by palehorse; 02-07-2007 at 18:38.
palehorse is offline
palehorse
Member
Join Date: Feb 2006
Location: Arkansas
Old 02-07-2007 , 18:42   Re: Military Rank Mod
#7

btw: I personally think the BF2 ranks would be perfect (Marines)
Example: http://ubar.bf2s.com/ranks.php
palehorse is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-07-2007 , 19:53   Re: Military Rank Mod
#8

I'll probably take this into consideration.

Some chat commands i'll add:
/report - will report a broken (somthing) in the mod.

/playeranks - will display(in MOTD) all the players rank on the server.

SPECIAL COMMANDS:

I might even add (this will be on/off cvar'd) something that would autmaticly change the username of the person who enters the server to there ranks
EXAMPLE:

joe87 connected. =Let's say joe is level General.
Joe87 changed name to [General]joe87.

__________________________

Quote:
a .cfg file where the admin could edit, and add more ranks. I would make it so there is an unlimited amount.
I would but don't know how. Sorry.
Phantom Warrior is offline
Phantom Warrior
BANNED
Join Date: Feb 2007
Location: hello, gaben
Old 02-07-2007 , 19:56   Re: Military Rank Mod
#9

**Information** No more versions will be released untill this is Approved/Unapproved > You may still make suggestions. If you don't want to share your suggestion with the rest, PM me.
Phantom Warrior is offline
Old 02-07-2007, 20:07
Lord_Destros
This message has been deleted by Lord_Destros. Reason: Gaben told me to
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:05.


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