// 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 12 "number of messages (chatbot_msg_# cvars)" set chatbot_msg_time 17.5 "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: ^7God! I have never felt so hungry in my entire life! I feel like I could eat... anything! I need... to eat..." 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!" 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." set chatbot_msg_3 "^1Dark guard 2: ^7I see you've 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." 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." 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." set chatbot_msg_6 "^1Dark guard 2: ^7Watch it! This one seems to be mastering the art of vore pretty well already!" set chatbot_msg_7 "^1Dark guard 3: ^7You are no match for us! We've been practicing vore for years, you are just a newbie!" set chatbot_msg_8 "^2Self: ^7Wait... huh? Did I just see the guards eat each other? Why are they doing this?" 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 harm. Remember this for the time you'll have allies." 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!" set chatbot_msg_11 "^1Dark guard 3: ^7Hey! Can you please swallow me? I think I'm hurt... I need healing." // 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. // ----------------------------------------------------------------