// per-campaign-level configuration file. Used to execute scripts and other commands for campaign levels // do NOT attempt to set cvars here! Those cvars must be set from the campaign file properly // this is only for scripts and other commands you wish to run for a given level // ---------------------------------------------------------------- // Automated chat bot code: // ---------------------------------------------------------------- // this is a chat bot system, used in campaign levels to simulate dialogues between the player and bots // it only makes the player automatically speak certain messages, just like manually be typing them // 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!" // that does print "My-Playername: Bot: message", but it's the best this script can do // chat script settings set chatbot_msg_count 26 "number of messages (chatbot_msg_# cvars)" set chatbot_msg_time 20 "each message is posted after this many seconds" set chatbot_tmp_counter 0 "chatbot system variable, used to cycle the messages (do not set this manualy)" // chat script messages set chatbot_msg_0 "^2Self: ^7What's happening here? It seems the guards and the dark guards turned against each other since my last visit." set chatbot_msg_1 "^1Rebelled Guard 1: ^7The Vore Princess has lied to you! She has lied to us all! We will make our own vore kingdom, and you and your Princess can burn in our stomachs!" set chatbot_msg_2 "^1Dark guard 1: ^7We will not let you get in the Vore Princess's way! Guards or not, if you turn against the princess you turn against us!" set chatbot_msg_3 "^3Silver: ^7Yep. It seems the guards and dark guards are at war. This will make things easier for us, if they keep fighting each other." set chatbot_msg_4 "^1Dark guard 2: ^7Hey! The escaped prisoners from Soylent are here! We don't have time for this, get them!" set chatbot_msg_5 "^1Rebelled Guard 1: ^7Oh aren't they? Then they will be our meal, not yours or the Vore Princess's! Get those intruders now!" set chatbot_msg_6 "^1Dark guard 1: ^7I believe not. The prisoners here are our food! You are just some local guards! No one touches the Vore Princess's food!" set chatbot_msg_7 "^1Rebelled Guard 2: ^7This facility is ours! The prisoners here are OUR food! And so are you dark guards, due to your refusal to obey." set chatbot_msg_8 "^3Mystic: ^7How dare they fight over us like we're some soup in their bowl! We will finsih all of you off!" set chatbot_msg_9 "^6Voice in your mind: ^7We don't have time for this. Get all three keys and unlock the main door, then advance to the yard of this facility." set chatbot_msg_10 "^1Dark guard 1: ^7Has the Vore Princess not given you guards everything you wanted? Is the will to be more powerful stronger than your love for her?" set chatbot_msg_11 "^1Rebelled Guard 2: ^7The Vore Princess is nobody! We are better than her! She will die at the jaws of someone sooner or later, she is not higher than any of us!" set chatbot_msg_12 "^1Dark guard 1: ^7Can't we stop this fight? These intruders are eating us one by one! Get ready to die!" set chatbot_msg_13 "^1Rebelled Guard 2: ^7The intruders are our food, and will die by our stomach. Someone take care of them, while I finish dealing with those stupid dark guards." set chatbot_msg_14 "^3Snack: ^7Oooo... I like where this is going. I've been waiting for the day when a guard will eat another guard. And not for the purpose of team healing either." set chatbot_msg_15 "^1Dark guard 1: ^7Kill the local guards, now! And those prisoners! No one will get in the Vore Princess's way!" set chatbot_msg_16 "^1Rebelled Guard 1: ^7Get in my belly you intruders! You'll be joining the dark guards there for a while, digesting together." set chatbot_msg_17 "^1Dark guard 2: ^7Surrender your selves intruders! Trust me, it's better to die by our stomachs than those of these demented guards!" set chatbot_msg_18 "^2Self: ^7Neither of you are going eat us. You'd better get ready to be our next meal instead! My stomach still hungers badly, and all of you are welcome in it." set chatbot_msg_19 "^1Dark guard 1: ^7Get out of my way guard! These prisoners are OUR food! They belong to US!" set chatbot_msg_20 "^1Rebelled Guard 1: ^7This food belongs to the local guards! If you don't like it, die!" set chatbot_msg_21 "^3Mystic: ^7We are not 'this food'! That's it, I've had enough of these insults!" set chatbot_msg_22 "^3Snack: ^7So... who's snack am I gonna be then? The guards or the dark guards? Uuh... I hope no one's." set chatbot_msg_23 "^6Voice in your mind: ^7Get the keys and leave this facility! I'm sensing more riots between the guards and the dark guards. You don't wanna be caught in the middle." set chatbot_msg_24 "^3Silver: ^7The Guardian is right. We don't wanna be caught in their fight. We need to get out of here as quickly as possible." set chatbot_msg_25 "^3Mystic: ^7Do you think I'm not trying? I wanna get out of here too! I've been in three different stomachs already!" // chat script system alias chatbot_count "qc_cmd rpn /chatbot_tmp_counter chatbot_tmp_counter 1 add $chatbot_msg_count mod def" alias chatbot_say "say ${$1}" alias chatbot_do "chatbot_say chatbot_msg_$chatbot_tmp_counter;chatbot_count" alias chatbot_loop "chatbot_do;defer $chatbot_msg_time chatbot_loop" // kill the chat script when the match ends alias cl_hook_campaign_gameend "alias chatbot_loop \"\"" // start the chat script defer $chatbot_msg_time chatbot_loop // ---------------------------------------------------------------- // End of automated chat bot code. // ----------------------------------------------------------------