From: Spike29 Date: Wed, 14 Aug 2024 17:45:31 +0000 (+0200) Subject: Change key types from "model" to "string" for several entities, this allows NetRadian... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=568ebd52aa011a0b2576bffc1229d043a15c3d50;p=xonotic%2Fxonotic-maps.pk3dir.git Change key types from "model" to "string" for several entities, this allows NetRadiant-custom to display the entity's box instead of a null model when this key is left blank (which is the case most of the time) --- diff --git a/scripts/entities.ent b/scripts/entities.ent index 9200ae46..7c69afb1 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -43,7 +43,7 @@ model should be set to models/domination/dom_<team>.md3, where <team> -------- KEYS -------- name of team (Red Team). Set to "" or don't define for the required blank team. color of the team. See the "Helpful Extras" section in Docs/mapping.txt for info. -When this team captures control points, the points turn to this model. If this is the neutral team, points start out as this model. +When this team captures control points, the points turn to this model. If this is the neutral team, points start out as this model. Sound to be played on the control point when it's captured. Only players nearby will hear it. Sound to be played to all players when the control point is captured. Also good for an announcer voice ("Red Team has captured a control point") @@ -471,7 +471,7 @@ Mega Armor (default 100 armor points) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -492,7 +492,7 @@ Big Armor (default 50 armor points) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -513,7 +513,7 @@ Medium Armor (default 25 armor points) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -534,7 +534,7 @@ Small Armor (default 5 armor points) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -554,7 +554,7 @@ Machine Gun ammo out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -573,7 +573,7 @@ Vortex, Electro and Crylink ammo out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -586,7 +586,7 @@ modeldisabled="models/items/a_cells.md3" CTF flag for team one (Red). Use more than one if you really insist. -------- KEYS -------- -model to use +model to use scaling factor (DO set this when using your own model!) sound played when flag is picked up sound played when flag is returned @@ -599,7 +599,7 @@ zbqry="zbqryf/pgs/enqvnag/synt_erq_enqvnag.zq3" CTF flag for team two (Blue). Use more than one if you really insist. -------- KEYS -------- -model to use +model to use scaling factor (DO set this when using your own model!) sound played when flag is picked up sound played when flag is returned @@ -612,7 +612,7 @@ zbqry="zbqryf/pgs/enqvnag/synt_oyhr_enqvnag.zq3" CTF flag for team three (Yellow). Use more than one if you really insist. -------- KEYS -------- -model to use +model to use scaling factor (DO set this when using your own model!) sound played when flag is picked up sound played when flag is returned @@ -625,7 +625,7 @@ zbqry="zbqryf/pgs/enqvnag/synt_erq_enqvnag.zq3" CTF flag for team four (Pink). Use more than one if you really insist. -------- KEYS -------- -model to use +model to use scaling factor (DO set this when using your own model!) sound played when flag is picked up sound played when flag is returned @@ -645,7 +645,7 @@ Big Health (default 50 health points) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -666,7 +666,7 @@ Medium Health (default 25 health points) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -688,7 +688,7 @@ In Instagib, this randomly turns into either an invisibility, an extra lives or out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -709,7 +709,7 @@ Small Health (default 5 health points) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -729,7 +729,7 @@ In Instagib, this randomly turns into either an invisibility, an extra lives or out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -748,7 +748,7 @@ Faster movement and shooting out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -767,7 +767,7 @@ Low visibility out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -794,7 +794,7 @@ Keys with bigger Id than 32 don't have a default netname and model, if you use o color of the key (default: '.9 .9 .9'). a key Id. message to print when player picks up this key. -custom key model to use. +custom key model to use. the display name of the key. custom sound to play when player picks up the key. -------- SPAWNFLAGS -------- @@ -811,7 +811,7 @@ SILVER key. -----------KEYS------------ color of the key (default: '.9 .9 .9'). message to print when player picks up this key. -custom model to use. +custom model to use. custom sound to play when player picks up the key. -------- SPAWNFLAGS -------- the item will float in air, instead of aligning to the floor by falling @@ -824,7 +824,7 @@ GOLD key. -----------KEYS------------ color of the key (default: '1 .9 0'). message to print when player picks up this key. -custom model to use. +custom model to use. custom sound to play when player picks up the key. -------- SPAWNFLAGS -------- the item will float in air, instead of aligning to the floor by falling @@ -844,7 +844,7 @@ It only appears when playing Instagib and prevents auto-replacement of weapon_vo out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -863,7 +863,7 @@ Devastator, Hagar and Mortar ammo out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -882,7 +882,7 @@ Shotgun ammo out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -901,7 +901,7 @@ In Instagib, this randomly turns into either an invisibility, an extra lives or out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1524,7 +1524,7 @@ the Crylink out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1544,7 +1544,7 @@ the Electro out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1564,7 +1564,7 @@ the Mortar out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1584,7 +1584,7 @@ the Hagar out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1605,7 +1605,7 @@ in your mapinfo file, everyone will already spawn with one, making this pickup u out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1626,7 +1626,7 @@ In Instagib, this turns into an item_vaporizer_cells if no explicit item_vaporiz out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1647,7 +1647,7 @@ In Instagib, this turns into an item_vaporizer_cells if no explicit item_vaporiz out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1669,7 +1669,7 @@ in your mapinfo file, everyone will already spawn with one, making this pickup u out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1689,7 +1689,7 @@ the Machine Gun out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1709,7 +1709,7 @@ the Arc (experimental weapon) out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1947,7 +1947,7 @@ the InstaGib Vortex. Always kills with one shot. out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -1967,7 +1967,7 @@ Portals cannot be made on noimpact surfaces, and the portal missile will bounce out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -2160,7 +2160,7 @@ the Heavy Laser Assault Cannon. out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -2180,7 +2180,7 @@ the Mine Layer. out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -2201,7 +2201,7 @@ the T.A.G. Seeker. out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -2221,7 +2221,7 @@ the on-hand Grappling Hook. out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -2263,7 +2263,7 @@ the Sniper Rifle. out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -2505,7 +2505,7 @@ When the ball touches this, it is returned. The soccer type Nexball. -------- KEYS -------- -set this if you want to use your own model +set this if you want to use your own model if you're using your own model, change this to scale it to 32*32*32 played when the ball bounces played when the ball is dropped on the map @@ -2514,7 +2514,7 @@ The soccer type Nexball. The basketball type Nexball. -------- KEYS -------- -set this if you want to use your own model +set this if you want to use your own model if you're using your own model, change this to scale it to 32*32*32 played when the ball bounces played when the ball is dropped on the map @@ -2557,7 +2557,7 @@ Jetpack out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS -------- @@ -2603,7 +2603,7 @@ the Fireball out of items with the same value here, only one (random one) will spawn. Useful to put multiple items on one spot. weight of this item for random selection using "team". Set to a lower value for items you want to see less likely. sound played when the item is collected, leave blank to use the item's regular sound -model to use, leave blank to use the item's regular model +model to use, leave blank to use the item's regular model number of skin to load when targeted and with TARGETED spawnflag set item will be given to the activator -------- SPAWNFLAGS --------