I had some issues with the standalone Welcome Page so I modified the Login Page to include this and moved the Admin-Check there as well.
I altered the Defines in ui_admin.c and updated on other positions where required so far (I'll adapt the remainder as time comes)
I enabled subfolders for the Music-UI (I don't see why this is a problem at all)
I the Ingame menu I completely disabled the HC-Butttons.
Added Logout-Ability for userlogion (adapted from adminlogin)
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
Turned out i removed that part of the think when I cleaned up stuff
Added a new end-think to remove the entity safely.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
-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>
* README of entityDefParser now contains build instructions for linux,
mac, and windows
* added first version of luaDefParser (for now it just lexes the file
and outputs what it found. In future I want it to output a lyx file)
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>
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>
Added an example for a parseable comment describing a Lua function (mover.AsTrain).
Add some point all comments should look like this. I'm writing a program that'll parse them and convert them into latex.
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>
* made sure Lua GarbageCollector gets rid of finished lua threads (or at
least I hope so)
* changed timed message to be stored in a struct as the list isn't safe
to use with char*
* changed parser and format for timedmessages.cfg
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>
*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>
Im my desire to make sure every command was adminprotected I killed the commands communicating with the trigger...
I reverted that and added SQLF_BEAM as a check for restricted destination clearance
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
* added lua function SetAngles2 to mover lib
* Added work around for func_breakables without origin brush
* Set angles2 to origin (note determin in Radiant)
* Set n00bcount to approx radius of the entity
* add spawnflag NOORIGIN (512)