Commit Graph

8 Commits

Author SHA1 Message Date
Harry Young 96dc0769e5 Decoys and target_sequence
fixed bug, where decoys would crash a client who has the radar HUD-Element (tricorder or Phaser Rifle) open
many fixes and improvements to target_sequence (need to counter test some of these)

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-08-28 23:46:14 +02:00
Harry Young 6ee97b6843 definition-Fixes
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2013-02-24 14:20:59 +01:00
Harry Young 75ec1fce7b Finished work on entity definitions update!
On the way merged target_postiton with info_notnull
Also added a failsafe to target_selfdestruct so it can only be commandspawned

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-27 22:57:55 +01:00
Harry Young fc08de6e3d finished up descriptions in g_misc and g_mover
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-27 10:37:48 +01:00
Harry Young 8e3023c613 more work on definitions
Added a few comments on the way.
remmoved files for func_forcefiled2 and func_roff_mover as they were absolutely never used and were not included in any makefile.
collapsed some functions that were redundant to each other

did some work on misc_portal_camers/surface (untested)
did some very needed updates to the descriptions
redesigned the spawning and initialising of the surface in that it now has a few more failsafes
Added the ability to pause autocycle

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-27 03:04:09 +01:00
Harry Young 404b94b520 Definitions and borg2-elevator
Updated more definitions
Started to work on an entity that manages the 2-part-elevator
Spawnfunc on that works fine (including failsafes)
but thinkfunc buggs out on me (can't say I'm surprised, first time I'm working on trajectories in this way)
I think the problem lies in transfering the hardcoded vectorized speed to the entity.

spawn-nextthink is set to -1 for now.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-16 02:10:01 +01:00
Harry Young e561731baa More work on definitions.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-15 06:41:12 +01:00
Harry Young b9b61d2955 3 new lua-functions and updated definitions.
*entity.FindMMB(vector origin) that will loop trougt all MMB's and return the one that is matching the input with it's s.origin
*qmath.irandom(int i, int j) and qmath.flrandom(float i, float j) that are returning a random number of their type within the intervall specified by i and j
*started redesigning all the definitions. I'll get back to this once I'm back from work in 4 hrs or so.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-11-14 10:09:28 +01:00