X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fentities.ent;h=944a2abfeb8172513e336d40c0f45b1765c7db8b;hp=0827c12e148b8d8d59db16c58498ae1f8a359a8a;hb=aeeec0e420261a4839732689fe5103063f875dd7;hpb=a7c64d5f696d3b6bd37f9eda4252b8c038c0cba2 diff --git a/scripts/entities.ent b/scripts/entities.ent index 0827c12e..944a2abf 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -130,6 +130,7 @@ When a button is touched by a player, it moves in the direction set by the " (default 0) if set to any non-zero value, the button must take damage (any amount) to activate. -------- SPAWNFLAGS -------- if set, splash damage cannot activate the door, only direct damage can (requires health to be set) +if set, all the damage needs to be done in one hit (requires health to be set) @@ -433,6 +434,12 @@ Pink team's player spawning location, but there is no game mode to use this yet. when 1, only bots can spawn here; when 2, only humans can spawn here (be careful with these, or the game will crash because someone cannot spawn) + +Acts as a checkpoint to re-spawn at +-------- KEYS -------- +when targeted, this will set the activator's spawn point temporarily to this entity. It is reset upon re-spawn. + + Large Armor (default 100 armor points) -------- KEYS -------- @@ -508,7 +515,7 @@ modeldisabled="models/items/a_bullets.md3" -Nex, Electro and Crylink ammo +Vortex, Electro and Crylink ammo -------- KEYS -------- cells gained by this item (if unset, g_pickup_cells is used) time till it respawns (default: 15) @@ -634,7 +641,7 @@ Small Health (default 5 health points) modeldisabled="models/items/g_h1.md3" - + Strong Shield In Instagib, this randomly turns into either an invisibility, an extra lives or a speed power-up with a default respawn time of 120. -------- KEYS -------- @@ -701,10 +708,10 @@ GOLD key. Don't use this entity on new maps! Use item_key instead. - + Instagib ammo. Always contains 5 (g_instagib_ammo_drop) shots. -It only appears when playing Instagib and prevents auto-replacement of weapon_nex & weapon_rocketlauncher when used. +It only appears when playing Instagib and prevents auto-replacement of weapon_vortex & weapon_devastator when used. -------- KEYS -------- time till it respawns (default: 45) respawn time randomization +/- seconds (default: 0) @@ -1366,7 +1373,7 @@ the Electro modeldisabled="models/weapons/g_electro.md3" - + the Mortar -------- KEYS -------- initial rockets of the weapon (if unset, g_pickup_rockets is used) @@ -1409,9 +1416,9 @@ in your mapinfo file, everyone will already spawn with one, making this pickup u modeldisabled="models/weapons/g_laser.md3" - -the Nex -In Instagib, this turns into an item_minst_cells if no explicit item_minst_cells have been placed. + +the Vortex +In Instagib, this turns into an item_vaporizer_cells if no explicit item_vaporizer_cells have been placed. -------- KEYS -------- initial cells of the weapon (if unset, g_pickup_cells is used) time till it respawns (default: 15 * g_balance_nex_respawntime_modifier) @@ -1424,7 +1431,7 @@ In Instagib, this turns into an item_minst_cells if no explicit item_minst_cells modeldisabled="models/weapons/g_nex.md3" - + the Rocket Launcher In Instagib, this turns into an item_minst_cells if no explicit item_minst_cells have been placed. -------- KEYS -------- @@ -1609,6 +1616,29 @@ Triggers once when the game starts, then no longer does anything. wait so many seconds before triggering + +A brush that when entered changes the player's view to a position between target and target2, useful for side-scrolling stages +-------- KEYS -------- +should point to a target_viewlocation_start entity +should point to a target_viewlocation_end entity +-------- SPAWNFLAGS -------- +allow regular aiming and movement while forcing the camera between the viewlocation points +show a crosshair on screen and allow 2d aiming instead of only forward +allow moving up and down as well in side-scrolling mode, useful for brawlers + + + +Starting position for the area of viewing in a view location area, viewing position is bounded between this and a target_viewlocation_end +-------- KEYS -------- +the trigger_viewlocation should point its target to this. + + + +Ending position for the view location area, should be higher up but on the same plane as the target_viewlocation_start +-------- KEYS -------- +the trigger_viewlocation should point its target2 to this. + + Makes one entity follow another. Will not work with all entities. -------- KEYS --------