Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
1 Active | 50 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Rank System
modsdivx94
General Member
Since: Apr 14, 2012
Posts: 2
Last: May 21, 2012
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Monday, May. 21, 2012 09:55 am
Who help me :) i don't know how make rank system i working 3 days and 0% project ;/ (i need hud in game kills , deads , headshoots , bashs , and rank 1 , 2 , 3 , 4 )

Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Monday, May. 21, 2012 10:08 am
Rip it from my CoD4MoD
Share |
modsdivx94
General Member
Since: Apr 14, 2012
Posts: 2
Last: May 21, 2012
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Monday, May. 21, 2012 10:19 am
IzNoGoD writes...
Quote:
Rip it from my CoD4MoD

but i edit and can't make only rank system and +10 score on the mid ;/
Share |
Dobriy
General Member
Since: Mar 31, 2011
Posts: 96
Last: May 23, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, May. 21, 2012 12:57 pm
in connect
Code:

self.frags=0;
self.pts=0;
self.rank=0;

in attack
Code:

attacker.frags++;
attacker thread simplerank();


in other place
Code:
simplerank()
{
if(self.frags>=self.pts)
{
self.rank++;
self.pts=int(self.pts*1.5);
}
}


This is for example if you want bash,kill,heads and oher,think the head, I gave an example to you
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»