mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Some cool new stuff :D
This commit is contained in:
parent
53b26e5ec0
commit
9d0ec9cffe
@ -7,7 +7,7 @@ DMS_HC_Object = objNull;
|
||||
|
||||
DMS_CleanUpList = [];
|
||||
|
||||
DMS_Version = "February 14 2016";
|
||||
DMS_Version = "February 17 2016";
|
||||
|
||||
|
||||
//Load main config
|
||||
|
@ -14,7 +14,7 @@ _side = "bandit";
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,12 +11,12 @@ private ["_num", "_side", "_pos", "_OK", "_difficulty", "_AICount", "_group", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,12 +11,12 @@ private ["_num", "_group", "_pos", "_side", "_OK", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_group", "_pos", "_side", "_OK", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_group", "_pos", "_side", "_OK", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_group", "_pos", "_side", "_extraParams", "_OK", "_difficulty"
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -8,13 +8,13 @@ private ["_num", "_group", "_pos", "_side", "_OK", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_pos", "_OK", "_difficulty", "_AICount", "_group", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_OK", "_pos", "_difficulty", "_AICount", "_group", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -8,13 +8,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -8,13 +8,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -8,13 +8,13 @@ private ["_num", "_side", "_OK", "_difficulty", "_AICount", "_type", "_launcher"
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -8,7 +8,7 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
|
@ -11,13 +11,13 @@ private ["_num", "_side", "_OK", "_group", "_pos", "_difficulty", "_AICount", "_
|
||||
_num = DMS_MissionCount;
|
||||
|
||||
|
||||
// Set mission side (only "bandit" is supported for now)
|
||||
// Set mission side
|
||||
_side = "bandit";
|
||||
|
||||
|
||||
// This part is unnecessary, but exists just as an example to format the parameters for "DMS_fnc_MissionParams" if you want to explicitly define the calling parameters for DMS_fnc_FindSafePos.
|
||||
// It also allows anybody to modify the default calling parameters easily.
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {(typeName _this)!="ARRAY"}}) then
|
||||
if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
|
||||
{
|
||||
_this =
|
||||
[
|
||||
|
@ -69,7 +69,7 @@ if ((!isNull _playerObj) && {(_playerUID != "") && {_playerObj isKindOf "Exile_U
|
||||
};
|
||||
|
||||
|
||||
if ((_moneyChange!=0) || (_repChange!=0) || (_rankChange!=0)) then
|
||||
if ((_moneyChange!=0) || {_repChange!=0} || {_rankChange!=0}) then
|
||||
{
|
||||
_playerMoney = _playerObj getVariable ["ExileMoney", 0];
|
||||
_playerRespect = _playerObj getVariable ["ExileScore", 0];
|
||||
|
65
README.md
65
README.md
@ -79,6 +79,7 @@ ___
|
||||
- [maca134](http://maca134.co.uk/portfolio/m3editor-arma-3-map-editor/) for M3Editor Stuff
|
||||
- [Darth Rogue from SOA](http://soldiersofanarchy.net/) for the awesome base for the first DMS static mission :D
|
||||
- [William from Refugees of the Fallen](http://refugeesofthefallen.enjin.com/) for the amazing slums static mission base and ideas :)
|
||||
- [DONKEYPUNCH](https://github.com/donkeypunchepoch) for everything on the [February 17th 2016 commit](https://github.com/Defent/DMS_Exile#february-17-2016-600-pm-cst-america) ;)
|
||||
- Everbody's feedback on [the DMS thread on exile forums](http://www.exilemod.com/topic/61-dms-defents-mission-system/?do=findComment&comment=242)
|
||||
|
||||
#### Testers/Reporters:
|
||||
@ -107,20 +108,72 @@ ___
|
||||
* Air/Land AI Vehicle Patrols
|
||||
|
||||
#### Random community ideas:
|
||||
* Spawning in a trader on mission completion ([Trillseeker82](http://www.exilemod.com/topic/61-dms-defents-mission-system/?do=findComment&comment=43932)).
|
||||
* Spawning in a trader on mission completion ([Trillseeker82](http://www.exilemod.com/topic/61-dms-defents-mission-system/?do=findComment&comment=43932)). This might be done after the next Exile update due to the trader system overhaul :)
|
||||
|
||||
#### Full Headless Client Support.
|
||||
|
||||
#### Client Features.
|
||||
* Kill messages when a group member kills an AI.
|
||||
* Custom mission announcement messages.
|
||||
|
||||
#### (Maybe) Implement a form of stat-tracking system
|
||||
* It will store AI kills in the database (this would almost certainly require some extra work on the behalf of server owners).
|
||||
|
||||
___
|
||||
|
||||
# Changelog:
|
||||
#### February 17, 2016 (6:00 PM CST-America):
|
||||
* **NEW CONFIG VALUES:**
|
||||
|
||||
DMS_Enable_RankChange
|
||||
DMS_Add_AIKill2DB
|
||||
DMS_Show_Kill_Rank_Notification
|
||||
DMS_Bandit_Soldier_RankGain
|
||||
DMS_Bandit_Static_RankGain
|
||||
DMS_Bandit_Vehicle_RankGain
|
||||
DMS_Hero_Soldier_MoneyGain
|
||||
DMS_Hero_Soldier_RepGain
|
||||
DMS_Hero_Soldier_RankGain
|
||||
DMS_Hero_Static_MoneyGain
|
||||
DMS_Hero_Static_RepGain
|
||||
DMS_Hero_Static_RankGain
|
||||
DMS_Hero_Vehicle_MoneyGain
|
||||
DMS_Hero_Vehicle_RepGain
|
||||
DMS_Hero_Vehicle_RankGain
|
||||
DMS_Survivor_Soldier_MoneyGain
|
||||
DMS_Survivor_Soldier_RepGain
|
||||
DMS_Survivor_Soldier_RankGain
|
||||
DMS_Survivor_Static_MoneyGain
|
||||
DMS_Survivor_Static_RepGain
|
||||
DMS_Survivor_Static_RankGain
|
||||
DMS_Survivor_Vehicle_MoneyGain
|
||||
DMS_Survivor_Vehicle_RepGain
|
||||
DMS_Survivor_Vehicle_RankGain
|
||||
DMS_Bandit_Soldier_RoadkillRank
|
||||
DMS_Bandit_Static_RoadkillRank
|
||||
DMS_Bandit_Vehicle_RoadkillRank
|
||||
DMS_Hero_Soldier_RoadkillMoney
|
||||
DMS_Hero_Soldier_RoadkillRep
|
||||
DMS_Hero_Soldier_RoadkillRank
|
||||
DMS_Hero_Static_RoadkillMoney
|
||||
DMS_Hero_Static_RoadkillRep
|
||||
DMS_Hero_Static_RoadkillRank
|
||||
DMS_Hero_Vehicle_RoadkillMoney
|
||||
DMS_Hero_Vehicle_RoadkillRep
|
||||
DMS_Hero_Vehicle_RoadkillRank
|
||||
DMS_Survivor_Soldier_RoadkillMoney
|
||||
DMS_Survivor_Soldier_RoadkillRep
|
||||
DMS_Survivor_Soldier_RoadkillRank
|
||||
DMS_Survivor_Static_RoadkillMoney
|
||||
DMS_Survivor_Static_RoadkillRep
|
||||
DMS_Survivor_Static_RoadkillRank
|
||||
DMS_Survivor_Vehicle_RoadkillMoney
|
||||
DMS_Survivor_Vehicle_RoadkillRep
|
||||
DMS_Survivor_Vehicle_RoadkillRank
|
||||
DMS_heroSide
|
||||
DMS_survivorSide
|
||||
* **There's a lot of new config values in this update, I know it would be a pain to merge them. Check [this pastebin](http://pastebin.com/5s9erDA6) that you can simply paste into your config.sqf to keep yourself up to date.**
|
||||
* As you can see by the influx of new config values, DMS now supports AI sides other than "bandit".
|
||||
* All AI types/sides can also take advantage of a humanity/scoring system.
|
||||
* You can also save kills in the database.
|
||||
* This update courtesy of [DONKEYPUNCH](https://github.com/donkeypunchepoch) :)
|
||||
|
||||
|
||||
#### February 14, 2016 (1:45 PM CST-America):
|
||||
* **NEW CONFIG VALUES:**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user