![]() |
![]() ![]() |
![]() |
Kampy |
![]()
Post
#1
|
Newbie ![]() Group: Members Posts: 5 Joined: 9-November 09 Member No.: 1,742 ![]() |
Hi Ive added waypoints to my TF2 map, but I dont know how to write a rcs file. I couldnt find a tutorial explaining what to do. Maybe you can help me. The map structure is very simple:
QUOTE Setup Time 2 min Blue defends A Red attacks A after capturing A (respawn) Setup Time 1 min Blue defends B Red attacks B after capturing B (respawn) Setup Time 1 min Blue defends C Red attacks C after capturing C Blue defends D Red attacks D I put the cp waypoints to capture, but how do I have to code this? how do I tell the bots which waypoint is which and most importantly how to write this rcs? |
NifesNforks |
![]()
Post
#2
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 69 Joined: 17-January 09 From: Stockholm, Sweden Member No.: 1,450 ![]() |
First if you have not done this, use "rcbot waypoint setarea 1" on A, "rcbot waypoint setarea 2" on B, "rcbot waypoint setarea 3" on C and "rcbot waypoint setarea 4" on D.
Join the attacking team, write "rcbot debug gameevent 1" in console. Go capture point A, In the console it should say some info and stuff, there should also be a cpname=NAME. Write the name down on a paper or something if you dont have a kickass memory. Do this on each control point. The script should look like this: QUOTE :setup_time:120 :on_reset: :setup_time:120 blue_attack:0 blue_defend:1 red_attack:1 red_defend:0 areas:1 :on_red_cap:name of the first cap :setup_time:60 red_attack:2 red_defend:0 blue_attack:0 blue_defend:2 areas:2 :on_red_cap:name of the second cap red_attack:3 red_defend:0 blue_attack:0 blue_defend:3 areas:3 :on_red_cap:name of the third cap red_attack:4 red_defend:0 blue_attack:0 blue_defend:4 areas:3,4 I'm a little unsure about the setup time changing, but I think this would work. |
Kampy |
![]()
Post
#3
|
Newbie ![]() Group: Members Posts: 5 Joined: 9-November 09 Member No.: 1,742 ![]() |
Thank you very much. You've been a big help. I guess using "rcbot debug gameevent 1" I will have to use 1 for A then 2 for B and so on.
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 26th June 2025 - 11:16 PM |