See the appropriate section below to determine what to enter for this value. If you have set your door to the "move" type, you do not need this KVP. The script_angles key is only needed for "rotation" type doors."rotate" will make this a swinging door, and "move" will make this a sliding door. The script_string key can only have two values: "rotate" and "move" (without quotes).Select the door script_brushmodel(s) or script_model(s) and give them the following KVP's: If you would not like any sound to be played other than the purchase noise, use "none" (without quotes) for the soundalias name. If you would like to use a custom sound, set the script_sound key and replace '' with a valid soundalias name. By default, "door_slide_open" is played when a door opened.If you would like the door to be un-buyable until the power-switch is activated, set the script_noteworthy and replace " with "electric_door" (without quotes). By default, doors can be opened regardless of the power-switch status on the map.If you would like to set a custom price, set the zombie_cost key and replace '' with a numerical value. By default, zombie_cost sets itself to 1000.This is not specifically needed if the door doesn't lead to a new zone. script_flag's value should be set to the zone name the door unlocks.Items highlighted in green are optional.Select the trigger_use brush(es) and give them the following KVP's: You should see the KVP appear in the entity's KVP table (located above the Key text field). Press the Enter key on your keyboard to save the KVP to the entity. Enter the second value (this is the Value) into the text field labaled "Value".Enter the first value (this is the Key) into the text field labeled "Key".Select the entity by holding the Shift key on your keyboard followed by clicking the entity(ies) that you wish to add a KVP to.This character should be ignored when entering the Key-Value Pair. Note they are separated by a pipe ( | ) character. This is BAD and will likely cause your map to crash while loading! In these pages, KVP's are referred to in this format: Key | Value. If you do not have an entity selected, Radiant will automatically add the KVP to the "worldspawn" entity. When entering a KVP in the Radiant Entity Window, ensure that you have the entity selected first. NOTE: KVP is an abbreviation for "Key-Value Pair".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |