Jump to content

spunfin

Member
  • Content Count

    89
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

34 Excellent

4 Followers

About spunfin

  • Rank
    Corporal

core_pfieldgroups_3

  • Interests
    AS3/Flash, AE, SQF, etc semi-easy

Contact Methods

  • Website URL
    http://kaartomedia.com
  • Skype
    tony.kaarlas
  • Youtube
    spunFIN
  • Steam url id
    fdsspun

Profile Information

  • Gender
    Male
  • Location
    Finland

Recent Profile Visitors

1601 profile views
  1. spunfin

    AI Spawn Script Pack

    Heys! o/ I've been once again super busy, but I'll try to check this issue out this weekend. Probably some very stupid and small logic error somewhere.
  2. spunfin

    AI Spawn Script Pack

    Thanks brother, Merry Christmas! o/ Hmm, sounds weird. I'll double-check that and will DM you a simple demo mission once I get home (maybe after Christmas, but we'll see).
  3. spunfin

    AI Spawn Script Pack

    Hey Ben, thanks! 🍻 Glad to hear you enjoy it
  4. spunfin

    AI Spawn Script Pack

    @KokayneKrayzie I couldn't test with actual dedicated server yet, but atleast in normal internet server (via Arma3) it seemed to work - does it work for you when you self host the server? If you have the same issue when self-hosting, I can maybe checkout your mission if I can spot something there. But if this is happening only in dedicated server, I'll have to set one up to test things a bit.
  5. spunfin

    AI Spawn Script Pack

    @baton1990 Good catch! In that situation, you actually need to use this format: _classModuleFilters = "['OPF_F']"; Also, current version patrol-vF.sqf might raise errors here, so here's a fixed version for it: https://kaartomedia.com/AISSP/files/patrol-vF.sqf @KokayneKrayzie I'll test that soon and get back to it. o/
  6. spunfin

    AI Spawn Script Pack

    Hmm, that is weird. Did you have LV -folder and description.ext in your test missions folder? (Just to be sure 😅) Here's a demo with it by using that very same script, check if that works for you: https://drive.google.com/file/d/1tds-p2nv2CGgz0Ar9ZarOeApcl9tFS3F/view?usp=sharing
  7. spunfin

    AI Spawn Script Pack

    Seems to work nicely - here's a very minimal example (just quickly copy-pasted the script from another thread); For example in init.sqf: map_enabled = false; map_click_handler = [ "reinforcementCall", "onMapSingleClick", { if (map_enabled) then { nul = [_pos, true, 1, 0, false, true, player, "random", 1500, true, false, 8, "default", [true, false, false, false], nil, nil, nil, false, true, ["ALL"]] execVM "LV\reinforcementChopper.sqf"; systemChat format ["Reinforcements requested to position; %1", _pos]; map_enabled = false; openMap false; }; }, nil ] call BIS_fnc_addStackedEventHandler; _id = player addAction [ "Call reinforcements", { map_enabled = true; if (!visibleMap) then { // will probably need to check if player has map, and use forceMap if he doesn't openMap true; waitUntil {visibleMap}; }; mapCenterOnCamera ((findDisplay 12) displayCtrl 51); waitUntil {!visibleMap}; if (map_enabled) then { systemChat "Reinforcements cancelled."; }; map_enabled = false; }, nil, 0.5, false, true ]; Additional ideas for this approach; you could add also marker to map when reinforcements are being called, and perhaps remove it once chopper leaves the LZ. addAction could be tied to somekind of device or radio, and limited by some interval or resources etc. This almost makes me want to create a SP scenario 😅
  8. spunfin

    AI Spawn Script Pack

    Glad to hear that! 🙂 Yes, that should work if you use AddAction to call it, perhaps via simple script that sets the desired position on to that first parameter. I'll try this some day this week, it would in fact make my own debugging also easier.
  9. spunfin

    AI Spawn Script Pack

    Thanks for the heads up! I'll have to check different FFV choppers and see how it goes with bis_fnc_spawncrew and probably update my cargo spot calculations - I just noticed I still have _cfg >> "Turrets" in it, instead of just "transportSoldier".
  10. spunfin

    AI Spawn Script Pack

    v1.15 Update New script and bunch of minor fixes. Download: https://kaartomedia.com/AISSP/files/AISSP_1.15.zip Docs and setup apps: https://kaartomedia.com/AISSP/ Changelog Added Added new main script: AmbientExplosions. Added LV\LV_functions\LV_fnc_findPosition.sqf to handle position searching between distances from defined center(s) while avoiding defined areas and/or objects. Fixed Fixed a bug where ReinforcementChopper choppers dropped dead right after spawning (reason was UAV config entries in classname arrays where the script selected a chopper). Improved heli spawning in ReinforcementChopper. Changed ReinforcementChopper: parsing off chopper classnames which includes 'UAV' or 'Light'. ReinforcementChopper: using now bis_fnc_spawncrew instead of manually creating pilot (now chopper also has a crew instead of lonely pilot).
  11. spunfin

    AI Spawn Script Pack

    v1.11 Update Download: https://kaartomedia.com/AISSP/files/AISSP_1.11.zip Docs and setup apps: https://kaartomedia.com/AISSP/ Changelog Added Added LV\LV_functions\LV_fnc_removeClasses.sqf which is now being used to remove unwanted classnames from classname arrays & nested classname arrays. This means there should be no crewmen and pilots anymore in normal infantry groups or in vehicle cargos. Changed All building related scripts will now skip roof positions, so for example FillHouse shouldn't spawn AI to roofs anymore, and AI shouldn't go to roofs while patrolling.
  12. spunfin

    AI Spawn Script Pack

    That's a nice idea, it makes no sense to have vehicles full of crewmen. Not even sure what I did that in the first place..
  13. spunfin

    AI Spawn Script Pack

    Haha, thanks! Good to hear! 😊 Yeah, sadly (or luckily?) Flash was banned from most browsers, so the old GUI wouldn't even work for normal users anymore. But my new documentation has kinda similar implementation, having more possibilities and functionalities. Been wandering in Insurgency Sandstorm, Squad, Tarkov, etc, but decided finally to reinstall Arma3. SQF feels reeally annoying after doing other languages for a few years, but hopefully I get to push myself forward with it and find motivation to come up with new stuff.
  14. spunfin

    AI Spawn Script Pack

    Long time no see! v1.1 Update Download: https://kaartomedia.com/AISSP/files/AISSP_1.1.zip I finally had some time, so I made a simple web app to setup all the scripts easily. It's integrated to new documentation here: https://kaartomedia.com/AISSP/ While testing everything, I fixed all the bugs I found and made some basic optimizations... eh, 7 years after Na_palm suggested me to do it. I also included his awesome SimpleCacheV2 script with minor tweaks (documentation has also a simple setup tool for it). Let me know if you face any errors or find bugs! Changelog Added Added SimpleCacheV2 (by Na_Palm) which wont require you to initialize FillHouse & Militarize instances separately. Added a few fairly simple extra scripts and possibility to set them to Custom init parameter via the setup tools in this documentation. Fixed Fixed a bug where HeliParadrop was spawning only parachutes (reason was parachute config entries in classname arrays where the script selected a chopper). Fixed multiple bugs in RandomSectors mission template script (custom init handling was causing few of them). Fixed a typo in Militarize (might have caused issues when combining SimpleCache scripts to Custom init). Changed Added global center variables so that all the scripts aren't adding new center's all the time. Added minimal sleeps to all loops. This will slow things down barely marginally, yet it improves performance.
  15. spunfin

    AI Spawn Script Pack

    @Fritz Le @Lloyd Dawkins I'm actually just playing around with RHS units, so here's a minimized example: class customClass2 { side = 3; //0 = CIV, 1 = BLU, 2 = OPF, 3 = IND men[] = {"rhsgref_ins_base","rhsgref_cdf_ngd_rifleman","rhsgref_cdf_ngd_rifleman_m92","rhsgref_cdf_ngd_rifleman_lite","rhsgref_cdf_ngd_grenadier"}; men2[] = {""}; men3[] = {""}; menSF[] = {""}; divers[] = {""}; cars[] = {""}; tanks[] = {""}; helicopters[] = {""}; planes[] = {""}; ships[] = {""}; }; And you would use ["customClass2"] as a parameter. And simple playaround to dig up some classnames (not the best possible one I'm sure): _all = "getText (_x >> 'author') == 'Red Hammer Studios'" configClasses (configFile >> "CfgVehicles"); _count = (count _all) - 1; _array = []; for "_i" from 0 to _count do{ if(getText((_all select _i) >> 'textPlural') == 'infantry' && getNumber((_all select _i) >> 'side') == 2)then{ _array = _array + [configName (_all select _i)]; }; }; copyToClipboard (str _array); Dig into config viewer and find values you can identify the modded units from, like here with Zombies and Demons: Experience is pretty fun once you have one enemy side filled with RHS units, one with Zombies, and random loot everywhere. :)
×