]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/maps/campaign_voretournament_4.cfg
Mother of god... I still had the sources for Nexuiz weapons and other things from...
[voretournament/voretournament.git] / data / maps / campaign_voretournament_4.cfg
1 // per-campaign-level configuration file. Used to execute scripts and other commands for campaign levels\r
2 // do NOT attempt to set cvars here! Those cvars must be set from the campaign file properly\r
3 // this is only for scripts and other commands you wish to run for a given level\r
4 \r
5 // ----------------------------------------------------------------\r
6 // Automated chat bot code:\r
7 // ----------------------------------------------------------------\r
8 \r
9 // this is a chat bot system, used in campaign levels to simulate dialogues between the player and bots\r
10 // it only makes the player automatically speak certain messages, just like manually be typing them\r
11 // eg. In a campaign level where you try to advance to the next area, you can make the script say "Bot: I will not let you pass!"\r
12 // that does print "My-Playername: Bot: message", but it's the best this script can do\r
13 \r
14 // chat script settings\r
15 set chatbot_msg_count 16 "number of messages (chatbot_msg_# cvars)"\r
16 set chatbot_msg_time 20 "each message is posted after this many seconds"\r
17 set chatbot_tmp_counter 0 "chatbot system variable, used to cycle the messages (do not set this manualy)"\r
18 \r
19 // chat script messages\r
20 set chatbot_msg_0 "^2Self: ^7Ok. While I'm feasting on these goons, I want to know what's going on here. What is this place, why was I locked here? Who is the Vore Princess? Not to mention you, and why am I hearing you in my head?"\r
21 set chatbot_msg_1 "^6Voice in your mind: ^7There is a lot to say on the matter. You were captured by the soldiers of the Vore Princess, and locked into the basement of this facility. Your purpose was to be food for the local manager."\r
22 set chatbot_msg_2 "^2Self: ^7I was about to be... served as live food? I guess it doesn't surprise me any more. But... who unlocked the cell door and let me escape?"\r
23 set chatbot_msg_3 "^6Voice in your mind: ^7I don't know. Someone let you escape, but we don't know who and why. I only sensed that you're the only one who can stop the Vore Princess before it's too late, which is why I decided to contact you."\r
24 set chatbot_msg_4 "^2Self: ^7Hmm, ok. Who is this Vore Princess I keep hearing of? Who are YOU?"\r
25 set chatbot_msg_5 "^6Voice in your mind: ^7I am a powerful spirit, who wishes to protect this world from the curse known as vore. A vixen managed to uncover its ancient spell before I could do anything about it. She is the Vore Princess."\r
26 set chatbot_msg_6 "^6Voice in your mind: ^7She's granted the power of vore to her entire army, and plans to release it upon the world! That would allow anyone to swallow somebody else. Just like you and those guards, which would be a disaster!"\r
27 set chatbot_msg_7 "^2Self: ^7Wow. Then she must be stopped! As fascinating as this vore seems to be, unleashing such power would be a true tragedy! Still, what's keeping her from doing it right now?"\r
28 set chatbot_msg_8 "^6Voice in your mind: ^7I'm glad you agree with me. As for what's keeping her, all I know is that she's missing a final key to do this. We don't know what it is she needs, but we'd best stop her before she finds it."\r
29 set chatbot_msg_9 "^6Voice in your mind: ^7Please. You must stop the Vore Princess. You're the only one strong enough for this mission. We can't allow her to unleash vore... it is something we just cannot allow."\r
30 set chatbot_msg_10 "^2Self: ^7I'll do my best. I will make my way to her location and stop her before her plan is completed! Even if I'll have to use the power of vore myself to do this."\r
31 set chatbot_msg_11 "^1Dark guard 1: ^7Can't any of the local guards give us a paw here? This intruder is more powerful than I thought!"\r
32 set chatbot_msg_12 "^1Guard 2: ^7God! This one has a damn strong digestion. We need more backup, now! Regroup!"\r
33 set chatbot_msg_13 "^2Self: ^7Shut up you stupid guard! Now I know who you work for and what you're trying to do. I will stop you and your Princess no matter what it takes!"\r
34 set chatbot_msg_14 "^1Guard 1: ^7I think she's trying to reach the teleporter! Secure the damn teleporter! And warn the guards on Gasoline Powered about this immediately!"\r
35 set chatbot_msg_15 "^1Dark guard 2: ^7Calling the Gasoline Powered patrol! If you receive this message, we have a prisoner on the loose at the slime facility, trying to get to your location. Stay on guard!"\r
36 \r
37 // chat script system\r
38 alias chatbot_count "qc_cmd rpn /chatbot_tmp_counter chatbot_tmp_counter 1 add $chatbot_msg_count mod def"\r
39 alias chatbot_say "say ${$1}"\r
40 alias chatbot_do "chatbot_say chatbot_msg_$chatbot_tmp_counter;chatbot_count"\r
41 alias chatbot_loop "chatbot_do;defer $chatbot_msg_time chatbot_loop"\r
42 \r
43 // kill the chat script when the match ends\r
44 alias cl_hook_campaign_gameend "alias chatbot_loop \"\""\r
45 \r
46 // start the chat script\r
47 defer $chatbot_msg_time chatbot_loop\r
48 \r
49 // ----------------------------------------------------------------\r
50 // End of automated chat bot code.\r
51 // ----------------------------------------------------------------