Code type: Python Eventscript
Name: Round Xp
Compatible: WCS 1.75 ES 2.X
Dependency: None
Description: Gives the winning team xp
What is Custom: The Script
Just put the folder under your eventscripts folder then add to your autoexec "es_load roundxp" without the quotes.
Then you can config how much xp a team would get by opening the python file in a editor example would be notepad then find this.
The xp the team gets is randomized between or is the min and max rates.
Also to make it team only to one team just find this.
Like to make it CT only do this.
[SideNote]
Hurray my first released python script
This is my second python script.
[Special Thanks]
Satoon - For helping me fix mistakes
[Try It Out Server]
[SDD] Coding Community Warcraft:OrangeBox - 216.6.224.214:27015
NOTE - BEFORE POSTING THIS HAS BEEN TESTED ON WCS 1.75!
Name: Round Xp
Compatible: WCS 1.75 ES 2.X
Dependency: None
Description: Gives the winning team xp
What is Custom: The Script
Just put the folder under your eventscripts folder then add to your autoexec "es_load roundxp" without the quotes.
Then you can config how much xp a team would get by opening the python file in a editor example would be notepad then find this.
Code: [Select]
xpconfig = {
min:{
'minxp':'1',
},
max:{
'maxxp':'666',
},
}Then change the min and max xp rates of the round xp.The xp the team gets is randomized between or is the min and max rates.
Also to make it team only to one team just find this.
Code: [Select]
winners = {
2:{
'name':'Terrorist',
'target':'#t',
},
3:{
'name':'Counter-Terrorist',
'target':'#ct',
},
}
And remove one of the teams.Like to make it CT only do this.
Code: [Select]
winners = {
3:{
'name':'Counter-Terrorist',
'target':'#ct',
},
}
[SideNote]
Hurray my first released python script

This is my second python script.
[Special Thanks]
Satoon - For helping me fix mistakes

[Try It Out Server]
[SDD] Coding Community Warcraft:OrangeBox - 216.6.224.214:27015
NOTE - BEFORE POSTING THIS HAS BEEN TESTED ON WCS 1.75!

