Vandeanson 1677 Posted November 7, 2018 46 minutes ago, lv1234 said: I feel like the ai (hunters, scavengers, and bandits at the bandit camp) has too much ammo on them, can you reduce the amount of ammo they have on them? yep no problem, i can add a setting option for it so you can choose Share this post Link to post Share on other sites
MisterOth 76 Posted November 7, 2018 Can you possibly add a setting to let spawn markers that we can choose the type. For traders maybe or other. Because sometimes without markers the map is just blank. It is just for cosmetics. Or maybe with your idea about tasks that will give markers about bandicamp..traders..hiddeout.. you already thaught about that. Also about the idea of holding a base for ourselfs, is it possible to add like a box that you have to put some supplies or toolbox for the base and people their to live. Thank you Edit: Sorry I can already add markers with spawnmarkers for traders and bandicamp. So my suggestion is not good I think. It is just because the random spawn system is great I asked about them. Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 7, 2018 @MisterOth so yeah, the tradercamp already has a marker, let me know if that does not work for you. it would be possible to spawn bandit camp markers, but that would be against the main thought of the script, that the camps are hidden and you need to find them. but you can add markers in the bc spawner if you want of course, check the VD_TC_spawerRnd.sqf, there is some code you can copy and modify. There will be a crate where you can store your stuff in in the BC, but you can also move your Personal lootcrate there or a vehicle for example. i hope this helps;) Share this post Link to post Share on other sites
MisterOth 76 Posted November 8, 2018 37 minutes ago, Vandeanson said: so yeah, the tradercamp already has a marker, let me know if that does not work for you. Oh yeah it is working, I didn't see the icon on the map. Thanks. I also found how to edit the Icon in something else :) Also you're right about the Bandicamp, it is better to not know where it spawns. Thank you again. 1 Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 8, 2018 hi all new AI equipper and cutomization options: VD_Functions.sqf https://drive.google.com/file/d/1ChtGDmdjl0jmUtOyo6X0NILDYKptPWe4/view?usp=drivesdk VD_Settings.sqf https://drive.google.com/file/d/1fiYFpCMB6qZZW4K2eEaO0Ey7s5PMPK6D/view?usp=drivesdk DL these files, rename it to VD_Settings.sqf and VD_Functions.sqf (the DL files have a different version number) and replace the files in the script folder. this will allow you to customize the AI loadouts in detail. i have written this on my mobile without syntax highlighting, so i can not tell if i made mistakes yet. please send me a pic of every error you might get so i can fix it. else i will properly test the code towards the weekend. hence if you wait a little, a properly tested version will be published. the same will follow for the player loadout generator;) cheers vd Share this post Link to post Share on other sites
jandrews 116 Posted November 8, 2018 13 hours ago, Vandeanson said: @MisterOth so yeah, the tradercamp already has a marker, let me know if that does not work for you. it would be possible to spawn bandit camp markers, but that would be against the main thought of the script, that the camps are hidden and you need to find them. but you can add markers in the bc spawner if you want of course, check the VD_TC_spawerRnd.sqf, there is some code you can copy and modify. There will be a crate where you can store your stuff in in the BC, but you can also move your Personal lootcrate there or a vehicle for example. i hope this helps;) Something to consider about markers like bandit and hideout is an option to place marker near the camp. Say no closer than 500 m in general area. This would allow a player to search a general area vs the entire map like altis. That's a big search area. Or and you may have said this. Is to have traders give tasks in areas of those camps to indirectly encourage players to be in those areas. 2 Share this post Link to post Share on other sites
johnnyboy 3795 Posted November 8, 2018 JBOY Dog 1.4 is released. When you're ready, you can add AI controlled dogs to your spawned camps and spawned patrols. They will follow the AI on waypoints, and when detecting enemies they stop, growl, look in enemy direction. AI handler then commands dog(s) to attack and moves toward detected position. If enemies killed, AI resumes waypoints, and dogs resume following handlers. You can give an AI handler more than one dog if you want. 1 Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 8, 2018 @johnnyboy alright i read through the code and in think i get how it works, thanks for the instructions in the init. i ll probably add a chance for one or two patrolling AI dog handlers to spawn on each bandit camp and hideout. maybe also a chance for a stationary guy chilling in the camp with his dog. in my understanding the script would also work with a guard waypoint or none right? Share this post Link to post Share on other sites
johnnyboy 3795 Posted November 8, 2018 8 minutes ago, Vandeanson said: maybe also a chance for a stationary guy chilling in the camp with his dog. in my understanding the script would also work with a guard waypoint or none right? It will work, but in this case there will be a stationary handler with a dog in "heel" mode. The dog may turn in circles or act a little weird as the loop keeps telling dog to "moveTo <position in front of stationary ai handler>", and the AI's position is not changing. Try it and see. I'll think about handling this differently for a stationary AI. I guess if unitReady is true for AI, he is stationary. Or maybe I can check type of current waypoint, or speed of AI... Can't promise I will jump on this immediately though. Share this post Link to post Share on other sites
johnnyboy 3795 Posted November 8, 2018 Actually, I don't think I need to change any JBOY Dog code for a stationary AI. When spawning the dog for a stationary AI, just make the last line be to command dog to "Stay" or "Sit" instead of "Heel" and dog will hang out. This dog animations "Dog_Stop" and "Dog_Sit" are weird though, because he will start moving around a bit after awhile. Hopefully he won't stray too far. Note below that last line sets dog's vCommand to "stay". Also note that for setting speaker I pass in "speaker _handler" rather than a specified french speaker like in init.sqf example. This is better for you, because the AI Handler should then command the dog in his native tongue (eng, fre, chi, per, etc.) _dmy= [this] spawn { params["_handler"]; [_handler, speaker _handler] remoteExecCall ["setSpeaker", 0]; sleep 1; _dog = [_handler, "Fin_blackwhite_F", (_handler modelToWorld [3,4,0]), false] call JBOY_dog_create; _dog setVariable ["vEnemyDetectDistance", 40, true]; _dmy = [_dog, _handler, 2.5] execVM "JBOY_Dog\JBOY_dogCommand.sqf"; sleep 1; _dog setVariable ["vCommand", 'stay', true]; }; 1 Share this post Link to post Share on other sites
lv1234 75 Posted November 9, 2018 Dynamic TCs seems to be buggy. In SP, the traders spawn with uniforms like normal without any errors while in MP, it is the exact opposite where they fail to spawn with uniform and it gives me errors relating to this line: "VD_TC_Equipper = { removeUniform _x; _x forceAddUniform selectRandom VD_EquipmentUniforms; _x addVest selectRandom VD_EquipmentVests;" Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 9, 2018 hmm i ll check it out. can you send a screenshot of the error message? there should be a # in front of a word/variable and then a line explaining the error, e.g. generic error, or error variable xyz not defined.. something like that. it may not have had enough time to load the uniform array for example. Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 9, 2018 in the file VD_TC_SpawnerRnd.sqf delete the two letters "de" at the very bottom of the code, they should not be there. i dint think that this is causing the issue but i just noticed it. Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 9, 2018 as of next update, guard and patrol dogs will make your life harder. Sites have a chance to spawn with a patrol dog or guard dog that will detect you if you get to close to them or vice verca:) with thanks and praise to @johnnyboy 3 Share this post Link to post Share on other sites
Weapon-Fetish 26 Posted November 10, 2018 Dont know why but since the 1.2 update the fps are heavy broken by me more then 20fps- since the last update with exact the same mission . I have take a look oder the setting have downgrade all a little bit but not help Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 10, 2018 yeah i noticed weird fps too, the amount of sites spawned should not matter too much tho as i have tested with quite a lot of sites. it is something else i think. is the low fps persistent or just at start? Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 10, 2018 (edited) btw i also think that i need to change the initialisation order. currently when having a lot of mods active, it may take too long to put together the arrays and the functions will access empty arrays. the initialisation order should be vd settings, vd Arrays, vd functions, vd init. i ll just move the execvm "....sqf" away from vd_init to the end of the previous sqf to ensure it only starts when the previous code is completed. (in case you want to change it yourselves). Further i have to look into lv1234s reported TC issue, it might be connected with the first issue. move the line the excecvm "...sqf" for; vd_settings from vd_init.sqf into init.sqf vd_arrays.sqf from vd_init.sqf into vd_settings.sqf (last line) and vd_functions.sqf into vd_arrays.sqf (last line) Edited November 10, 2018 by Vandeanson Share this post Link to post Share on other sites
Weapon-Fetish 26 Posted November 10, 2018 4 hours ago, Vandeanson said: yeah i noticed weird fps too, the amount of sites spawned should not matter too much tho as i have tested with quite a lot of sites. it is something else i think. is the low fps persistent or just at start? Its persistent, have testet it again wit only 5 sites for every category but not help really . before the last update i spawned all wath goes with the exact same mission and have by this a lot more fps . Oohyes and i find for 5 minutes a other issue with the markerplaced TC . By mission Start it builds up the trade with no uniform and nothing from the TC camp base ,and then after a couple of seconds the TC delete complete himself ,but i think the delte process its the result from the not completet script over what you talk 1 Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 10, 2018 2 minutes ago, Weapon-Fetish said: Its persistent, have testet it again wit only 5 sites for every category but not help really . before the last update i spawned all wath goes with the exact same mission and have by this a lot more fps . Oohyes and i find for 5 minutes a other issue with the markerplaced TC . By mission Start it builds up the trade with no uniform and nothing from the TC camp base ,and then after a couple of seconds the TC delete complete himself ,but i think the delte process its the result from the not completet script over what you talk but have you placed a marker for the TC? if not it gets deleted indeed. yeah i think its a code issue, one of the things i changed from 2.1 to 2.2. will check the script pack with each script disabled once to locate the issue Share this post Link to post Share on other sites
Weapon-Fetish 26 Posted November 10, 2018 Yeah its placed and would spawn at the marker . The other markers in VD settings are deletet by your instructions inside 1 Share this post Link to post Share on other sites
Weapon-Fetish 26 Posted November 10, 2018 I test this with the fps and the 1.2 in a couple of hours again on a empty map with the most mods disabled but with same settings to determite its can be a plague with ace 3 or something Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 10, 2018 (edited) i fixed it (atleast in my testing) with IFA3 light and NIARMS all in one on as well as some other mods - i think its just the initialization order. https://drive.google.com/open?id=1Q_ypm99kk9quN7G5JNQB0VHiidTNSs8k I hope this fixes it for you as well, else please let me know: if you want to make the changes without replacing everything: move the line the excecvm "...sqf" for; vd_settings.sqf from vd_init.sqf into init.sqf vd_arrays.sqf from vd_init.sqf into vd_settings.sqf (last line aboe the dynamicsimulation enable stuff) Spoiler VD_EquipmentMuzzlesReplace = []; VD_EquipmentOpticsReplace = []; VD_EquipmentFlashlightsReplace = []; VD_EquipmentBipodsReplace = []; execVM "VD_Script_Pack\VD_Arrays.sqf"; and vd_functions.sqf into vd_arrays.sqf (last line) and VD_init.sqf into VD_Functions.sqf (last line) Edited November 10, 2018 by Vandeanson 1 Share this post Link to post Share on other sites
Weapon-Fetish 26 Posted November 10, 2018 Allright THX VD i try it out next time 1 Share this post Link to post Share on other sites
Vandeanson 1677 Posted November 10, 2018 jbdogs (guard dogs and patrol dogs) and IEDs added to BC: the yellow markers and small red dots outside the camp stands for IEDs and trash (that looks like an IED) will be released with v2.3 doing some testing, fine tuning and code optimisation now. will also add the mines and chance for dogs to the hideouts. 2.3. also containes the Options to fully customize the AIs loadout (see vd_settings.sqf) if someone wants to test, please find the link for 2.3 here: https://drive.google.com/file/d/1qici1FaJLoYggBDP7EA1bnsw-7qlaTyq/view?usp=drivesdk thanks to @phronk and @johnnyboy for their awesome IED and Dog scripts;) 3 2 Share this post Link to post Share on other sites