From fc0d1def40fb57ec323276b161e832d7902d67b6 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 2 Sep 2011 17:00:24 +0200 Subject: [PATCH] update .ent file too --- scripts/entities.def2ent | 2 +- scripts/entities.ent | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/entities.def2ent b/scripts/entities.def2ent index bf947108..2ade9938 100755 --- a/scripts/entities.def2ent +++ b/scripts/entities.def2ent @@ -11,7 +11,7 @@ open my $fh, '<', '../../xonotic-data.pk3dir/qcsrc/server/qc.asm' while(<$fh>) { chomp; - if(/^\.(\w+) (\w+);$/) + if(/^\.(\w+) (\w+);(?: \/\* at .* \*\/)$/) { if($1 eq "float") { diff --git a/scripts/entities.ent b/scripts/entities.ent index f5179a30..192c687c 100644 --- a/scripts/entities.ent +++ b/scripts/entities.ent @@ -1933,12 +1933,12 @@ Should target a target_position, or be targeted by a misc_warpzone_position. Should be thick enough to fit a player entity (i.e. 32 units), preferably even thicker. -------- KEYS -------- must point to another trigger_warpzone, or... +must be pointed to by another trigger_warpzone. Should be pointed to by a misc_warpzone_position entity, or... +should point to a target_position entity. is triggered when a player ENTERS the warpzone (and warps away) is triggered when a player LEAVES the warpzone (from the other warp zone to this one) is triggered in both cases instead of triggering ALL matched entities, trigger ONE of them by random -must be pointed to by another trigger_warpzone. Should be pointed to by a misc_warpzone_position entity, or... -should point to a target_position entity, or start distance of fading out the warpzone end distance of fading out the warpzone (if viewer is further, warpzone is not rendered at all) -------- SPAWNFLAGS -------- -- 2.39.2