Commit Graph

12 Commits

Author SHA1 Message Date
eraser1
7f6178c811 Increase AI mag count
Because they won't refill ammo when offloaded
2015-09-01 18:22:41 -05:00
eraser1
6e3a9b8615 More fixes + SpawnCrate
Created function SpawnCrate

Updated missions to use DMS_SpawnCrate

Fix (I think) issue with _side being passed to onkilled

updated test PBO
2015-08-31 01:08:30 -05:00
eraser1
641d40c157 DMSv1 is Live :D
Still a few things left to do but... the system works! ;)
2015-08-30 23:51:06 -05:00
eraser1
25e65329e8 Oops
Couple mistakes...
2015-08-30 21:49:01 -05:00
eraser1
cb7338c16a Set up OnKilled + cleanup
!!!!!
NOTE: The behavior of commands "gunner" and "driver" are not extensively
documented on the wiki. I'm not sure if respect/money increase will work
properly for kills from vehicles! I need to test these commands later
!!!!!
Cleaned up obsolete/already created functions from preInit

Created config values "DMS_BanditMoneyGainOnKill" and
"DMS_BanditRepGainOnKill" and "DMS_RemoveNVG"

OnKilled should now give respect and pop tabs to clients (if configured
to do so).

It should also give the onscreen popup for kills for respect and update
the values on the client (as well as updating the corresponding stats on
the server and database)

Use "MPKilled" EH instead of "Killed" for potential issues with
offloading.
2015-08-30 00:01:00 -05:00
eraser1
02696c3406 Tweaks + More Configs + Fix
You can now give AI general gear items (like food/drink/meds) per class

Removed old mission files

Added debug logging to AddMissionToMonitor

I accidentally switched _markerDot and markerXtime variables in debug
logging for removemarkers
2015-08-29 20:30:56 -05:00
eraser1
8350edcd00 AddMissionToMonitor + Tweaks to other functions 2015-08-29 19:33:32 -05:00
eraser1
7c1168f194 Create new AI functions
Created SpawnAIGroup

Created SetGroupBehavior

New config values for AI waypoint radius based on difficulty
2015-08-29 14:46:07 -05:00
eraser1
38292a918e DMS_CleanUp Improvements
It can now take groups as arguments
2015-08-29 13:30:26 -05:00
eraser1
b3894aee0f SpawnAISoldier improvements
Added debug logging

invalid params for customgearset doesn't cancel it (since I check every
item before applying it anyways)

renamed optionalgearset to customgearset
2015-08-29 12:40:38 -05:00
Defent
2998a01720 Fixed event handler 2015-08-29 12:15:48 +02:00
eraser1
ef822c5a28 Create SpawnAISolder + prep SpawnAIGroup + tweaks
Spent a shitton of time setting up SpawnAISoldier.

Highly configurable, with the option of using a custom config.

I will set up the "private" var line, as well as some debug info later.

Increased magazine count for guns spawned in crates
2015-08-29 01:09:50 -05:00