Commit Graph

117 Commits

Author SHA1 Message Date
eraser1
afb4833a65 Fixes + Tweaks + Features
#### September 13, 2015 (11:45 PM CST-America):
* NEW CONFIG VALUES: DMS_MaxAIDistance and DMS_AIDistanceCheckFrequency
* You can now use the above config values to kill AI that flee from
their spawn position. Only "Soldier" AI will be killed.
* Removed "O_HMG_01_F" from AI Static Weapons. AI were pretty useless on
it... unless the AI were facing the right direction.
* Reduced AI count and removed the "playerNear" parameter from
testmission for easier testing.
* NEW: When an AI vehicle gunner is killed, and the driver is still
alive, after a little delay, the driver is then switched to the gunner
seat. You should no longer have AI vehicles with a dead gunner that's
driving around aimlessly :) There is a 5-8 second delay to simulate
reaction time. Then the driver is ejected, then after 1.5 seconds the AI
is then forced into the  gunner seat.
* NOTE: The above feature only works when the AI is still local (not
offloaded). If the AI is offloaded, the AI is simply ejected and becomes
a foot soldier.
* AI assigned vehicles are destroyed when the crew is empty. Simulation
is also disabled on them.
* Reduced some of the "params" RPT spam, from DMS_fnc_SetGroupBehavior.
* Tweaked AI Vehicle spawning logic. The AI are initially assigned to a
temporary group and then behavior is set, then they join the assigned
group to prevent overriding behavior of other ground units.
* Non-persistent vehicles should now be fit properly to the terrain.
2015-09-16 22:37:17 -05:00
eraser1
7f839a2623 AI Vehicles!
#### September 14, 2015 (11:00 PM CST-America):
* NEW CONFIG VALUES: DMS_AIVehCleanUpTime, DMS_MinWaterDepth,
DMS_Bandit_Vehicle_MoneyGain, DMS_Bandit_Vehicle_RepGain.
* Changed default value of DMS_Bandit_Static_MoneyGain to 75,
DMS_Bandit_Static_RepGain to 15.
* NEW FUNCTION: DMS_fnc_SpawnAIVehicle.
* You can now spawn AI in vehicles.
* Improved cleanup method for AI in static guns.
* Working on improving OnKilled EH for AI in vehicles.
* FindSafePos should no longer check for parameters if the corresponding
blacklist radius is set to 0.
2015-09-14 22:50:09 -05:00
eraser1
86a4ad9b77 Minor Update for today... 2015-09-13 23:52:02 -05:00
eraser1
6cc02bfb89 Better Esseker params, DMS_DEBUG explanation 2015-09-13 19:50:34 -05:00
eraser1
af225038af Update! 2015-09-13 01:15:21 -05:00
eraser1
401f09ada2 whoops, incorrect worldName for Tavi 2015-09-12 10:05:17 -05:00
eraser1
5bd94110c8 Taviana 2015-09-12 10:02:44 -05:00
eraser1
c9cda8d96b Whoops
Accidentally used diameter as radius
2015-09-12 03:08:53 -05:00
eraser1
38eb14cce4 Esseker _safePosParams 2015-09-12 01:34:03 -05:00
eraser1
2650157577 Bunch of stuff...
* NEW CONFIG VALUES: ```DMS_GodmodeCrates``` and
```DMS_CrateCase_Sniper```. DMS_GodmodeCrates is pretty self-explanatory
:P
* NEW FEATURE FOR "DMS_fnc_FillCrate": You can now define "crate cases"
in the config (such as "DMS_CrateCase_Sniper"). Passing the "crate case"
name (such as "Sniper") will make the crate spawn with the exact gear
defined in the config. Refer to the testmission.sqf (line 80) and
"DMS_CrateCase_Sniper" config for an example.
* Spawned vehicles will now be LOCKED and INVINCIBLE until the mission
is completed.
* Spawned vehicles spawn with 100% fuel.
* "Fixed" some cases where killing from a mounted gun would reset your
money/respect (maybe).
* Fixed some spelling errors and incorrect names in some of the mission
messages/markers.
* Fixed DMS_fnc_FindSafePos for Bornholm. If you have any issues with
custom maps, please let us know.
* Fixed backpack spawning on the ground behind an AI unit that was
supposed to get a launcher.
2015-09-11 20:21:58 -05:00
eraser1
e8eedfa538 More features, fixes, tweaks
* NEW CONFIG VALUES: ```DMS_MarkerPosRandomization```,
```DMS_MarkerPosRandomRadius```, and ```DMS_RandomMarkerBrush```
* With the above configs, you can randomize the marker positions in a
random position around the actual mission center.
* You can also "force" DMS_fnc_CreateMarker to randomize (or not
randomize) the marker position with optional boolean parameter of index
3.
* Changed the default (non-randomized) circle marker "brush". It should
be a solid circle.
* Created new functions ```DMS_fnc_SelectOffsetPos``` and
```DMS_fnc_SelectRandomVal```
* Adjusted a couple functions to use them.
* Fixed ```DMS_fnc_IsNearWater```.
2015-09-10 17:48:56 -05:00
eraser1
6cc2f1451b Forgot to rename a couple things :P 2015-09-10 12:44:17 -05:00
eraser1
302ec97174 Stupid me + add private vars 2015-09-09 21:18:30 -05:00
eraser1
bbedb1e607 Test pls 2015-09-09 21:05:46 -05:00
eraser1
819f295eba OnKilled Fixes + Update readme with SP3 link 2015-09-08 23:00:26 -05:00
eraser1
31890b0015 Bodies should clear if configured to do so
It was a silly mistake
2015-09-07 19:13:50 -05:00
Patrick L.
80e0fac9fa Update fn_SetGroupBehavior.sqf 2015-09-06 04:48:04 +02:00
eraser1
600f3445e4 Update + PBO 2015-09-05 01:03:20 -05:00
eraser1
a29824e371 Fixed binocs/rangefinder BS on AI 2015-09-04 22:59:27 -05:00
eraser1
687bbfb798 Use config function definitions
Thanks for the tip Zupa!
2015-09-04 22:40:00 -05:00
eraser1
00744a2d48 switch-do is case sensitive 2015-09-04 20:28:24 -05:00
eraser1
b83a9e6746 Improve Crate Mechanics
You can now have multiple crates in a mission (or none at all!).

