- fixed bg_lex so the lexer compile on mingw
- removed old Makefile of RPG-X as they are deprecated, use "make
BUILD_SERVER=0 BUILD_CLIENT=0" in the repositories main path instead to
build shared libraries only
-replaced target_safezone with target_sone (backwardscompability is in place)
--It now servers for more purposes than just escapepods. Also included in the MSD-System
-Removed list-iteration for safezones.
--They gave me such a hard time and put unneeded limits in place (like one time shots)
--now we loop trough all entities instead and find those with the right criteria and go from there
-For safezones clients are now tagged in the backend (new gclients_t-field)
--only those that aren't taggesd this way will be killed
--Closed FS#30
-First version of shiphealth HUD (FS#8, needs testing)
--There were som modifications made to the full UI as well
-Both Selfdestruct and Shiphealth communication to the client go via command now, the events got removed
-new Version Notation: RPG-X V 2.3 CB 4
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
Countdown Clock is working
Overall script is working again
removed some unused stuff
added a few more failsafes
did some finetuning
sometimes the sounds don't trigger but I don't think that is my fault...
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
* Fixed precaching on client side
* added generatePrecacheFile command on server side that will generate a
new precache file (not quite done yet but it'll work for now)
* removed some debuging outputs from G_LoadTimedMessages
* fixed check for '}' beeing on the worng place in G_LoadTimedMessages
there seems to be an issue with the way I selected to transfer the countdown duration to the client (via event)
In server side Execution I run by the g_addevent just fine, however on the client side the event is not called.
there is also a new definition for trigger_airlock.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
UI displays status of all systems connected to it's parent target-shiphealth
There is also a slide for relative health
It does not auto update.
Up next I'll try the HUD-Element.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
*Fixed Communication between server and UI
-Turned out the CG_Argv() and UI_Argv() couldn't handle 9 requests at once, so I defaulted back to direct trapping.
*Fixed bug that was looking for some Vars in the wrong fields.
*Added a few new shaders to get the alert lights to work. stuff for that will be uploaded tomorrow.
*Implemented alert lights on the MSD-UI (works perfectly)
*Added Description of a new feature to target_shiphealth (Custom MSD-Ship Display)
*Added Alexander Richardson as 2D Artist to credits (I will supply his MSD's for the new system)
*Fixed ui_transporter (It accidently got killed)
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
For Head Start I ripped the Transporter UI and associated entities
I have already started to work on it's first display function, the Alert Condition,
however it seems that I am losing my int's somewhere on the path,
probably on handover between cgame and ui sections (ui_atoms.c)
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
* removed unused cvars and related code
* moved rpg_message cvars into timedmessages.cfg and removed the cvars
* modified list module to support cyclic list access
* Fixed repair function for func_breakables
* Added possibility to visualize traces (add flag 2 to value of
g_developer)
* Removed debug message for func_breakables
Added a new command selfdestructcountdown duration [safezone] [target]
It'll do exactly the same as selfdestruct start with the exception that it'll force the entity to think every 0.1 secs. to not do this accidently It got it's own command.
It uses the cp-command for display and disables admin_centerprint autoamtically.
On a more general selfdestruct note I got rid of those long warning sentences in favour of ^1Self Destruct in %.0f:%2.0f
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
New command safezonelist that lists all safezones in existance.
It returns their targetnames, state (safe/unsafe) and theuir shipflag.
Minor fix to target_shiphealth so it now frees than links when there are missing parameters.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>