From: Rudolf Polzer Date: Fri, 2 Sep 2011 15:00:24 +0000 (+0200) Subject: update .ent file too X-Git-Tag: xonotic-v0.5.0~23 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fc0d1def40fb57ec323276b161e832d7902d67b6;p=xonotic%2Fxonotic-maps.pk3dir.git update .ent file too --- 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 --------