Question about a script for cp_warpath |
Question about a script for cp_warpath |
assface |
Sep 13 2009, 08:13 PM
Post
#1
|
Member Group: Members Posts: 27 Joined: 22-June 09 Member No.: 1,580 |
I'm trying to do a script for cp_warpath and got stuck, I could really use some help... how the hell do you do this?
as blue: The cap order is Blue Checkpoint(area2), The Bridge(area3), The Red Checkpoint(area4), Final cap(area5). as Red: the cap order is The Red Checkpoint(area4),The Bridge(area3), The Blue Checkpoint(area2), final cap(area1). blue spawn---a1---a2---a3---a4---a5---red spawn. It gets all messed up because of the first cap point. If one team caps before the other; the other team will stop capping, defend to the bridge, and attack the point that the opposite team just capped. Also they wont go cap their checkpoint so they can cap the bridge. How do you make it so after each team caps their first point, that part of the script isn't repeated? here's what I got so far. (I'm just wingin it so if its really screwed thats why) # # RCBot2 Script Warpath CP # # :setup_time:24 :on_reset: blue_attack:2 blue_defend:2 red_attack:4 red_defend:4 areas:2,4 # # # #:on_blue_cap:The Blue Checkpoint #red_attack: #red_defend: #blue_attack:3 #blue_defend:2 #areas: #:on_red_cap:The Red Checkpoint #red_attack:3 #red_defend:4 #blue_attack: #blue_defend: #areas: # # # :on_blue_cap:The Bridge red_attack:3 red_defend:4 blue_attack:4 blue_defend:3 areas:3,4 :on_red_cap:The Bridge red_attack:2 red_defend:3 blue_attack:3 blue_defend:2 areas:2,3 # # # :on_blue_cap:The Red Checkpoint red_attack:4 red_defend:5 blue_attack:5 blue_defend:4 areas:4,5 :on_red_cap:The Red Checkpoint red_attack:3 red_defend:4 blue_attack:4 blue_defend:3 areas:3,4 # # # :on_blue_cap:The Blue Checkpoint red_attack:2 red_defend:3 blue_attack:3 blue_defend:2 areas:2,3 :on_red_cap:The Blue Checkpoint red_attack:1 red_defend:2 blue_attack:2 blue_defend:1 areas:1,2 # # # |
DrPuffinKind |
Sep 13 2009, 09:54 PM
Post
#2
|
RCBot Fan Group: Members Posts: 127 Joined: 3-August 09 Member No.: 1,638 |
I'm trying to do a script for cp_warpath and got stuck, I could really use some help... how the hell do you do this? as blue: The cap order is Blue Checkpoint(area2), The Bridge(area3), The Red Checkpoint(area4), Final cap(area5). as Red: the cap order is The Red Checkpoint(area4),The Bridge(area3), The Blue Checkpoint(area2), final cap(area1). blue spawn---a1---a2---a3---a4---a5---red spawn. It gets all messed up because of the first cap point. If one team caps before the other; the other team will stop capping, defend to the bridge, and attack the point that the opposite team just capped. Also they wont go cap their checkpoint so they can cap the bridge. How do you make it so after each team caps their first point, that part of the script isn't repeated? here's what I got so far. (I'm just wingin it so if its really screwed thats why) # # RCBot2 Script Warpath CP # # :setup_time:24 :on_reset: blue_attack:2 blue_defend:2 red_attack:4 red_defend:4 areas:2,4 # # # #:on_blue_cap:The Blue Checkpoint #red_attack: #red_defend: #blue_attack:3 #blue_defend:2 #areas: #:on_red_cap:The Red Checkpoint #red_attack:3 #red_defend:4 #blue_attack: #blue_defend: #areas: # # # :on_blue_cap:The Bridge red_attack:3 red_defend:4 blue_attack:4 blue_defend:3 areas:3,4 :on_red_cap:The Bridge red_attack:2 red_defend:3 blue_attack:3 blue_defend:2 areas:2,3 # # # :on_blue_cap:The Red Checkpoint red_attack:4 red_defend:5 blue_attack:5 blue_defend:4 areas:4,5 :on_red_cap:The Red Checkpoint red_attack:3 red_defend:4 blue_attack:4 blue_defend:3 areas:3,4 # # # :on_blue_cap:The Blue Checkpoint red_attack:2 red_defend:3 blue_attack:3 blue_defend:2 areas:2,3 :on_red_cap:The Blue Checkpoint red_attack:1 red_defend:2 blue_attack:2 blue_defend:1 areas:1,2 # # # take a look at the script i did for cp_orange_x3 and for cp_purple_x if u use that model and plug in the correct info for your map... it should work ok... u may need to add setup time or what ev to make it match ur map... (i have not seen that map) hope that helps |
Cheeseh |
Sep 13 2009, 11:14 PM
Post
#3
|
Admin Group: Admin Posts: 3,056 Joined: 11-September 03 From: uk Member No.: 1 |
take a look at the script i did for cp_orange_x3 and for cp_purple_x if u use that model and plug in the correct info for your map... it should work ok... u may need to add setup time or what ev to make it match ur map... (i have not seen that map) hope that helps I understand this problem and I can tell that actually the current script system won't work with this layout of map, it needs to be edited so that different types of map (e.g. this, and gravelpit etc...) can work. Need to think of a new system first |
assface |
Sep 14 2009, 02:38 AM
Post
#4
|
Member Group: Members Posts: 27 Joined: 22-June 09 Member No.: 1,580 |
I understand this problem and I can tell that actually the current script system won't work with this layout of map, it needs to be edited so that different types of map (e.g. this, and gravelpit etc...) can work. Need to think of a new system first Oh well..it's such a stalemate-ish map its hard to tell anyway! Question- Is it always :on_reset: blue attack, blue defend, red attack, red defend. Then n cap: red attack, red defend, blue attack, blue defend, then by blue cap, red cap?? or does it really not matter? Out of desperation I just made stuff up. It actually seems ok, I think after the bridge is capped it gets set right. I just tried it scouts vs snipers so not much capping and recapping. The scouts won if you wondered.. # # RCBot2 Script Warpath CP # # :setup_time:24 :on_reset: blue_attack:2 blue_defend:2 red_attack:4 red_defend:4 areas:2,4 # # # :on_blue_cap:The Blue Checkpoint blue_attack:3 blue_defend:2 :on_red_cap:The Red Checkpoint red_attack:3 red_defend:4 areas:3,4 # # # :on_blue_cap:The Bridge red_attack:3 red_defend:4 blue_attack:4 blue_defend:3 areas:3,4 :on_red_cap:The Bridge red_attack:2 red_defend:3 blue_attack:3 blue_defend:2 areas:2,3 # # # :on_blue_cap:The Red Checkpoint red_attack:4 red_defend:5 blue_attack:5 blue_defend:4 areas:4,5 :on_red_cap:The Red Checkpoint red_attack:3 red_defend:4 blue_attack:4 blue_defend:3 areas:3,4 # # # :on_blue_cap:The Blue Checkpoint red_attack:2 red_defend:3 blue_attack:3 blue_defend:2 areas:2,3 :on_red_cap:The Blue Checkpoint red_attack:1 red_defend:2 blue_attack:2 blue_defend:1 areas:1,2 anyway here's the waypoints and script if anyone's interested. (This is the old version of warpath) Attached File(s) cp_warpath_waypoints_and_script.zip ( 7.89k ) Number of downloads: 33 |
Lo-Fi Version | Time is now: 19th April 2024 - 06:12 PM |