]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/maps/campaign_voretournament_3.cfg
b35fc22b3c7be5598e41ad08f8dbfa4d16d50b45
[voretournament/voretournament.git] / data / maps / campaign_voretournament_3.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 12 "number of messages (chatbot_msg_# cvars)"\r
16 set chatbot_msg_time 17.5 "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: ^7God! I have never felt so hungry in my entire life! I feel like I could eat... anything! I need... to eat..."\r
21 set chatbot_msg_1 "^6Voice in your mind: ^7Hold your urge under control, or it will turn you into a devourer! You must only use vore to defeat your enemies, never for your own pleasure!"\r
22 set chatbot_msg_2 "^1Dark guard 1: ^7So, it seems the local guards were not able to stop you. Fear not... we Dark guards will not be as forgiving."\r
23 set chatbot_msg_3 "^1Dark guard 2: ^7I see you unlocked your power of vore. Too bad you'll be taking a one way trip to my belly before you'll get to use it."\r
24 set chatbot_msg_4 "^2Self: ^7It's hard... to hold my urge. I need to feel them... churning in my stomach. I need to feel everything... in there."\r
25 set chatbot_msg_5 "^6Voice in your mind: ^7If you don't control your urge to eat, you'll end up like the Vore Princess, our sworn enemy. She eats people for pleasure, regardless of who they are."\r
26 set chatbot_msg_6 "^1Dark guard 2: ^7Watch it! This one seems to be mastering the art of vore pretty well already!"\r
27 set chatbot_msg_7 "^1Dark guard 3: ^7You are no match for us! We have been practicing vore for years, you are just a newbie!"\r
28 set chatbot_msg_8 "^2Self: ^7Wait... huh? Did I just see the guards... eat each other? Why are they doing this?"\r
29 set chatbot_msg_9 "^6Voice in your mind: ^7The guards eat each other to heal their selves. A friend can use their stomach to heal, just like they can use it to digest. Remember this for the time you'll have allies."\r
30 set chatbot_msg_10 "^1Dark guard 1: ^7This has gone too far! Finish this idiot off already! The Vore Princess has bigger tasks for us!"\r
31 set chatbot_msg_11 "^1Dark guard 3: ^7Hey! Can you please swallow me? I think I'm hurt... I need healing!"\r
32 \r
33 // chat script system\r
34 alias chatbot_count "qc_cmd rpn /chatbot_tmp_counter chatbot_tmp_counter 1 add $chatbot_msg_count mod def"\r
35 alias chatbot_say "say ${$1}"\r
36 alias chatbot_do "chatbot_say chatbot_msg_$chatbot_tmp_counter;chatbot_count"\r
37 alias chatbot_loop "chatbot_do;defer $chatbot_msg_time chatbot_loop"\r
38 \r
39 // kill the chat script when the match ends\r
40 alias cl_hook_campaign_gameend "alias chatbot_loop \"\""\r
41 \r
42 // start the chat script\r
43 defer $chatbot_msg_time chatbot_loop\r
44 \r
45 // ----------------------------------------------------------------\r
46 // End of automated chat bot code.\r
47 // ----------------------------------------------------------------