From 120e8c34c1b111b4a6becbec77f9d83e80ac6a0c Mon Sep 17 00:00:00 2001 From: div0 Date: Wed, 2 Jul 2008 09:53:48 +0000 Subject: [PATCH] this never worked and the wiki works better anyway git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3755 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/merge-entities-def.pl | 43 ------------------------- 1 file changed, 43 deletions(-) delete mode 100644 data/qcsrc/server/merge-entities-def.pl diff --git a/data/qcsrc/server/merge-entities-def.pl b/data/qcsrc/server/merge-entities-def.pl deleted file mode 100644 index fc6cb9461..000000000 --- a/data/qcsrc/server/merge-entities-def.pl +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; - -my %spawnfuncs; -my %entitiesdef; - --f "qc.asm" - or (system 'fteqcc -Fwasm' - and die "fteqcc died"); -open my $fh, '<', 'qc.asm' - or die "qc.asm: $!"; -while(<$fh>) -{ - chomp; - /^void \(\) spawnfunc_(.*);$/ - and $spawnfuncs{$1} = 1; -} -close $fh; - -open $fh, '+<', '../../entities.def' - or die "entities.def: $!"; -my $s = do { undef local $/; <$fh>; }; -while($s =~ s/\n\/\*QUAKED (\S+) (.*?)\*\//\n/s) -{ - $entitiesdef{$1} = $2; -} - -use Data::Dumper; -print Dumper \%entitiesdef; - -I KNOW THIS WON'T COMPILE, I WILL FINISH IT LATER -example description -"(0 .5 0) (-8 -8 -8) (8 8 8) -Aiming target for entities like light, misc_portal_camera and trigger_push (jump pads) in particular. --------- KEYS -------- -targetname : the entity that requires an aiming direction points to this. -notfree : when set to 1, entity will not spawn in "Free for all" and "Tournament" modes. -notteam : when set to 1, entity will not spawn in "Teamplay" and "CTF" modes. -notsingle : when set to 1, entity will not spawn in Single Player mode (bot play mode). --------- NOTES -------- -To make a jump pad, place this entity at the highest point of the jump and target it with a trigger_push entity." -- 2.39.2