Commit Graph

124 Commits

Author SHA1 Message Date
eraser1
fdee4e4527 Relatively minor tweaks today
* NEW CONFIG VALUES:
DMS_SpawnMineWarningSigns
DMS_BulletProofMines
* You can now manually define the rare loot chance per crate.
* You can now define the mine amount and radius directly from the call
for DMS_fnc_SpawnMinefield.
2015-09-25 19:28:04 -05:00
eraser1
39af7c584c 'SPLOSIONS! (And some RPT spam reduction)
* NEW CONFIG VALUES:
DMS_SpawnMinesAroundMissions
DMS_despawnMines_onCompletion
DMS_MineInfo_easy
DMS_MineInfo_moderate
DMS_MineInfo_difficult
DMS_MineInfo_hardcore
DMS_explode_onRoadkill
* You can now spawn randomly generated minefields around missions!
Numberof mines and radius is dependent on difficulty.
* Also, you can now spawn an explosion on an AI when it is roadkilled,
causing a wheel or two of the roadkilling vehicle to break.
* Commented out the spawning of static-relative conversion of base
objects in test mission.
* Included example of how to spawn the minefield in the test mission.
* Reduced some of the RPT spam.
* Smoke/IR grenades will only spawn on proper crates - you can now
safely use DMS_fnc_FillCrate with non-crate objects but still have smoke
available.
2015-09-25 01:41:04 -05:00
eraser1
c52c7c33d1 Today's Feature... Some of you are gonna like this
* NEW CONFIG VALUES:
DMS_Diff_RepOrTabs_on_roadkill
DMS_Bandit_Soldier_RoadkillMoney
DMS_Bandit_Soldier_RoadkillRep
DMS_Bandit_Static_RoadkillMoney
DMS_Bandit_Static_RoadkillRep
DMS_Bandit_Vehicle_RoadkillMoney
DMS_Bandit_Vehicle_RoadkillRep
* Removed config value: "DMS_credit_roadkill"
* You can now REDUCE a player's respect/poptabs when the player
roadkills an AI. The default values are -10 poptabs and -5 respect
(hardly noticeable, but I didn't want it to be extreme).
* Alternatively, you can simply reduce the amount of poptabs gained by
giving each corresponding config a positive value less than the regular.
Set the value to 0 if you don't want to credit the poptabs/respect.
* The player will get an appropriately colored message if he/she LOSES
poptabs (as opposed to gaining them).
* The player also gets a little more information regarding the type of
AI he/she has killed.
2015-09-21 23:17:51 -05:00
eraser1
7a074042b1 Important restructuring, minor fix(es)
* CONFIG VALUES: Changed "DMS_MissionTypes" to "DMS_BanditMissionTypes"
* Renamed some variables to "future-proof" them
* Placed all current missions under "bandit" subfolder to for easier
future integration.
* Created function "DMS_fnc_SpawnBanditMission" to handle bandit mission
spawning (makes it easier to spawn missions via admin console).
* Attached vehicle eventhandlers to DMS-spawned non-persistent vehicles.
* Fixed the "lock" option appearing on DMS-spawned vehicles.
2015-09-20 23:42:33 -05:00
eraser1
d4733a5559 Fixes + Idiot-proofing + New Function
* NEW CONFIG VALUE: "DMS_MaxSurfaceNormal"
* The above config value now determines the maximum incline that a
mission can spawn on. Default value is 0.95, which should be
sufficiently flat.
* Added some grouping explanations in mission config settings.
* Added check for A3XAI for the lovely
["Face"/"dayzai"](https://github.com/dayzai)
* Added ability for people to use a static export from M3Editor. DMS
will then calculate the relative position, and spawn it at the mission.
Example provided in testmission.sqf.
* Fixed an issue with DMS_fnc_TargetsKilled always returning false.
2015-09-20 15:26:08 -05:00
eraser1
44955afb0c Tweaks + Minor Additions
* NEW CONFIG VALUE: "DMS_ai_offload_Only_DMS_AI"
* You can use "DMS_ai_offload_Only_DMS_AI" to offload only AI spawned by
DMS. This should resolve any issues with other mission systems from DMS.
* Increased "DMS_playerNearRadius" from 75 meters to 100 meters.
* You can now define "absolute" mission conditions. If this mission
condition is met, it immediately counts the mission as completed. Add
"true" after the completion argument to turn it into an "absolute" win
condition.
* Added compatibility with RS_VLS by [Rod
Serling](https://github.com/Rod-Serling).
2015-09-20 00:37:13 -05:00
eraser1
c512ef72d2 Finally another update...
* NEW CONFIG VALUE: "DMS_HideBox".
* Loot vehicles cannot be lifted, pushed, or damaged until the mission
is completed successfully. Then the vehicle will be added to the Exile
simulation monitor.
* AI in vehicles will be automatically ejected on death.
* Another potential fix for launchers not despawning off of AI
sometimes.
* When an AI gunner from an armed ground vehicle is killed, the driver
will be switched to the gunner seat after 5-10 seconds. This prevents
the driver from driving around aimlessly and trolling.
* The above feature should now also work on AI that have been offloaded
now (doing so was a major, major pain in the ass, and is the reason why
there was no update yesterday).
2015-09-18 18:26:41 -05:00
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