Elielsellel
Level 0 Beginner
Offline
Finland
Posts: 11
myServer 217.163.25.220:27015(Warning: click connects through Steam)
|
 |
« on: December 18, 2009, 10:44:19 PM » |
|
So yeah, i been wondering if it's possible to make some races for only either T's or CT's or it must be for both?
|
|
|
|
|
Logged
|
|
|
|
|
Yiyas
|
 |
« Reply #1 on: December 19, 2009, 02:56:36 AM » |
|
Yeah, you gotta edit about 3 changerace blocks to include a check of team versus race's team. Much like checking for the required level, this includes getting the team the player is on then comparing it to a keygroup, created at your discretion, on the race.
|
|
|
|
|
Logged
|
|
|
|
|
DanMister
|
 |
« Reply #2 on: December 19, 2009, 07:42:30 AM » |
|
and yiyas ruins the secret we all knew...
|
|
|
|
|
Logged
|
theres a thing called copy and paste. I think someone named Bill Gates made it…. -DanMister "Genius may have its limitations, but stupidity is not thus handicapped." Elbert Hubbard
|
|
|
shemeshakesalot
Level 1 Trained Beginner
Offline
Posts: 25
|
 |
« Reply #3 on: December 19, 2009, 09:59:34 AM » |
|
Wow you dickheads.. "private secret".. Go fuck yourselves.
|
|
|
|
|
Logged
|
|
|
|
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
   
Offline
Posts: 2333
of all the things ive lost i miss my mind the most
 Wc3_HOLLIDAY_Wc3wc3hollidaywc3myServer 8.2.0.222:27015(Warning: click connects through Steam)
|
 |
« Reply #4 on: December 19, 2009, 10:05:55 AM » |
|
sure it is possible. i have already coded this into an update of my wcsCadmin Script. at the moment i believe that the update is a secret to Texno and his people...
"reastrict_team" "2"
|
|
|
|
« Last Edit: December 19, 2009, 10:09:39 AM by HOLLIDAY »
|
Logged
|
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 105
Zombie Asylum <3 .
|
 |
« Reply #5 on: December 19, 2009, 01:11:40 PM » |
|
HOLLIDAY --' Yes it's possible but it's not easy to know the team , a lot of people add restrict_team 1 but one is spectator ^^
|
|
|
|
|
Logged
|
|
|
|
shemeshakesalot
Level 1 Trained Beginner
Offline
Posts: 25
|
 |
« Reply #6 on: December 19, 2009, 01:59:28 PM » |
|
Sure it's easy.
|
|
|
|
|
Logged
|
|
|
|
<---Texno--->
Level 7 Expert
   
Offline
Norway
Posts: 1003
< Need Help ? >
 texno755gameren755myServer 83.142.49.95:27015(Warning: click connects through Steam)
|
 |
« Reply #7 on: December 19, 2009, 02:24:48 PM » |
|
HOLLIDAY --' Yes it's possible but it's not easy to know the team , a lot of people add restrict_team 1 but one is spectator ^^
It's not hard is the word. but the only one to have this now is me and holliday.
|
|
|
|
|
Logged
|
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 105
Zombie Asylum <3 .
|
 |
« Reply #8 on: December 19, 2009, 02:31:30 PM » |
|
and me :p
|
|
|
|
|
Logged
|
|
|
|
<---Texno--->
Level 7 Expert
   
Offline
Norway
Posts: 1003
< Need Help ? >
 texno755gameren755myServer 83.142.49.95:27015(Warning: click connects through Steam)
|
 |
« Reply #9 on: December 19, 2009, 02:39:30 PM » |
|
and me :p
No.... you just know the code function.
|
|
|
|
|
Logged
|
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 105
Zombie Asylum <3 .
|
 |
« Reply #10 on: December 19, 2009, 02:45:23 PM » |
|
Yes . But it's work
|
|
|
|
|
Logged
|
|
|
|
|
CA.Berettonawak
|
 |
« Reply #11 on: December 19, 2009, 06:46:16 PM » |
|
You damn liars, Mitchel made it one year before you did. I got it, mitchel has it too, probably Namolem, and actually anyone who contributed to WCS 0.78 (soon Sasuke). You say it's hard, that's cause you don't know how to code it, knowing you i guess you just fucking edited it so it looks hard with stuff every where, but all you need is about 20 lines of code, maybe 30.
BTW: Let's make it clear, please don't flame like "oh hai i got somethingz you ain't got! i'm the pro coder who made this exclusivity in the world". Removed three posts for flaming + obviously your code isn't an exclusivity.
|
|
|
|
|
Logged
|
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good. i love tuna juice  =CA= Pietro: back =CA= Pietro: sorry, was downstair sharing my chocolate with my cat =CA= Pietro: you should see his face when he ate it xD =CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
|
|
|
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
   
Offline
Posts: 2333
of all the things ive lost i miss my mind the most
 Wc3_HOLLIDAY_Wc3wc3hollidaywc3myServer 8.2.0.222:27015(Warning: click connects through Steam)
|
 |
« Reply #12 on: December 20, 2009, 02:21:37 AM » |
|
some one coded team restrictions for races a year ago?
whats all the exclusivity talk? lol. what i miss?
|
|
|
|
|
Logged
|
|
|
|
|
CA.Berettonawak
|
 |
« Reply #13 on: December 20, 2009, 02:01:45 PM » |
|
some one coded team restrictions for races a year ago?
whats all the exclusivity talk? lol. what i miss?
Mitchel coded this for WCS 0.78 in january 2009... it's said on the update thread!
|
|
|
|
|
Logged
|
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good. i love tuna juice  =CA= Pietro: back =CA= Pietro: sorry, was downstair sharing my chocolate with my cat =CA= Pietro: you should see his face when he ate it xD =CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
|
|
|
|
Gh[]st
|
 |
« Reply #14 on: December 20, 2009, 04:01:37 PM » |
|
yeah ive got it for a few of my races also, not hard to do either like brett said 20 to 30 lines, i think mines around 35 or so actually. But i might be checking for a few unnecessary variables in a few of those lines but all the same it works.
|
|
|
|
|
Logged
|
|
|
|
|