Keep in mind that this changes the way you define your crates and their
loot values
2015-09-04 20:28:05 -05:00
eraser1
50a483684f PBO 2015-09-04 11:45:16 -05:00
eraser1
0830b05a78 Hotfix until I can properly test killing from vehs 2015-09-04 11:43:08 -05:00
eraser1
051450f010 Performance 2015-09-04 11:42:53 -05:00
eraser1
ea28d73468 Replace count w/ forEach 2015-09-04 11:35:19 -05:00
eraser1
6e627cf355 FindSuppressor Improvements
Fixed classname for 7.62 suppressor

Using fancy shmancy switch-do now
2015-09-04 11:12:56 -05:00
eraser1
8c4e0ff297 HC Logging + Fix?
Test please :)
2015-09-02 13:01:39 -05:00
eraser1
aaec1239fc Whoops 2015-09-02 12:18:48 -05:00
eraser1
3934384ce9 Compatibility for HC? 2015-09-02 12:16:22 -05:00
eraser1
4fef19a66c report 2015-09-02 12:01:33 -05:00
eraser1
997f94d3ac Update README, re-add example 2015-09-02 00:18:26 -05:00
eraser1
3760bc9826 Tweaks to Zupa's "SpawnNonPersistentVehicle" and comments
Used function "params" to parse input.

Decrease the initial "maxDistance"

Added debug log for the function

Improved explanation of a couple of configs
2015-09-01 19:43:17 -05:00
eraser1
26ded8908c Not needed there 2015-09-01 19:18:45 -05:00
eraser1
39ab0d1124 Fix FindSuppressor + Update stable PBO 2015-09-01 19:15:42 -05:00
eraser1
a6db45a673 Merge branch 'master' of https://github.com/Defent/DMS_Exile
Conflicts:
	@ExileServer/addons/a3_dms/fn_DMS_preInit.sqf
2015-09-01 18:26:18 -05:00
eraser1
6c9a12cd56 Better locality management 2015-09-01 18:23:32 -05:00
eraser1
7f6178c811 Increase AI mag count
Because they won't refill ammo when offloaded
2015-09-01 18:22:41 -05:00
eraser1
530ed61fd5 clarify 2015-09-01 17:37:29 -05:00
Zupa
f63eda8e87 Spawns a non persistence vehicle in the closest open spot &Added example 2015-09-01 23:29:46 +02:00
Zupa
eeb6ad0903 Spawns a non persistence vehicle in the closest open spot. 2015-09-01 23:24:15 +02:00
Defent
dfcc8b4150 Updated, works.
We will push another update soon with some other, more convinient fixes!
2015-09-01 21:53:28 +02:00
Defent
6fa2243bf5 Update SpawnAIGroup.sqf 2015-09-01 19:31:51 +02:00
eraser1
3d368dd3b4 No suppressor for zafir 2015-09-01 12:17:32 -05:00
eraser1
c4ffd25836 Whoops
Fixed a silly mistake
2015-09-01 12:15:49 -05:00
Defent
8483ca60eb Update
Added 3 new missions.
Added ownership transfer of AI.
2015-09-01 18:59:43 +02:00
eraser1
9af7f3f0ea Add percentage chance to clear AI bodies 2015-09-01 11:30:58 -05:00
eraser1
f28280cb80 Whoops #2
Wrong order :P
2015-09-01 01:26:28 -05:00
eraser1
ac8166c008 Whoops
messed up previous commit
2015-09-01 01:25:14 -05:00
eraser1
dae2d2a54f Fix launchers
Launchers should now spawn on AI if you set the config value to true and
set the spawn percentage correctly.

Launchers will always spawn if you define it in the AI type
2015-09-01 01:24:42 -05:00