+// per-campaign-level configuration file. Used to execute scripts and other commands for campaign levels\r
+// do NOT attempt to set cvars here! Those cvars must be set from the campaign file properly\r
+// this is only for scripts and other commands you wish to run for a given level\r
+\r
+// ----------------------------------------------------------------\r
+// Automated chat bot code:\r
+// ----------------------------------------------------------------\r
+\r
+// this is a chat bot system, used in campaign levels to simulate dialogues between the player and bots\r
+// it only makes the player automatically speak certain messages, just like manually be typing them\r
+// 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
+// that does print "My-Playername: Bot: message", but it's the best this script can do\r
+\r
+// chat script settings\r
+set chatbot_msg_count 30 "number of messages (chatbot_msg_# cvars)"\r
+set chatbot_msg_time 20 "each message is posted after this many seconds"\r
+set chatbot_tmp_counter 0 "chatbot system variable, used to cycle the messages (do not set this manualy)"\r
+\r
+// chat script messages\r
+set chatbot_msg_0 "^3Mystic: ^7Finally. The Vore Princess's castle. We must make our way past her knights, and reach the inside of the castle. She is waiting for us there... for the final battle."\r
+set chatbot_msg_1 "^1Fox knight 1: ^7We fox knights are well trained warriors, and very close to the Vore Princess. We don't have much to say to you. We only fight, not talk."\r
+set chatbot_msg_2 "^1Fox knight 2: ^7We practice vore as an art, and our training is considerable. This fight shall decide who the best warrior is."\r
+set chatbot_msg_3 "^6Voice in your mind: ^7You are nearing your destiny. The Vore Princess is further inside this castle. Destroy her at all costs, as you have been ordered to."\r
+set chatbot_msg_4 "^2Self: ^7Ordered to? Excuse my ignorance, Guardian, but we also do this because we want to. We wish to do what is right."\r
+set chatbot_msg_5 "^6Voice in your mind: ^7Ha ha ha. Yes... what is right. You are about to do what is right, don't worry. You are about to destroy the Vore Princess, heart of all evil."\r
+set chatbot_msg_6 "^3Snack: ^7Erm... I really can't say much on the matter. But all of a sudden, something smells fishy about this whole thing."\r
+set chatbot_msg_7 "^6Voice in your mind: ^7You have your orders to destroy the Vore Princess. You will complete your objective no matter what! There's no turning back for you now."\r
+set chatbot_msg_8 "^6Voice in your mind: ^7From this point on, you no longer need me. Goodbye. It was nice doing business with you."\r
+set chatbot_msg_9 "^2Self: ^7What? Guardian, where are you going? What is the meaning of this? Please, answer! Where did you go?"\r
+set chatbot_msg_10 "^3Mystic: ^7I can't believe what I just heard! Why is the Guardian treating us like this all of a sudden? What's gotten into him?"\r
+set chatbot_msg_11 "^3Silver: ^7Something's not right about this. The Guardian's behavior is hiding something. But we are too close, we can't turn back now. We must go on even without his help."\r
+set chatbot_msg_12 "^2Self: ^7The guardian has been with us for all this time. Why is she leaving us now? Why is she acting this way toward us?"\r
+set chatbot_msg_13 "^3Silver: ^7I have a feeling the Guardian does not care for us as much as we thought he did. Even if we share the same objective of destroying the Vore Princess."\r
+set chatbot_msg_14 "^3Mystic: ^7Something is not right here. I'm trying to use my astral senses to see what's happening. I don't understand much yet, but things are not what we thought they are."\r
+set chatbot_msg_15 "^3Snack: ^7What do you mean things are not what we thought they are? Weren't we sent here by the Guardian to destroy the Vore Princess? What's so unclear about that?"\r
+set chatbot_msg_16 "^3Silver: ^7Things aren't always what they seem like, Snack. In every war there are hidden interests, and turns of the most unexpected."\r
+set chatbot_msg_17 "^3Mystic: ^7Ok everyone. I don't know how to say this... but I'm sensing something here. There's something behind the Guardian. Something... dark. Something evil..."\r
+set chatbot_msg_18 "^2Self: ^7The Guardian? Evil? But... she guided and helped us all this way. She was with us at every step! I..."\r
+set chatbot_msg_19 "^3Silver: ^7We must accept any new information that surfaces out. Trust me. I am a warrior, and have fought many battles. We will proceed without the Guardian's help from here on."\r
+set chatbot_msg_20 "^3Mystic: ^7Yes. This does not change our mission of destroying the Vore Princess. Everything will go as planned."\r
+set chatbot_msg_21 "^3Snack: ^7Damn right we won't! That Princess has no idea what's coming her way!"\r
+set chatbot_msg_22 "^3Silver: ^7I fear things may not be as easy. But yes, the Princess is our main concern for the time being."\r
+set chatbot_msg_23 "^2Self: ^7Just why? Why did the Guardian leave us when we are so close to completing our objective? What is it that we don't know?"\r
+set chatbot_msg_24 "^3Mystic: ^7I don't know yet, but I intend to find out. We will clear things with the Guardian after the Vore Princess has been defeated."\r
+set chatbot_msg_25 "^1Fox knight 3: ^7Ugh! You are powerful foes, just like the Vore Princess warned us. We salute your mastery in using the art of vore, even as your sworn enemies."\r
+set chatbot_msg_26 "^3Snack: ^7Thank you fox knight! But this doesn't change our objective of eating you all up and infiltrating the castle."\r
+set chatbot_msg_27 "^1Fox knight 1: ^7We'll give all we've got to stop you. But if we fail, you were better than us. We have been caught and eaten fairly and honorably."\r
+set chatbot_msg_28 "^3Mystic: ^7At least you knights have honor. A rare thing for vore loving brutes!"\r
+set chatbot_msg_29 "^1Fox knight 2: ^7Most vore training is based on honor. It's how our Princess has taught us to fight. Sadly, some warriors loose their honor once they have the power."\r
+\r
+// chat script system\r
+alias chatbot_count "qc_cmd rpn /chatbot_tmp_counter chatbot_tmp_counter 1 add $chatbot_msg_count mod def"\r
+alias chatbot_say "say ${$1}"\r
+alias chatbot_do "chatbot_say chatbot_msg_$chatbot_tmp_counter;chatbot_count"\r
+alias chatbot_loop "chatbot_do;defer $chatbot_msg_time chatbot_loop"\r
+\r
+// kill the chat script when the match ends\r
+alias cl_hook_campaign_gameend "alias chatbot_loop \"\""\r
+\r
+// start the chat script\r
+defer $chatbot_msg_time chatbot_loop\r
+\r
+// ----------------------------------------------------------------\r
+// End of automated chat bot code.\r
+// ----------------------------------------------------------------
\ No newline at end of file