IPB

Welcome Guest ( Log In | Register )

> Question about a script for cp_warpath
assface
post 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
#
#
#
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st June 2025 - 04:57 PM