// 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 24 "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 "^3Snack: ^7Oh cool space station! But I'm afraid to use these jump paaaaaaads!" set chatbot_msg_1 "^1Space patrol 1: ^7There they are! Get them!" set chatbot_msg_2 "^3Silver: ^7Heh, at least this is going to be fun. We need a strategy however. Some of us must defend our flag, while others get the enemy's. So let's watch each other closely ok?" set chatbot_msg_3 "^2Self: ^7I'm on it. Just be careful not to fall, it's more dangerous here than on Soylent!" set chatbot_msg_4 "^1Space patrol 2: ^7Get ready to become poo! You're not getting past us like you got past the other guards!" set chatbot_msg_5 "^3Snack: ^7I'm afraid you're the one who's going to become my poo. You can't defeat all of us together, na na nanana!" set chatbot_msg_6 "^3Mystic: ^7Shut up Snack! I'm going for the flag, we have no time to waste! May the light guide us." set chatbot_msg_7 "^1Space patrol 3: ^7Here food! Nice food! Come to your tummy, hehe!" set chatbot_msg_8 "^1Space patrol 4: ^7Murr... it felt so good to have you digesting in there. Please come back again, my stomach isn't satisfied yet." set chatbot_msg_9 "^3Mystic: ^7Someone friggin get this green goo off me! I can't stand being covered in digested food! God!" set chatbot_msg_10 "^3Snack: ^7I actually like that Mystic. Can I try? Sorry just kidding." set chatbot_msg_11 "^3Silver: ^7Quiet you two. I'm seeing guards approaching our base again, get ready!" set chatbot_msg_12 "^1Space patrol 4: ^7I can't stand disobedient food. Come here you!" set chatbot_msg_13 "^3Silver: ^7We are no one's food, we are living beings. At least have the courtesy to show some respect!" set chatbot_msg_14 "^1Space patrol 4: ^7Is that what you believe? Then you're wrong! Everyone is food, it is their purpose. That's the first thing the Vore Princess taught us." set chatbot_msg_15 "^3Silver: ^7Your Princess is not thinking straight. She needs help. I have nothing against the concept of vore, but I stand against innocents being harmed." set chatbot_msg_16 "^1Space patrol 4: ^7One needs food to survive you idiot! The Vore Princess uncovered a way to make this process pleasant. The stomach has many uses, but you fools don't know a thing." set chatbot_msg_17 "^3Mystic: ^7Enough talk! I can sense magnetic pressure. The teleporter will soon go off... keep taking the flags!" set chatbot_msg_18 "^1Space patrol 3: ^7Didn't you wonder why none of us are afraid to die? We know that whatever happens, we become food, and end up in the stomach. Be it yours, even if you are our enemies." set chatbot_msg_19 "^1Space patrol 3: ^7If we loose, we become your food. If we win, we still get to serve the stomach of the Vore Princess later. So whatever happens, we are content." set chatbot_msg_20 "^3Silver: ^7If you enjoy being digested, that is your thing. But no one else needs to suffer because of it." set chatbot_msg_21 "^1Space patrol 3: ^7Each with their own beliefs sweetie. Mine are that everyone belongs in another's stomach. If they don't go inside willingly, then they shall be dragged inside!" set chatbot_msg_22 "^1Space patrol 3: ^7The stomach shall be one's last prison. Shame some people are too stupid to enjoy their last moments in such a place. Regardless, that place is where you're all going." set chatbot_msg_23 "^2Self: ^7You are free to believe what you want. But we won't allow you to ruin a whole world with your beliefs. If you and your leader will not stop, we will have to stop you." // 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. // ----------------------------------------------------------------