Forum

> > CS2D > Scripts > [Req] Kinda..
Forums overviewCS2D overview Scripts overviewLog in to reply

English [Req] Kinda..

11 replies
To the start Previous 1 Next To the start

old [Req] Kinda..

asdbanana
User Off Offline

Quote
Hello everyone!

So, i was wondering is there a lua/script or can someone make me one that will work like this -

Player (NAME) (RANK) JOINS (TEAM)

So ranks are - Kindral, General, Major etc. and u can earn them by kills. Let's say.. for General you need 320 kills, for Major u need 330 kills or something (shust random numbers from me, but u can choose how many kills and what kind of ranks they are but they must be a war ranks, but please dont but like this - for the lowest rank u need 100 kills and for the highest u need 10000000 kills..that would be boring and it would suck..)

teams - CounterTerrorists team - U.S Army, Terrorists team - T.O.W

All credits do you! Thankyou!

old Re: [Req] Kinda..

asdbanana
User Off Offline

Quote
@user Apache uwu:
It works, only that when i joined Terrorist team it sayd Player (MYNAME) (RANK) JOINS (U.S Army) can you change that if i join terrorist it would say T.O.W and if ct then U.S Army and can you add this function :if i (or anybody) lvl up then it will say PLAYERNAME is now NEWRANK!
Is there a possible way of adding special abilitys when lvling up? (When lvling up from lets say coropoal do general or something you get stuff like stealth armor, speed etc.? Im wery thankful for your work!
edited 3×, last 08.04.12 02:03:51 am

old Re: [Req] Kinda..

Apache uwu
User Off Offline

Quote
It's updated-->check my last post.

Also it's very easy to add ranks look at:

1
2
3
4
5
6
7
8
ranks={ --ranks
	["noobie"]=0,
	["Ground Force"]=10,
	["Kindral"]=310,
	["General"]=320,
	["Major"]=330,
	--["Name of Rank"]=Number of Kills--
}

old Re: [Req] Kinda..

asdbanana
User Off Offline

Quote
Thankyou verymutch @user Apache uwu: this helps me lot's
Ohh, and is there a way do give different ranks depending on what team are you in or not? Becose i have U.S Army ranks and CT's are in U.S Army but terrorists are T.O.W (terrorists of world..couldnt think of better name..) but they cant earn same ranks as U.S Army that would be wierd..like, ranks i have are all real U.S Army ranks and they are in correct order, but terrorists cant be Privates and so on!?

More >
edited 2×, last 08.04.12 02:09:31 am

old Re: [Req] Kinda..

Apache uwu
User Off Offline

Quote
Try this:

More >


tRanks for terrorist ranks, and ctRanks for counter-terrorist ranks.
edited 1×, last 08.04.12 02:07:19 am

old Re: [Req] Kinda..

asdbanana
User Off Offline

Quote
Thankyou! This works nicely! Im stunned by your work! Can you help me learn lua please? If yes then please comment here or send me a message! Ohh, and is there a way of adding special stuff like speed when lvling up? Like, when im Ranked : RPG Launcer owner/user then i get RPG when joining?
edited 2×, last 08.04.12 02:06:29 am

old Re: [Req] Kinda..

Apache uwu
User Off Offline

Quote
Click to reveal script.

More >


Look at

1
2
3
4
5
classWpns={ --weapons
	["noobie"]={5,6},
	["Terrorist Ground Force"]={7,8,9},
	--["Name of Rank"]={Weapon1,Weapon2,Weapon3}--
}

and also change the class tables.

old Re: [Req] Kinda..

Apache uwu
User Off Offline

Quote
thread cs2d Weapon id's

So if you want the noobie to get a AUG and a M4 on spawn you would type

1
2
3
4
classWpns={ --weapons
     ["noobie"]={33,32},
     --["Name of Rank"]={Weapon1,Weapon2,Weapon3}--
}

old Re: [Req] Kinda..

asdbanana
User Off Offline

Quote
@user Apache uwu:

Umm..the weapons didn't work so i changed the classWpns do tRanks and then it sent me error, so i changed it back and it didnt give me errors but i dont have any weapons.. this is my server.lua file
More >


Is there an error or something in my .lua file? If yes then can you fix it or teach me how do fix it !? Thankyou!
edited 3×, last 08.04.12 12:29:36 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview