Commit graph

24 commits

Author SHA1 Message Date
Harry Young
695cfa6067 More work on shiphealth
Tried to replace some int's and float's with double's, no negative effect however the bugs still exist.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-09-28 15:52:56 +02:00
Harry Young
eb0669507c Continued work on shiphealth.
Bit of restructuring in the command.
Fixes to the entity so it will fire all systems.
Need to look in the random-functions. The systems are firing out every hit.
Also relative Strength does not work in Shiphealth command (gives either 100 or 0)
Aditionally forced SD-Killmode active with the target merely being for FX.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-09-28 02:31:05 +02:00
Walter Julius 'GSIO01' Hennecke
6bde5fb79e Sync with rpgxEF repo ...
How long will we keep syncing these back?
2012-09-10 21:29:23 +02:00
Harry Young
3153b9a2d6 Okay, all issues are resolved, the commands are in and the libs compile. All that's missing is the external file and a few failsaves. the latter I can do myself with some research, the first is outside my field of expertise.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-08-03 00:17:15 +02:00
Harry Young
fdd83d724b New target_shiphealth entity. I still need to do some debugging here, which I intend to do later tonight.
Minor tweaks.

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-08-02 18:56:55 +02:00
Walter Julius Hennecke
45e4d5f31c Fixed a bug ...
... where on maps without target_safezone(s) player wouldn't die through
self destruct.
2012-08-01 21:28:56 +02:00
Walter Julius Hennecke
291bbfa0ee Revert "Made functions static where possible in g_target.c"
This reverts commit 973eb5cd23.
2012-08-01 20:55:19 +02:00
Walter Julius Hennecke
973eb5cd23 Made functions static where possible in g_target.c 2012-08-01 20:43:13 +02:00
Walter Julius Hennecke
a7cdbc0d95 Changed target_safezones to be freed after spawn again ....
... still can be toggled though :)
2012-07-28 00:16:21 +02:00
Walter Julius Hennecke
872f3326e0 target_safezone can now be toggled on and off
- target_safezone can now be toggled on and off
- added STARTON spawnflag
2012-07-27 00:50:55 +02:00
Walter Julius Hennecke
a0b1d4fc9e Added safe zones for self destruct ... 2012-07-27 00:18:35 +02:00
Walter Julius Hennecke
af3633db4d Added missing files ... 2012-07-26 22:48:42 +02:00
Walter Julius Hennecke
bbbcf322f2 fixed cam shake for self destruct 2012-07-26 19:25:48 +02:00
Harry Young
185451ad39 still need to learn things about git...
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-07-26 19:04:22 +02:00
Harry Young
51c98703cf Merge branch 'master' of git@github.com:UberGames/RPG-X2-rpgxEF.git
Conflicts:
	game/g_target.c
2012-07-26 18:53:16 +02:00
Harry Young
edcb550455 some fixes and some new stuff in here.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-07-26 18:50:31 +02:00
Walter Julius Hennecke
38fbd74209 Self destruct is now leathal 2012-07-26 17:43:42 +02:00
Walter Julius Hennecke
0b6c73beff Fixes to selfdestruct
Some fixes to selfdestruct .... not done yet still needs lots of debugging
...
2012-07-25 23:57:38 +02:00
Harry Young
31d1c720de Some fixes, however it won't compile due to a bug the compiler tells me about but taht I don't understand.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-07-25 18:22:43 +02:00
Harry Young
bb1797ba5c Minor fixes to the self destruct command
Added target_selfdestruct. I hope I got everything right so far...

I'd need someone to compile it for me. If I try to my game dies horribly...

Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
2012-07-25 17:31:17 +02:00
unknown
0d022b90e3 Updated DEVELOPER macro
Updated DEVELOPER macro:
- now uses cvar g_developer instead of developer
- now allows single statement, multistatement, block, and multiple blocks
  as argument
2012-07-07 00:35:20 +02:00
unknown
b2461f9868 New developer macro and changed output for entity errors and Warnings
Added a new macro DEVELOPER(X) that only executes the statement X if the
cvar developer != 0.
Changed output of Entity errors and warnings:
- only printed if developer is set
- color changed to yello for all
- Errors are now printed as: [Entity-Error] ErrorMessage
- Warnings are now printed as: [Entity-Warning] WarningMessage
2012-07-06 17:01:47 +02:00
Walter Julius Hennecke
a0a0ac525e Removed all #ifdefs that are no longer needed 2012-05-05 23:35:00 +02:00
Walter Julius Hennecke
27269ee319 initial commit 2012-05-05 13:49:28 +02:00