Dango Posted November 4, 2017 Author Report Share Posted November 4, 2017 Alright, I pushed a minor update to fix and prevent some things. All chernarus maps will now use a single grid file and a single groups file to prevent confusion between various chernarus maps. Commented out incompatible features till I can make them compatible with epoch. Replaced arma 3 helicopter to use the epoch version for heli crashes. Some things I am still working on: Replacing basic arma 3 weapons/items/vests/uniforms with epoch versions. The best method for UPSMON scripts. Base guards to work with the epoch base objects. Link to comment Share on other sites More sharing options...
Berntsen Posted November 4, 2017 Report Share Posted November 4, 2017 On 11/4/2017 at 4:53 PM, Dango said: Essentially, yes it is. The code block for the supported maps is a bit old but for the most part the guide works the same. Just no longer using the try/catch method for custom error handling. You need to create a mission, save it, add the sarge files and turn on all the debug options. Then save and reload the editor mission. Preview the mission and open the map. You will see the grid and then you adjust it in the files and keep reloading till it is where you want it. Expand Oh I see! The mission.sqm part was what was confusing me really. Imma give this a shot and see how it turns out on Bornholm! :) Link to comment Share on other sites More sharing options...
Dango Posted November 4, 2017 Author Report Share Posted November 4, 2017 On 11/4/2017 at 6:01 PM, Berntsen said: Oh I see! The mission.sqm part was what was confusing me really. Imma give this a shot and see how it turns out on Bornholm! :) Expand Cool. If you get it going I will add in the files if you like. Link to comment Share on other sites More sharing options...
Dango Posted November 11, 2017 Author Report Share Posted November 11, 2017 I went ahead and pushed a very minor update 2.2.8 that now runs the UPSMON scripts from the mission PBO. This will no doubt increase the mission PBO size but will significantly increase the performance of the AI all around. I finally have some free time and I expect to push out another update with some much needed changes either today or tomorrow. Drokz and natoed 2 Link to comment Share on other sites More sharing options...
Dango Posted November 12, 2017 Author Report Share Posted November 12, 2017 After hours of testing I have released 2.3.0. There was a major overhaul of the code placement and variables regarding loadout arrays. Changes are as follows: - [Fix] Fixed a bug causing friendly AI to have head wraps. - [New] AI women have been added to the spawn function. - [Change] AI Skills decreased to 10% multiplied by a maximum of 2 bringing the highest possible skill level to 20%. - [Change] AI loadout variable names were changed to a more uniform template to simplify the customization process. - [Change] Major changes to code blocks and variables were done to make customizing more intuitive for server owners. - [Change] AI are tied to nuisance, rewarding players an +10 points for bandit kills and -20 points for friendly kills. Known Issues - Error Undefined variable in expression: upsmon_guer_total Helion4 1 Link to comment Share on other sites More sharing options...
Dango Posted November 13, 2017 Author Report Share Posted November 13, 2017 If you would like to help test the rolling updates I have updated the development branch. Updates will be pushed frequently. natoed 1 Link to comment Share on other sites More sharing options...
natoed Posted November 28, 2017 Report Share Posted November 28, 2017 @dango you still working on this... Link to comment Share on other sites More sharing options...
Sneer Posted November 29, 2017 Report Share Posted November 29, 2017 running it, so far so good. Getting this error though 23:02:58 Error in expression <tposATL (_units select 0); _attackpos = _currpos; If ("deletethis" in _bldpos) > 23:02:58 Error position: <_currpos; If ("deletethis" in _bldpos) > 23:02:58 Error Undefined variable in expression: _currpos 23:02:58 File mpmissions\__cur_mp.Altis\Scripts\UPSMON\MODULES\FORTIFY\fnc\UPSMON_patrolBuilding.sqf, line 29 Link to comment Share on other sites More sharing options...
Sneer Posted December 3, 2017 Report Share Posted December 3, 2017 Does the HC need a particular name to work? Link to comment Share on other sites More sharing options...
Dango Posted December 12, 2017 Author Report Share Posted December 12, 2017 On 11/28/2017 at 1:15 AM, natoed said: @dango you still working on this... Expand I am. For some reason I am not getting any emails about posts here sorry everyone. What's up @natoed? Link to comment Share on other sites More sharing options...
Dango Posted December 12, 2017 Author Report Share Posted December 12, 2017 @Sneer That building script has given errors before but usually for a reason. Perhaps that unit died while the script was unfinished. Does it spam or is it spread out? As for the HC it does not require a special name to my knowledge but I notice the HC for this Epoch was somewhat...complicated. It looks for any entity with the string HC in the name. It uses the function isEqualTo instead of a definitive operator. Are you having issues with it? Link to comment Share on other sites More sharing options...
Sneer Posted December 13, 2017 Report Share Posted December 13, 2017 On 12/12/2017 at 11:25 PM, Dango said: @Sneer That building script has given errors before but usually for a reason. Perhaps that unit died while the script was unfinished. Does it spam or is it spread out? As for the HC it does not require a special name to my knowledge but I notice the HC for this Epoch was somewhat...complicated. It looks for any entity with the string HC in the name. It uses the function isEqualTo instead of a definitive operator. Are you having issues with it? Expand I think its working, I'm just not sure its working that's all. Also that error happens when in town, not sure if any town or always in town. and its not spamming though if there were a lot of connected clients in town I suppose it would spam. Link to comment Share on other sites More sharing options...
Dango Posted December 13, 2017 Author Report Share Posted December 13, 2017 On 12/13/2017 at 2:06 PM, Sneer said: I think its working, I'm just not sure its working that's all. Also that error happens when in town, not sure if any town or always in town. and its not spamming though if there were a lot of connected clients in town I suppose it would spam. Expand I had some debug info on it previously but I removed it since it was basically working, spawned on the HC, or not, spawned on the server. So either way I was not worried about it flat out not spawning but perhaps it would be better to add that back in. I have a small loop script that will say the number of entities local to the HC. I will add it to the repo tonight after work. Basically it makes the system chat talk in the HC window. As for that error, I hang out in towns usually but I do not get that error or at least not enough to notice it. Maybe there is some incompatibility somewhere. What map are you using? Link to comment Share on other sites More sharing options...
Sneer Posted December 13, 2017 Report Share Posted December 13, 2017 Altis Link to comment Share on other sites More sharing options...
Dango Posted December 13, 2017 Author Report Share Posted December 13, 2017 Hmmm even more strange. Alright, I will do some investigating tonight and see if I can recreate the error. Link to comment Share on other sites More sharing options...
Dango Posted December 14, 2017 Author Report Share Posted December 14, 2017 Had a bit of trouble last night with my server so I was unable to finish testing. I noticed that the module giving the error is FORTIFY. Are you spawning any static units that are using FORTIFY? If so you may be able to go to them in game and see if they are there and if they are doing anything like protecting a building. Link to comment Share on other sites More sharing options...
Sneer Posted December 14, 2017 Report Share Posted December 14, 2017 no static units. But I do use A3EAI. Link to comment Share on other sites More sharing options...
Dango Posted December 14, 2017 Author Report Share Posted December 14, 2017 Okay. The dynamic spawns do not use FORTIFY to my knowledge but I could have changed something along the way. The two mods shouldn't be able to see each other and cause issues but I guess anything is possible. I plan to setup a few static spawns with FORTIFY and see if I can figure out what is happening. In the meantime you could disable the A3EAI and see if you still see that error. I always recommend not to use Sarge with other AI systems to avoid conflict but really it should be fine. Link to comment Share on other sites More sharing options...
natoed Posted December 19, 2017 Report Share Posted December 19, 2017 @dango Just wondering as i'm keeping an eye on this addon. I like to change out addons/mission systems every 2 months or so to keep it interesting cheers natoed Link to comment Share on other sites More sharing options...
Dango Posted December 23, 2017 Author Report Share Posted December 23, 2017 Well, @Sneer I cannot seem to reproduce this for the life of me idk why. I have seen it before so I know it is not just a random bug. As far as I ever found out it is caused when the loop no longer has an AI object to run for. Generally from the unit being deleted if players are not close enough, if that unit dies or something else that causes the unit to 'disappear'. Look over the grps file in the map configs and be sure you have no static spawn using the FORTIFY module for UPSMON. @natoed yeah this mod is like my hobby so it will continue till I am over scripting arma lol. If you have any suggestions I would be happy to hear them. Razor1977 1 Link to comment Share on other sites More sharing options...
natoed Posted December 24, 2017 Report Share Posted December 24, 2017 On 12/23/2017 at 3:42 PM, Dango said: till I am over scripting arma lol. Expand beer helps i find but after a few its hard to see.... Dango 1 Link to comment Share on other sites More sharing options...
Dango Posted December 31, 2017 Author Report Share Posted December 31, 2017 Just pushed a major update 2.4.0. I have left debug options on so you can see what is working and what is not. I recommend to turn them off once you verify all is working. Razor1977 1 Link to comment Share on other sites More sharing options...
Razor1977 Posted December 31, 2017 Report Share Posted December 31, 2017 updated to latest version and getting this in the rpt, Reveal hidden contents _leader = _group createUnit [_leaderModel call BIS_fnc_selectRandom, > 14:21:42 Error position: <_leaderModel call BIS_fnc_selectRandom, > 14:21:42 Error Undefined variable in expression: _leadermodel 14:21:42 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 74 14:21:42 Error in expression <SAR_band_leader_model> 14:21:42 Error position: <SAR_band_leader_model> 14:21:42 Error Undefined variable in expression: sar_band_leader_model 14:21:42 Error in expression <t_tools; _leader = _group createUnit [_leaderModel call BIS_fnc_selectRandom, > 14:21:42 Error position: <_leaderModel call BIS_fnc_selectRandom, > 14:21:42 Error Undefined variable in expression: _leadermodel 14:21:42 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 74 14:21:43 "Sarge AI System: Weapons array is [""arifle_TRG20_F"",""""]" 14:21:43 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 14:21:43 Error in expression <SAR_surv_rifleman_model> 14:21:43 Error position: <SAR_surv_rifleman_model> 14:21:43 Error Undefined variable in expression: sar_surv_rifleman_model 14:21:43 Error in expression <en - 1) do { _this = _group createUnit [_riflemanModel call BIS_fnc_selectRandom> 14:21:43 Error position: <_riflemanModel call BIS_fnc_selectRandom> 14:21:43 Error Undefined variable in expression: _riflemanmodel 14:21:43 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 148 14:21:43 "Sarge AI System: Weapons array is [""arifle_MX_F"",""""]" 14:21:43 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 14:21:43 Error in expression <SAR_band_rifleman_model> 14:21:43 Error position: <SAR_band_rifleman_model> 14:21:43 Error Undefined variable in expression: sar_band_rifleman_model 14:21:43 Error in expression <en - 1) do { _this = _group createUnit [_riflemanModel call BIS_fnc_selectRandom> 14:21:43 Error position: <_riflemanModel call BIS_fnc_selectRandom> 14:21:43 Error Undefined variable in expression: _riflemanmodel 14:21:43 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 148 14:21:43 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 14:21:43 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 14:21:43 Error in expression <SAR_surv_sniper_model> 14:21:43 Error position: <SAR_surv_sniper_model> 14:21:43 Error Undefined variable in expression: sar_surv_sniper_model 14:21:43 "Sarge AI System: Infantry group (B Alpha 1-3) spawned in: SAR_area_11_5 with action: PATROL on side: WEST" 14:21:43 "Sarge AI System: Weapons array is [""arifle_Mk20_F"",""""]" 14:21:43 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 14:21:43 Error in expression <en - 1) do { _this = _group createUnit [_riflemanModel call BIS_fnc_selectRandom> 14:21:43 Error position: <_riflemanModel call BIS_fnc_selectRandom> 14:21:43 Error Undefined variable in expression: _riflemanmodel 14:21:43 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 148 14:21:44 "Sarge AI System: Weapons array is [""arifle_Mk20_F"",""""]" 14:21:44 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 14:21:44 Error in expression <SAR_band_sniper_model> 14:21:44 Error position: <SAR_band_sniper_model> 14:21:44 Error Undefined variable in expression: sar_band_sniper_model 14:21:44 "Sarge AI System: Infantry group (R Alpha 4-3) spawned in: SAR_area_3_4 with action: PATROL on side: GUER" 14:21:44 Error in expression <SAR_surv_leader_model> 14:21:44 Error position: <SAR_surv_leader_model> 14:21:44 Error Undefined variable in expression: sar_surv_leader_model 14:21:44 Error in expression <t_tools; _leader = _group createUnit [_leaderModel call BIS_fnc_selectRandom, > 14:21:44 Error position: <_leaderModel call BIS_fnc_selectRandom, > 14:21:44 Error Undefined variable in expression: _leadermodel 14:21:44 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 74 14:21:45 "Sarge AI System: Weapons array is [""arifle_Mk20_F"",""""]" 14:21:45 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 14:21:45 Error in expression <SAR_surv_rifleman_model> 14:21:45 Error position: <SAR_surv_rifleman_model> 14:21:45 Error Undefined variable in expression: sar_surv_rifleman_model 14:21:45 Error in expression <en - 1) do { _this = _group createUnit [_riflemanModel call BIS_fnc_selectRandom> 14:21:45 Error position: <_riflemanModel call BIS_fnc_selectRandom> 14:21:45 Error Undefined variable in expression: _riflemanmodel 14:21:45 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 148 14:21:46 "Sarge AI System: Weapons array is [""arifle_Katiba_F"",""""]" 14:21:46 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 14:21:46 Error in expression <SAR_surv_sniper_model> 14:21:46 Error position: <SAR_surv_sniper_model> 14:21:46 Error Undefined variable in expression: sar_surv_sniper_model 14:21:46 "Sarge AI System: Infantry group (B Alpha 1-4) spawned in: SAR_area_3_4 with action: PATROL on side: WEST" 14:21:46 Error in expression <SAR_surv_leader_model> 14:21:46 Error position: <SAR_surv_leader_model> 14:21:46 Error Undefined variable in expression: sar_surv_leader_model 14:21:46 Error in expression <t_tools; _leader = _group createUnit [_leaderModel call BIS_fnc_selectRandom, > 14:21:46 Error position: <_leaderModel call BIS_fnc_selectRandom, > 14:21:46 Error Undefined variable in expression: _leadermodel 14:21:46 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 74 14:21:47 "Sarge AI System: Weapons array is [""arifle_MX_F"",""""]" 14:21:47 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 14:21:47 Error in expression <SAR_surv_rifleman_model> 14:21:47 Error position: <SAR_surv_rifleman_model> 14:21:47 Error Undefined variable in expression: sar_surv_rifleman_model 14:21:47 Error in expression <en - 1) do { _this = _group createUnit [_riflemanModel call BIS_fnc_selectRandom> 14:21:47 Error position: <_riflemanModel call BIS_fnc_selectRandom> 14:21:47 Error Undefined variable in expression: _riflemanmodel 14:21:47 File addons\sarge\code\functions\fn_AI_infantry.sqf [SAR_fnc_AI_infantry], line 148 14:21:48 "Sarge AI System: Weapons array is [""arifle_MX_F"",""""]" 14:21:48 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 14:21:48 Error in expression <SAR_surv_sniper_model> 14:21:48 Error position: <SAR_surv_sniper_model> 14:21:48 Error Undefined variable in expression: sar_surv_sniper_model Link to comment Share on other sites More sharing options...
Sneer Posted January 1, 2018 Report Share Posted January 1, 2018 I get the same error ^ and no units are spawning. natoed and Razor1977 2 Link to comment Share on other sites More sharing options...
natoed Posted January 1, 2018 Report Share Posted January 1, 2018 On 1/1/2018 at 6:49 PM, Sneer said: I get the same error ^ and no units are spawning. Expand I'm the same, thought it was something i did thou the heli fly's in and crash works fine Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now