Jump to content

Search the Community

Showing results for tags 'module'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Virolahti
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Saint Kapaulio
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • SOS GAMING's TS³ Viewer
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 73 results

  1. Hey BIS Forums, Can anyone explain how SpawnAI unit costs are actually calculated? I'm working on a mission using the SpawnAI modules. The SpawnAI modules have a manpower cap of 50 by default and I'd like to tweak it to spawn more/less units of different types (infantry, armor etc). According to the MP Support Guidelines on the BIS Wiki... a rifleman costs about 0.5 an AA/AT soldier about 6 a MRAP about 6 an APC about 12 a tank about 27 The page says the values are calculated using the cost and threat values defined in the unit's config. I admit I'm not great at math, but I just don't see how they came up with 0.5 as an answer using those two values. Example 1 - a standard NATO rifleman ("B_Soldier_F") and open up his entry in the config viewer: cost = 100000; threat[] = {0.8,0.1,0.1}; Example 2 - NATO AT Missile Specialist ("B_soldier_AT_F"): cost = 130000; threat[] = {0.8,0.8,0.3}; According to the guidelines these units should cost 0.5 and 6 respectively. Clearly I'm missing something, so can anyone tell me how unit costs are actually calculated? Thanks in advance.
  2. Hi all, I'm frequently scripting around BI modules overriding. I scripted some "multiple bombs" + "napalm" CAS for thus who knows MGI tactical pack addon. Today, I'd like to share a little script if you would like to drop a car (any vehicle) instead of a crate. Place a BI support module (virtual drop). It should work also with a real support. Not tested. Name it. Don't forget the BI support requester, sync modules as usual. In the BI module, write all vehicle types you want (helicopter classes existing in your cfgVehicles); In my example, as I'm fond of UNSUNG: ["uns_ach47_m200","uns_ch47_m60_army"] and this remark: the APEX V44 Blackfish ("B_T_VTOL_01_armed_F") is a plane but you can use it for faster drop! add what you want in the crate init, for example, I like to signal the crate with smoke/flare and add virtual arsenal on it: [_this,{ _this addAction ["<t color='#ffff11'>Arsenal</t>", {["Open",true] spawn BIS_fnc_arsenal},nil,10,false,true,"", ""]} ] remoteExec ["call"]; _flare = if (sunOrMoon <0.5) then [{"F_20mm_Yellow"},{"smokeShellYellow"}]; _fumi = _flare createvehicle getPosATL _this; _fumi attachTo [_this,[0,0,-2]]; Remark: this code is for standard drop of a crate, but will be overridden with vehicle code. add a simple calling code in the Vehicle init of the module (here vehicle is the helicopter, not the parcel!): _this spawn MGI_fnc_dropVeh with the following remark: I use to compile sqf in init.sqf: MGI_fnc_dropVeh = compileFinal preprocessFileLineNumbers "MGI_fnc_dropVeh.sqf"; (You can also directly execVM it, writing _this execVM "MGI_fnc_dropVeh.sqf" in vehicle init of the module). Now, the sqf code: MGI_fnc_dropVeh.sqf: Last version 03rd/08/18 _veh = _this; if !(_veh isKindOf "uns_ach47_m200") exitWith {}; comment "choose the helicopter class you want for car drop, the other ones will drop simple crates."; _home = getpos _this; _grpVeh = group _veh; sleep 3; _currentwpt = [_grpVeh, currentWaypoint _grpVeh]; _currentwptPos = waypointPosition _currentwpt; _currentwptdesc = waypointDescription _currentwpt; deleteWaypoint _currentwpt; _wpt = _grpVeh addWaypoint [_currentwptPos,0]; _wpt setWaypointDescription _currentwptdesc; _wpt setWaypointStatements ["TRUE", " if (isServer) then { [this, this getVariable 'BIS_SUPP_supportRunCoords', 'B_Parachute_02_F', 'B_MRAP_01_hmg_f', this getVariable 'BIS_SUPP_selectedModule'] spawn { _pilot = _this select 0; _wpPos = _this select 1; _chuteType = _this select 2; _crateType = _this select 3; _crateCode = compile ""[_this,{_this addAction ['Arsenal',{['Open',true] spawn BIS_fnc_arsenal},nil,10,false,true,'', '']}] remoteExec ['call']; _flare = if (sunOrMoon <0.5) then [{'F_20mm_Yellow'},{'smokeShellYellow'}]; _fumi = _flare createvehicle getPosATL _this; _fumi attachTo [_this,[0,0,-2]]""; comment 'optional remove the _crateCode line if you dont want an arsenal'; _oldDist = _pilot distance _wpPos; while {_oldDist >= _pilot distance _wpPos} do { _oldDist = _pilot distance _wpPos; sleep 0.1 }; _pilot setVariable ['BIS_SUPP_supporting', FALSE]; _chute = createVehicle [_chuteType, [100, 100, 200], [], 0, 'FLY']; _chute setPos [position _pilot select 0, position _pilot select 1, (position _pilot select 2) - 50]; _crate = createVehicle [_crateType, position _chute, [], 0, 'NONE']; vehicle _pilot setVariable ['MGI_crate',_crate,true]; _crate call _crateCode; comment 'to be removed also, if the _crateCode line is removed above.'; _crate attachTo [_chute, [0, 0, 0]]; waitUntil {position _crate select 2 < 3 || isNull _chute}; detach _crate; _chute setVelocity [0,5,0]; vehicle _pilot setVariable ['MGI_crate',nil,true]; }; }; "]; _grpVeh setCurrentWaypoint _wpt; _wp2 = _grpVeh addWaypoint [_home, 0]; _wp2 setWaypointType "Move"; _wp2 setWaypointBehaviour "SAFE"; _wp2 setWaypointStatements ["TRUE", "vehicle this land 'LAND'"]; _veh land "none"; waitUntil {!isnil {_veh getVariable "MGI_crate"}}; sleep 60; {deleteVehicle _x} forEach crew _veh; deleteVehicle _veh; Hope you'll have fun with that. An adapted version is now included in the MGI advanced Modules addon.
  3. Hi all, Here is a new module in MGI Advanced Module addon, for spawning any groups you want, any time... (done) This module allows: - to spawn any group, even customized, on any side, - spawning on multiple possible areas (triggers) - with a wide randomized choice or a very specific group. You can place several modules on the map, each of them have their own parameters; 1. Choose the side (applies to all groups spawned from a module, no matter the initial vanilla side). So civilian units can be aggressors. 2. decide if you want to spawn: * at total random (so the groups are picked in cfgGroups, but for the side you chose (normal limitation) * at randomized or specific faction(s) . They must exist in cfgGroups (not all factions from cfgFactionClasses are available for groups). All factions (cfgGroups) are available so not depending, here, on the final side * You can filter these first possibilities by the type(s) of groups. For example, "infantry" and/or "motorized" and/or "armored"... But, these types must exist in the cfgGroups. * you can choose to spawn a specific group (from cfgGroups).. or even an array of units, vehicles... or even an edited group (with all customized textures, pylons, loadouts...) * linked group(s) on module, customized or not, will be candidates for spawning. That's fine for spawning not existing groups such as air or sea patrols. 3. Choose the attitude: behavior, combat mode, formation... 4. choose the repeat sequence (limitation and delay 5. decide on what condition groups module can spawn (not only at start, but any time!) 6. decide for a simple task (or not). Chase players, enemies, defend... 7. run a code for each group (useful for specific task) MODULE(S) IN 3DEN - Position/ area of the module(s) if no synced trigger area. Direction of the module, in 3den, is the direction of the group (if no synced trigger area) SYNCED TRIGGER AREA(S) - The position, area and direction of the module doesn't matter any more. The group(s) are spawning at randomized positions in randomized trigger area(s), with the direction of the trigger area. SYNCED UNIT(S) - In 3den, you can place (customized or not) group(s) with the module(s). No matter if you synced one (leader or not) or several units of a group, with the module. The group will be candidate for spawning. PARAMETERS SIDE - Definitely the side of your group(s) for this module. No matter the choice you did (edited group, chosen faction(s), or type(s) of group or group(s)..) What ever you spawn we belong to this side. --> But, if you let the module at full random (no synced group, no, faction, no type, no group), in this case, the randomized group is picked among the native possibility from cfgGroups. So, if you just select a side (say EAST), you'll spawn randomized groups(s) from OPFOR. HOW MANY GROUPS - The number of group(s) to be spawned at each occurrence. Randomization will depend on the possibility of what you want to spawn, so your choice) Min 1 max 12 (limited for performance saving when spawning heavy customized groups. Feel free to add other modules) NOTE: The modules works with edited groups or existing configs/classes of groups in cfgGroups (see config viewer from console). So, scripted groups have always the architecture: configFile >> "cfgGroups" >> "side" >> "faction"* >> "type of group" >> "group" ... then units/vehicles for each group Example: side like "Indep" , faction like "IND_E_F", type like "infantry", group like "I_E_InfSquad" FACTION(S)* - If empty, no filter about them. If filled without any more details (type(s), group(s) ) all available factions in cfgGroups can be used to spawn any child type, then any child group. But ⚠️ all current faction names can't work. Some existing factions in cfgFactionClasses are not present in cfgGroups. For example: "CIV_IDAP_F" (IDAP civilian faction has no group) or even "OPF_V_F" (Arma Viper) can't work in the architecture of cfgGroups. (for Viper, the only group defined in: configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "SpecOps" >> "OI_ViperTeam" exits. So at faction level, there is nothing to do). You can fill the parameter with a working class like: "OPF_F" , or the config (configfile >> "CfgGroups" >> "East" >> "OPF_F"), or an array of these possibilities. Not case sensitive. TYPE(S) - if more a filter about what you want to spawn. That should be simple as "infantry" or " motorized or mechanized" or "armored". That doesn't. Even in Arma vanilla, you can find exotic classes as "motorized_MTP". Any dev has his own mind to sort the groups by types. The reason is probably the way you can find sorted groups in 3den's right panel. But, it's just impossible (or needs an updated list of hundreds of names) to filter groups easily. You have to do that job, if you want to do so, writing a config or a class or an array of that, for filtering the type(s). Not case sensitive but do not make typo's error! If wrong, there is no more filter. You can fill the parameter with a working class (not the config) like: "specops", or an array of these possibilities. SPECIFIC GROUP(S) - a step more for less randomization. You are at the group level. As factions, you can fill it with class (of group) or config or an array of these possibilities. Much more, you can add arrays of units/vehicles class(es). That's also a way to customize some groups, but one the contrary of synced edited ones, you'll not able to define appearance for vehicles or pylons payload at this moment. RADIUS AREA - radius of the module area, so the spawn area if no synced trigger areas. Useless if any trigger area synced. GROUP(S) DIRECTION - orientation of the module in 3den (shift mousse drag) . Do not write anything on field (it's a result, not an entry). Useless if any trigger area synced. GROUP(S) SKILL - As 3den, skill for whole group, with +/-10% randomized on each units. ENABLE DYNAMIC SIMULATION - As in 3den. See Biki for detailed explanation (recommended) CONDITION FIELD - checked every 2 seconds. So, much more convenient than a simple condition of presence at start! Feel free to do what you want but return a boolean. Examples: * spawning only at night : sunOrMoon < 0.5 * strengthening weakened side : INDEPENDENT countSide allGroups < 3 * waiting for more players : count allPlayers > 2 * even checking for 1000 m distance at least from any player: private _possAreas = _logic getVariable "possAreas"; (count allPlayers > 0 && allPlayers findIf {private _plyr = _x; _possAreas findIf {_plyr distance _x#0 < 1000} == -1} == -1) but that will not despawn or hide or disable the groups! See the dynamic simulation instead. REPEAT OCCURRENCE - the added times for re-spawning the same groups (not at the same place) . 0 means no more occurrence. -1 means infinite repeat. So if you want to spawn 3 times a group, set it to 2 (1 shot + 2 added) INTERVAL FOR REPEAT - A delay between 2 consecutive spawns , if the condition are met. If not, the spawn will wait for condition to be TRUE, then spawn, then wait for interval duration, then check for condition... min 30 sec max 2 hours. FORMATION OF THE GROUP - As usual. Sometimes this setting is reinitialized to default wedge. I didn't identify why. So check twice before OK button and save scenario. BEHAVIOR - (or behaviour, sorry) Same as usual COMBAT MODE - same as usual SPEED MODE - As usual. same little problem as formation. Check twice. INSIGNIA - I hope that works fine everywhere... CODE FOR GROUP - Blank of any code (without {}). Passes parameters are <group> <<leader>, <vehicles of the group> . For example, just write: params ["_grp","_lead","_vehs"]; private _wp = _grp addWaypoint [<aPosition>,0]; _wp setWaypointType "MOVE"; _lead forceFlagTexture "\A3\Data_F\Flags\Flag_red_CO.paa"; {_x setFuel 0.2} forEach _vehs No bracket, just like this. BASIC TASK - can be: * Do Nothing (the preferred one of dumb AIs) * Attack nearest known enemy. So the group will start after an enemy knowledge acquisition. Not before. I hope I managed air assets for chasing air assets... I can't imagine infantry running after a jet. * Chase nearest enemy. Same as above but the position of nearest enemy is known (for spawning attack waves for example) * Attack nearest Player (known enemy) . The group must acquire the detection of a hostile player. * Chase nearest player (enemy). The group will start the hunting on player's (updated) position. * Defend this area. some SAD waypoints in the area of the group(s). known difficulties - Mods like Unsung or CUP or RHS (all in fact) requires a sharp attention for the name of the factions/groups but also Types... of groups. You can't imagine hundreds of names for stupid things like "infantry" "armored" "mechanized" ... That should be normalized, but not! - Too many mods, even non used by mission, but just loaded on server (so ticked), will affect the randomization for nuts, and lead to unwanted results like Arma or CUP units during Unsung play. know bugs all corrected so far To do list: - respawn without delay on whole group death - add a filter for mods... A lot of work. Enjoy! All feedback welcome. [RELEASED]
  4. MGI ADVANCED MODULES Hi all, Here is an addon for mission makers. If you need to easily spawn some factions, some civilian life or just add randomized weapons loot in houses... If you want an advanced AI heal & revive, for SP or MP mission, able to heal players or bros.. ... or respawning AIs, in waves or at once.. If you want a transport support on any vehicle... A vehicle respawn system with crew, waypoints, loadouts, addActions, arsenal.... Friendly kill sanction... AI cannons able to fire HE shells on infantry... Some generators able to switch on/off a district... or adapt silencers to combat behavior... or perhaps a simple tool for reading all map object classes/display names/p3d model names... Other tools like tire puncture on barbed wires? ... And of course, MP compatible, favorite mods compatible... Here you are. https://steamcommunity.com/sharedfiles/filedetails/?id=1682280809 Adapt silencers to stealth/combat situation No video SP/MP compatible - all mods Advanced patrols (spawning factions on locations/areas, patrolling then split for defending/attacking) See video SP/MP compatible - all mods Advanced transport See video SP/MP compatible - all mods AI can respawn No video SP/MP compatible - all mods Civilian life See video SP/MP compatible - some known mods Drop vehicle instead of crate See video SP/MP compatible - all mods Enhanced Turrets No video SP/MP compatible - all mods (so far. feedback welcome) Flip overturned vehicle No video SP/MP compatible _ all mods HALO jump No video SP/MP compatible - all mods Heal & revive see video SP/MP compatible - check for mods... Modded units are not a problem. But some mods like ACE have their own scripts and could be incompatible. Furthermore, I scripted for some conditions about the presence of FirstAidKit and MediKit. This module is complex enough. I didn't grab into mods for exotic classes of items (and I will not). Of course, you can choose to skip these conditions. Kill punishment See video SP/MP compatible -all mods Loot weapons & items in houses See video SP/MP compatible - some mods (CUP UNSUNG IFA3 RHS R3F) Marker to Task See video SP/MP compatible - all mods Respawn vehicles No video (see an old one about script to have an idea) SP/MP compatible - all mods Important note: This module uses EH handleDamage. This EH doesn't work if you apply something like: testedVehicle setDamage 1 from console. The script needs some hits on parts (updating vehicle data before destruction). So, crew and waypoints will be respawned after a current kill/disabled vehicle in game. SP simple respawn No video Single Player only Switch ambient lights See video SP/MP compatible - all mods so far... Tire puncture No video SP/MP compatible - some mods Touch of class! See video SP/MP compatible - all mods Wear what you want No video SP / MP compatible - all mods (not all. Some weird mods don't have true uniforms but some skinned units... Nothing to do with that) One man tank No video SP/MP compatible - all mods with Tanks or APCs Prisoners See video SP/MP compatible (not fully tested in MP) - all mods so far This list is incomplete. I'm late with documentation.. Have fun! Pierre MGI 06 sept 2020 See also new modules. On line in a couple of days.
  5. Hey guys, My Real World Weather mod has been out-of-date for quite sometime. So I finally got around to updating it to use a new API provider. Now it uses https://www.weatherstack.com instead of the previous, Wunderground. Also I've never made a release thread for the mod, so I figured I might as well do one now after the update. Anyways here it is. Cheers! WORKSHOP DOWNLOAD https://steamcommunity.com/sharedfiles/filedetails/?id=879970502 Summary: Integration of a real-time weather API into arma 3. Grabs Real forecast data from an official reliable Weather Provider. Uses terrains Real World Counter-part Predicts future forecasts based on actual weather statistics. Option to sync time with location. Adds extra Immersion and Feel 3den Editor Extension (highly customizable module). Real-time weather Debug console. 32 and 64 bit support Auto config option included Keep in mind, This is a weather prediction system and it may not be entirely accurate at times. (Just like real life weather forecasts). The system does what it can with the data it's provided and makes calculations based on those. NOTES: 1. This mod runs on the server side, but is required by clients due to the newly created module. 2. Set Clouds on "Ultra" in video settings for best effects 3. You do need your own API key. You can get one for free at https://www.weatherstack.com Help/Questions: Where is the module? The module is located in the games editor ("Systems" >> "[HZ] Real-World Weather" >> "Real World Weather") Can I search for my own Weather Stats anywhere in the world?: Yes!, This System allows for dynamic search query's all over the world. With your own key simply enter the Country and City you want weather from. Everything is available to you in a easy to use Module If you are having issues getting data from the places you want, follow the steps below. Can I search using (Lat, Long) co-ords? Yes, If you have your own key. Replace Country with the latitude. Replace City with the longitude. What is a API key and do I need one? Yes, This mod does require you to own a API Key!. In short, API keys are unique id's which allow access to the Specific data services like Google, Weatherstack etc and are needed to prevent abuse and overload of the systems. Free API keys are usually limited to (x) amount of calls per hour or per day. For more info on weather API keys or how to get your own visit. https://www.weatherstack.com/ Additional Credits Daithi: Mods logo! Killzone Kid: Url fetch dll WORKSHOP DOWNLOAD https://steamcommunity.com/sharedfiles/filedetails/?id=879970502 Pictures
  6. I want to make a big Sector Control mission in the editor and then export to Singleplayer to play. I put a lot of Sector Control Modules on the map in the editor, I set Spawn AI Modules for BLU and OPF and exported to Singleplayer, in the beginning everything worked as it should, AI spawns, moves, fights with each other and conquers Sector Controls by map, then after I clicked Save & Exit to continue this mission later. But after reloading the save game I noticed that me and the AI (BLU and OPF) can´t capture Sector Controls. Sector Controls do not change color, they remain gray. The modules seem to have stopped working after the reload and need to be reactivated via script? How can I reactivate this? I wish I could save this mission so I could easily reload and continue later. Not that I have to play the whole mission in one piece. This is very important to me! If anyone can help, I will be very grateful.
  7. Terrain Object Replacement Modules Replace or delete massive numbers of terrain objects easily Download: https://steamcommunity.com/sharedfiles/filedetails/?id=2276624333 Check images below for how to use: Explanation:
  8. MGI GUN RUN Last update: 01/05/2020 Hi all, Here is another script to add a specific gun run, calling a virtual or real CAS. This script is to copy/paste inside BI init CAS module. Nothing more to do! The code will search for "cannon" or "Gatling" in the pilot's weapon. So far, it doesn't work for gunners. You can see "no pilot cannon" in the sub-menu. If you find some non-listed pilot's cannon, let me know. Tips: - Always place your module/aircraft at 2 km from a target area. It's far better for a straight-in approach. You can even place them outside of the map. - Don' try to repeat the CAS too soon with a real aircraft. It will turn around the target without aiming it. Don't forget, pilots are dumb (I can say that referring to my own career). - At this time, Buzzard is far more precise than Wipeout which generously spread ammo with poor efficiency. Code to copy/paste in init field of the CAS module: MGI_CAS_MODULE_1 = this; MGI_CAS = compileFinal " if !(GUNRUNCAS) exitWith {}; private _isVirtual = ({_x isKindOf 'air'} count synchronizedObjects MGI_CAS_MODULE_1 ==0); private _pilot = player getVariable 'BIS_SUPP_selectedProvider'; private _veh = vehicle _pilot; private _home = getPos MGI_CAS_MODULE_1; private _trts = (_veh WeaponsTurret [-1]) select { getText (configfile >> 'CfgWeapons' >> _x >> 'nameSound') == 'cannon'}; waitUntil {!isNil {_pilot getVariable 'BIS_SUPP_requester'} && {!isNull (_pilot getVariable 'BIS_SUPP_requester')}}; private _requester = _pilot getVariable 'BIS_SUPP_requester'; 'Gun run requested' remoteExec ['hint',_requester]; waitUntil {!isnil {_pilot getVariable 'BIS_SUPP_supportRunCoords'}}; private _coords = _pilot getVariable 'BIS_SUPP_supportRunCoords'; private _alt = getTerrainHeightASL _coords; private _limit = [40,90] select (_veh distance2D _coords < 2500); _pilot setCombatMode 'BLUE'; _veh flyInHeightASL [_alt +500,_alt +500,_alt +500]; waitUntil {_veh distance2D _coords < 2000}; if (!isNil 'BIS_SUPP_laserTGT') then {deleteVehicle BIS_SUPP_laserTGT; BIS_SUPP_laserTGT = nil}; private _timer = diag_tickTime; _veh flyInHeightASL [_alt +100,_alt +100,_alt +100]; private _resultOK = false; 'In sight' remoteExec ['hint',_requester]; private _typeForIndep = (WEST getFriend RESISTANCE >0.6); private _tgttype = ['laserTargetE','laserTargetW'] select (side _veh == WEST or (side _veh == RESISTANCE && _typeForIndep)); private _tgt = createVehicle [_tgttype,_coords,[],0,'none']; if (count _trts > 0) then { _trt = _trts select 0; private _mags = (getArray (configfile >> 'CfgWeapons' >> _trt >> 'magazines')) arrayIntersect (_veh magazinesTurret [-1]); comment ""private _cnt = getNumber (configFile >> 'cfgMagazines' >> _mags select 0 >> 'count')""; _pilot setCombatMode 'RED'; _pilot reveal [_tgt,4]; _veh selectWeaponTurret [_trt,[-1]]; private _cnt =_veh magazineTurretAmmo [_veh currentMagazineTurret [-1],[-1]]; while {diag_tickTime < _timer + _limit} do { _tgt setPosASL (getPosASL _tgt vectorAdd [0,0,(0.18 * (_veh distance2D _tgt)) -270]); _veh selectWeaponTurret [_trt,[-1]]; _veh doTarget _tgt; if ((_veh weaponDirection _trt vectorCos (AGLToASL _coords vectorDiff (eyepos _pilot))) > 0.999) then { [[_veh,_trt], BIS_fnc_fire] remoteExec ['call',_veh]; if (_veh magazineTurretAmmo [_veh currentMagazineTurret [-1],[-1]] < _cnt) then {_resultOK = true}; } else { _pilot lookAt _tgt }; uiSleep .01; }; }; if (!_resultOK) then {_pilot setVariable ['BIS_SUPP_failed',true]}; (['Gun run aborted','Gun run terminated, resuming support'] select _resultOK) remoteExec ['hint',_requester]; if !(_isVirtual) then { waitUntil {waypointType [group _veh,currentWaypoint group _veh] == 'MOVE'}; [group _veh,currentWaypoint group _veh] setWaypointPosition [_home,0]; [group _veh,currentWaypoint group _veh] setWaypointStatements ['true','']; _veh setFuel 1; {_veh setAmmo [_x, 2000]} forEach _trts; }; _pilot setVariable ['BIS_SUPP_supporting',false]; if (_isVirtual && alive _veh) then {uiSleep 120; deleteVehicle _veh}; "; 0 = MGI_CAS_MODULE_1 spawn { while {true} do { GUNRUNCAS = false; waitUntil {uiSleep 0.2; !isnil {player getVariable "BIS_SUPP_selectedProvider"}}; waitUntil {!isNil {player getVariable "BIS_SUPP_request"} && {(player getVariable "BIS_SUPP_request") #0 == "CAS_Bombing"} && {!isnull (player getVariable "BIS_SUPP_selectedProvider")}}; private _pilot = player getVariable "BIS_SUPP_selectedProvider"; private _veh = vehicle _pilot; private _trts = (_veh WeaponsTurret [-1]) select { getText (configfile >> "CfgWeapons" >> _x >> "nameSound") == "cannon"}; private _cooldown = time - (_this getVariable ["BIS_SUPP_lastCall",time -122]) - ((_this getVariable ["BIS_SUPP_cooldown",0]) max 60); BIS_SUPP_commMenu = BIS_SUPP_commMenu + [ [ ["Gun run request",["No pilot cannon!",format ["wait for %1 sec",-(round _cooldown)]] select (_cooldown < 0)] select (count _trts == 0 or _cooldown <0), [4], "", -5, [[ "expression","GUNRUNCAS = true; [] spawn MGI_CAS; player setVariable ['BIS_SUPP_ammoType', 0]" ]], "1", ["1","0"] select (count _trts == 0 or _cooldown < 0), "\A3\ui_f\data\IGUI\Cfg\WeaponCursors\cannon_gs.paa" ] ]; uiSleep 0.1; showCommandingMenu "#USER:BIS_SUPP_commMenu"; waitUntil {uiSleep 0.2; isNil {player getVariable "BIS_SUPP_selectedProvider"} or {!isNil {player getVariable "BIS_SUPP_selectedProvider"} && isnull (player getVariable "BIS_SUPP_selectedProvider")}}; }; }; Seems to be short? It took me a lot of hours to find this solution. Feel free to test, comment, ask for some implementation. Pierre
  9. Markus Staiger

    Eden Editor Supply Drop HELP!

    Can I add different types of magazines to the supply drop? I tried it this way but it doesn’t work: clearMagazineCargo _this; clearItemCargo _this; clearWeaponCargo _this; _this addMagazineCargo ["Item_FirstAidKit", 15]; _this addMagazineCargo ["Item_Medikit", 15]; _this addMagazineCargo ["rhs_magazine_rhs_100Rnd_762x54mmR_green", 15]; _this addMagazineCargo ["rhs_magazine_rhs_10Rnd_762x39mm", 30]; _this addMagazineCargo ["rhs_magazine_rhs_10Rnd_762x39mm_tracer", 30]; _this addMagazineCargo ["rhs_magazine_rhs_10rnd_9x39mm_SP6", 30]; _this addMagazineCargo ["rhs_magazine_rhs_10Rnd_762x54mmR_7n14", 30]; _this addMagazineCargo ["rhs_magazine_rhs_mag_9x19_17", 30]; _this addMagazineCargo ["rhs_magazine_rhs_20rnd_9x39mm_SP5", 30]; _this addMagazineCargo ["rhs_magazine_rhs_mag_9x19mm_7n21_20", 30]; _this addMagazineCargo ["rhs_magazine_rhs_30Rnd_545x39_7N10_2mag_AK", 30]; _this addMagazineCargo ["rhs_magazine_rhs_30Rnd_545x39_7N10_AK", 30]; _this addMagazineCargo ["rhs_magazine_rhs_45Rnd_545x39_AK", 30]; _this addMagazineCargo ["rhs_magazine_rhs_5Rnd_338lapua_t5000", 30]; _this addMagazineCargo ["rhs_magazine_rhs_mag_9x18_8_57N181S", 30]; _this addMagazineCargo ["rhs_magazine_rhs_mag_f1", 20]; _this addMagazineCargo ["rhs_magazine_rhs_GDM40", 20]; _this addMagazineCargo ["rhs_magazine_rhs_rpg7_PG7VL_mag", 10]; Signal = "SmokeShellYellow" createVehicle position _this; _this allowDamage false; HELP plz!
  10. Hello, everyone! I have played missions with such tasks. For example: the player can finish a main task, shown above the others, when 2 or more other side/secondary tasks are completed. My simple example: -> Main Task: Survive - Kill The Officer - Destroy Tank When I kill the officer and destroy the enemy tank, I have completed these side/secondary tasks, and with that the main task: Survive, is also completed. Is this some special script that should be used or just placing down any modules in the Eden editor?
  11. Hello, does anyone know how to create the Zeus modules for the Zeus of Arma 3 Vanilla. I knwo how to create the modules for EDEN, but I don't see nothing for Zeus Modules https://community.bistudio.com/wiki/Modules Thx.
  12. Hi Everyone, I'm looking for some help regarding a zeus module that I am creating. To give some background, the module (when placed) should prompt the user to use sliders to configure a radius and number of AI with which to garrison buildings within said defined radius. I think I'm running into an issue with execution locality, as this works perfectly in the editor. Expected behavior: User selects the module in zeus and places it somewhere on the map Dialog box appears to ask them to configure radius and number of AI User hits OK and it calls another function to start placing AI relative to the module location In singleplayer this works as above (I imagine this is due to the server and client both being local) In multiplayer, the function to create the dialog is executed on the server (evidenced by debug output to the console), but a dialog does not appear for Zeus My module is defined as follows: class xeen_module_base: Module_F { icon = "\xeen_modules\insignia.paa"; category = "xeen_modules"; isGlobal = 0; isTriggerActivated = 1; isDisposable = 1; is3DEN = 0; curatorCanAttach = 1; scope = 1; scopeCurator = 1; }; class xeen_moduleGarrison: xeen_module_base { displayName = "Garrison Area"; function = "xeen_fnc_garrisonModuleDialog"; functionPriority = 10; scope = 2; scopeCurator = 2; class Attributes: AttributesBase { class GarrisonSpread: Edit { property = "xeen_moduleGarrison_GarrisonSpread"; displayName = "Unit Spread (m)"; tooltip = "The distance of buildings to be garrisoned"; typeName = "NUMBER"; defaultValue = "50"; }; class MaxPerBuilding: Edit { property = "xeen_moduleGarrison_MaxPerBuilding"; displayName = "Max units per building"; tooltip = "Max units per building"; typeName = "NUMBER"; defaultValue = "5"; }; //class ModuleDescription: ModuleDescription{}; // Module description should be shown last }; #include "description.hpp" }; and it calls the following function: /* * Author: Xeenenta * Opens the dialog menu for the garrison module * * Arguments: * 0: Logic <LOGIC> * * Return Value: * None * * Example: * [_logic] call xeen_garrison_fnc_garrisonModuleDialog * * Public: No */ // Parameters params ["_logic"]; _logicLocation = getPos _logic; diag_log format ["Spawning display with logic %1", _logicLocation]; // Create display createDialog "garrisonModuleDialog"; _display = findDisplay 99; // Set Variable _display setVariable ["_logicLocation", _logicLocation]; diag_log "Finished spawning display"; and my dialog is defined here: class garrisonModuleDialog { idd = 99; access = 0; movingEnable = false; enableSimulation = false; class ControlsBackground { class IGUIBack_2200: IGUIBack { idc = 2200; x = 0; y = 0.4; w = 1; h = 0.6; }; class RscStructuredText_1100: RscStructuredText { idc = 1100; text = "AI per building:"; //--- ToDo: Localize; x = 0.025; y = 0.68; w = 0.17; h = 0.05; }; class RscStructuredText_1101: RscStructuredText { idc = 1101; text = "Garrison Radius:"; //--- ToDo: Localize; x = 0.025; y = 0.44; w = 0.17; h = 0.05; }; class RscStructuredText_1102: RscStructuredText { idc = 1102; text = "0"; //--- ToDo: Localize; x = 0.1625; y = 0.68; w = 0.06; h = 0.05; }; class RscStructuredText_1103: RscStructuredText { idc = 1103; text = "0m"; //--- ToDo: Localize; x = 0.2; y = 0.44; w = 0.06; h = 0.05; }; }; class Controls { class RscButtonMenuOK_2600: RscButtonMenuOK { idc = 1234; x = 0.875; y = 0.88; w = 0.1; h = 0.1; onButtonClick = "[(findDisplay 99) getVariable ['_logicLocation', objNull], sliderPosition 1901, sliderPosition 1900] call xeen_fnc_garrisonModuleInit; (findDisplay 99) closeDisplay 1;" }; class RscButtonMenuCancel_2700: RscButtonMenuCancel { x = 0.75; y = 0.88; w = 0.1; h = 0.1; }; class RscSlider_1900: RscSlider { idc = 1900; x = 0.025; y = 0.74; w = 0.95; h = 0.1; type = 43; arrowEmpty = "\A3\ui_f\data\gui\cfg\slider\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\slider\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\slider\border_ca.paa"; thumb = "\A3\ui_f\data\gui\cfg\slider\thumb_ca.paa"; color[] = {1,1,1,0.5}; coloractive[] = {1,1,1,1}; sliderPosition = 0; sliderRange[] = {0,10}; sliderStep = 1; lineSize = 1; onSliderPosChanged="((findDisplay 99) displayCtrl 1102) ctrlSetStructuredText parseText str(sliderPosition 1900)" }; class RscSlider_1901: RscSlider { idc = 1901; x = 0.025; y = 0.5; w = 0.95; h = 0.1; type = 43; arrowEmpty = "\A3\ui_f\data\gui\cfg\slider\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\slider\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\slider\border_ca.paa"; thumb = "\A3\ui_f\data\gui\cfg\slider\thumb_ca.paa"; color[] = {1,1,1,0.5}; coloractive[] = {1,1,1,1}; sliderPosition = 5; sliderRange[] = {0,100}; sliderStep = 10; lineSize = 1; onSliderPosChanged="((findDisplay 99) displayCtrl 1103) ctrlSetStructuredText parseText str(sliderPosition 1901)" }; }; class Objects { }; }; Any thoughts? Full source code can be found at: https://github.com/Xeenenta/xeenenta-enhanced-battlefield if anyone wanted to go digging around.
  13. To start off, I'm a massive fan of the Support framework - not enough missions make transport/logistics pilots really feel like they have a meaningful impact on the battlefield in my opinion, and I'm not a huge fan of the needless level of complexity involved with getting ALiVE working properly. However... Since we got the mission framework, it seems to have the hardcoded limitation that getting out of your chopper outside the base/leaving the base in any manner other than a helicopter results in a "returning to base, out of bounds" message. Now, I get that the mission is geared towards support objectives (they've specifically stated in the past it was designed this way so that when it was released alongside the Helicopters DLC, there would be a mission purely focusing on the logistics capabilities those new vehicles brought to the table) - it does it better than anything else. But the inability to have even a small player squad operating alongside a larger, busier air wing kind of sucks, especially when its due to a single option that could be as easily turned off as a single attribute in one of the modules. Is there any chance of getting in contact with Bohemia and seeing if they'd make this change? Alternatively, if people know a way around this limitation please let me know so I can implement it.
  14. https://steamcommunity.com/sharedfiles/filedetails/?id=2111460425 F-16 Falcon CAS Module For Arma 3 by ANZACSAS Steve. --------------------------------------------------------------------------------------------------------------------------- - Instant brutal and intense Airstrikes !! - Enhanced AI behaviour CAS Module for Firewills F-16 Falcon Mod !! 🙂 - Big Napalm and bomb strikes for great cinematics! - Signed and comes with server key. - Thanks to bis and the community. - Support module capable. - Comes with example mission for Support Module airstrikes.Found in your @ANZACSAS Napalm and WP Smoke marker rockets Mod folder! - Enjoy. Required Addons - Napalm Mod https://steamcommunity.com/sharedfiles/filedetails/?id=1703765606 Firewills F-16 Falcon Mod https://steamcommunity.com/sharedfiles/filedetails/?id=366423278 - Quick how to use - - Place module on map.Sync to a trigger with a Radio Alpha activation or whatever activation you choose. - Make sure player is equipped with a radio. - The direction of the module sets the direction the planes will attack from. - Found in the module tab in the editor (F5) in the effects tab. - See below for a more in depth how to use guide by Phronk from BI Forums. Phronk says, Here's how to place a CAS module in the editor and edit it: Click the Modules button on the right (Or press F5) Click the category, "Effects" (It's the third one down) Click the "Close Air Support (CAS)" item in the list Place the module on the map Double-click on it to open the module and edit it Very bottom category in edit box lets you change type of attack and CAS plane used Here's how to sync it to a trigger: Place your Blufor player unit Place a trigger and set the Activation to "BLUFOR" Right-click your Blufor player unit, highlight "Connect" and then click "Sync to" Left-click the trigger; this will sync your unit to the trigger Right-click the placed CAS module, highlight "Connect" and then click "Sync to" Left-click the trigger; this will sync your CAS module to the trigger Results. Also, the azimuth you set the CAS module to will be the direction the CAS plane will ingress from. If the azimuth is 0, then the plane will come in from the north and egress south Copyright 2019[ANZACSAS Steven].This item is not authorised for posting on Steam, except under the Steam account named ANZACSAS Steven.
  15. Looking for some help with the BIS Spawn AI Module. I can't find any documentation on how to set the faction beyond the vanilla ones (e.g., AAF, CSAT) or otherwise shape the spawns beyond the basic infantry/vehicle/armor/air options. I'd like to be able to at least set the faction, like to an RHS infantry type. Anyone know how to do this?
  16. I created simple mission which contains simple elevator module for mission makers. The plan was to use empty elevator shaft inside Altis hotel building and recreate fully working elevator cabin and doors. I set followings targets Elevator should operate as close as possible to standard real elevators. Internal and external doors. Supported in multiplayer. Make it possible to walk inside cabin during movement. All kind of equipment should be transportable with elevator on the floor. Originally I wanted to make two separated independent cabins. Nevertheless it would brought several problems like increased number of objects, less space inside cabin and door wings do not have enough space to hide completely when two wings are considered as can be seen in following image. That mean 4 wings for internal and 4 wings for external doors would be required for each cabin. For this reason I have chosen simplification to one large cabin occupying whole shaft. And one internal sliding door and one external sliding door at each floor. In the next step I built cabin and doors from standard ArmA 3 objects. Number of object was kept low as possible in order to reduce HW load. Next phase was scripting stage. Multiple problems emerged. Originally was cabin pars held together using command attachto. Each component was attached to one root component, the floor. This root component was then moved between floors with small steps using setpost command. As the root component moved relatively smoothly the rest of the components was jumping and its refresh rate was roughly 0.5 s. Reason for his problem is hidden inside function attachto which has lower refresh rate for certain object types. This problem was solved by custom made function that simply set position to all components relatively to the root floor component in each floor step of the movement. Another problem happens when player try to walk on the elevator floor during movement. It is impossible and player is breezed. Solution I was able to found is following command player setvelocity [0,0,-0.4]; This command push player to the floor so there is contact between foots and the floor. Every time cabin move it is necessary to perform this command to provide player ability to move. Another problem emerged when scripts was tested at server. Cabin position was controlled server side only as setpos function has global effect. Object position refresh rate between server and client is very low, roughly 5 seconds. This problem makes elevator cabin at standard speed jump by 2 metres steps which basically leave player behind in the empty shaft. Solution for this problem is to build cabin completely locally at each client using createVehicleLocal and synchronise cabin position with server. Server control cabin position and broadcast frequently one value to the clients. This value represent current cabin altitude in the shaft. This helped increase refresh rate significantly. Cabin position was however still twitchy as server broadcast rate for variables is not high. For this reason another additional value is broadcasted from server which represent current elevator velocity. Velocity value is used at clients to interpolate movement between two received cabin positions. Another problem is transport of equipment especially dropped items inside cabin just freeze at the place where are laid and completely ignore cabin movement. The reason is that dropped is object type GroundWeaponHolder, this object does not simulate object physics so it has to be replaced with object type WeaponHolderSimulated. Thus server side script search constantly for GroundWeaponHolder objects inside the elevator cabin using command allMissionObjects "GroundWeaponHolder"; and replace them. Even thou WeaponHolderSimulated performs object physics simulation, it ceases to be simulated when engine detect that object is in stable position in order to reduce HW load. This make WeaponHolderSimulated objects to ignore elevator floor when cabin move. Solution is to frequently check whether WeaponHolderSimulated objects has zero velocity. If cabin is on the move and WeaponHolderSimulated object inside cabin has velocity it is nudged using command setvelocity [0,0, ElvtrCurrentSpeed]; This way is object speed synchronised with cabin speed. Another problem are small vehicles like robots. Their physics simulation also ceases when game engine detect stable position. This problem is solved similarly as pervious problem with dropped equipment using command setvelocity. Only problem is that it has to be performed at computer where robot is local (usually person who control the robot). For this reason server uses CBA_fnc_globalExecute function to make sure the command is performed at each computer. Elevator internal and external doors are synchronised same way as whole elevator vertical position using broadcasted variable. For user interaction ace interaction menu was used as more visually appealing counterpart to standard ArmA 3. Server side manager receive user inputs and control movement of the elevator to simulate real elevator behaviour. This experimental module proven that it is possible to simulate heavy machinery and its interaction with players and vehicles even in multiplayer. Workshop DOWNLOAD: https://steamcommunity.com/sharedfiles/filedetails/?id=2080529811 Direct DOWNLOAD: http://server.btkclan.cz/Hotel_Eleveator.Altis.zip Required mods CBA https://steamcommunity.com/workshop/filedetails/?id=450814997 Recommended mods ACE https://steamcommunity.com/workshop/filedetails/?id=463939057
  17. Hello I was searching for documentation to ARMA 3 Editor module "Zone Protection". It is calling BIS_fnc_moduleZoneProtection I cannot find any description or use cases. If my hunch is right, it should be a functionality used to create an area where damage is not applied to objects / characters? However BI wiki is very much empty on this module or function. Using function viewer i had a look into the code of the function but i am very much a newbie on arma scripting. While i understood from the code that the module can be synced only with Locations logic entities - documentnation on Locations is equally shabby. I tried in a single player scenario to place a location entity and sync it with this module. To my understanding some area should have been displayed on map but nothing happened. It had no effect. So i would be grateful if somebody experienced could explain. Thank you very much! P.S: Sorry if a topic exists somewhere on the forum explaining it - i was unable to find it.
  18. Hi, is there any possible way to toggle the visibility layer for a specific module so it won't clutter every inch of my modified Malden map? There are some modules that just have a simple marker but no outer transparent boundaries and it would be great to hide this effect while in 3d editor. Thanks for any help
  19. The FLY ArmA III Air Traffic Module makes it easy to create a network of airports. What's new: *Initial release version 0001 The number one request from Fly Tanoa Air was to make it useful for other maps and vehicles. Done. Check out the readme FLY ArmA III verion 0001 Mission Maker walkthrough video Demo video from tutorial NOTES: * Included: 3 airport markers. 3 approach vectors. 1 cargo box and 1 traffic marker. A small init block and a great big function library. Also a brief intro.sqf you may configure and use if you like. * A DEMO mission on Altis (not the one from the tutorial). * It's possible to add more airports but it isn't a 2 click solution. If you know how, go ahead. If you don't and need help, message me. The next version will make it simple to add more airports. Updates will be to the function library and the module assets will always remain the same. * There are extra functions in there and extra functionality within some of the functions which is unused/disabled. If you want something to be different-- different passengers or less often radio updates, for example-- there's probably already a built-in function for that, just look. * You can absolutely drop this into an existing scenario, just remember to add the init variables and exec the library. * There's no restriction on vehicle type so this is already a taxi service / cargo delivery module, too. Just hop in a car and start delivering people from airport to airport (you can reconfigure the names of destinations of course). * When you open the library the first thing you may think is, "Hey, if I replaced this civilian thing with a military thing, it'd be like a real mission.", and you would be right. I noticed that, too. There is another framework with those edits already made. * Since this is a community asset, community suggestions for features and script improvements are welcome. Have fun!
  20. Hi all, Team switching is one of the weirdest feature in Arma. If you are playing in SP, with several switchable units, some behaviors can be lost. If you switch, you can loose all supports (BI standard support modules). Reproducible, Vanilla, 3den: Add units: player + playable ones Add an artillery (the support type doesn't matter, it's just an example) Add the artillery provider module add the requester module link the artillery to the provider module, the provider to the requester module, the requester module to all switchable (playable in 3den) units. Preview Starting as player (the player unit in 3den), gives you the artillery support. No problem. Starting "as character" from any other playable unit does the trick also. No problem. But, each time you press "U" (or whatever key for switching menu) and you choose another unit, the support menu disappear. NB 1: No matter the method used: editor or scripted links with BIS_fnc_addSupportLink, the supports are lost on team switching. Only the first unit played at start can call supports. NB 2: a little workaround, tested but not guaranteed: addMissionEventHandler ["teamSwitch", { BIS_requesterFSM = nil; [yourRequestModuleName] execVM "A3\modules_f\supports\init_requester.sqf"; }]; Now if you switch, the support works.... A remaining point I failed to correct: At your first support call after switching, a hint message will say: "provider not available". Which is wrong. The support works.
  21. Has anyone managed to add custom weps (bombs/napalm) to the support module pool of weps etc?Been looking thru several modules/functions pbo's and havnt found anything that looks like that yet.
  22. Hello everyone, I need a little help I try to create, through a script, a combination of modules to add a civilian presence to the cities crossed by the player. The problem is that at the launch of the mission, despite the generation of three modules (visible and existing in Zeus mode) the main module (ModuleCivilianPresence_F) does not link with the other two modules (ModuleCivilianPresenceSafeSpot_F and ModuleCivilianPresenceUnit_F), and I have the following error message : "bis_fnc_moduleCivilianPresence [x] Civilian Presence L-Alpha 1-2: 1 terminated." There are at least 1 spawnpoint and 1 position module. " How to make dialogue, synchronize the three modules, created via a script, ingame ? This is just a piece of extracted code; the rest of my project works perfectly : Do not pay attention to the two ways to create a unit, both ways work exactly the same, I put the necessary characters to hide the text for reading the script > /* and */ _townLoc = nearestLocations [getPos player, ["NameVillage","NameCity","NameCityCapital","NameLocal","CityCenter","Airport"], 2500]; if ((count _townLoc) > 0) then { sleep 0.01; _townPos = locationPosition (_townLoc select 0); /* sleep 0.50; _MCP_Spawn = (createGroup sideLogic) createUnit ["ModuleCivilianPresenceUnit_F",_townPos,[],0,"NONE"]; _MCP_Spawn setvariable ['BIS_fnc_initModules_disableAutoActivation', false]; sleep 0.50; _MCP_SafeSpot = (createGroup sideLogic) createUnit ["ModuleCivilianPresenceSafeSpot_F",_townPos,[],0,"NONE"]; _MCP_SafeSpot setvariable ['BIS_fnc_initModules_disableAutoActivation', false]; sleep 0.50; _MCP_Module = (createGroup sideLogic) createUnit ["ModuleCivilianPresence_F",_townPos,[],0,"NONE"]; _MCP_Module setvariable ['BIS_fnc_initModules_disableAutoActivation', false]; */ sleep 0.50; _MCP_SafeSpot = "ModuleCivilianPresenceSafeSpot_F" createUnit [_townPos, createGroup sideLogic, "this setVariable ['BIS_fnc_initModules_disableAutoActivation', false];", 0.6, "PRIVATE"]; sleep 0.50; _MCP_Spawn = "ModuleCivilianPresenceUnit_F" createUnit [_townPos, createGroup sideLogic, "this setVariable ['BIS_fnc_initModules_disableAutoActivation', false];", 0.6, "PRIVATE"]; sleep 0.50; _MCP_Module = "ModuleCivilianPresence_F" createUnit [_townPos, createGroup sideLogic, "this setVariable ['BIS_fnc_initModules_disableAutoActivation', false];", 0.6, "PRIVATE"]; }; Otherwise I also tried another method : I to place the necessary modules in the 3den editor, then move them by script when the player is near a locality. The modules change position, but the created civil entities always go to the moduleCivilianPresenceSafeSpot module's initial position, ie the position of the module when it was placed in the editor, even if it was changed position. :/
  23. Description: This is a GUI that allows the person who executed the script to add/assign or remove/unassign Zeus to any specified player(s). Downloads & More Information: GitHub: Pastebin: Video: Steam Guide: Curator Creator Version 1.0: * New version is coming out soon. The script was broken so I am going to re-make it myself. *
  24. Hello, I have written a module for carpet bombing for Sabre's secret weapon and Unsung. Unfortunately it's quite hard to use as one needs to know the class name of the plane (easy to get in Eden though) and the bomb weapon classname (very hard to get, through config viewer). Now I want to ease the setup of this module via a custom entry in the tools menu of Eden where one can select a bomber and bomb type through browsing an additional config entry, CfgCarpet. Before setting up dialog and what not, I tried to alter the config of a script placed unsung carpet bomb module in the Eden debugger. When setting the 'bomb' variable this change is not reflected in the module, though in the debug script the new value is shown: e = create3DENEntity ["Logic", "uns_ModuleCarpet", screenToWorld [0.5, 0.5]]; systemChat str (allVariables e); systemChat str (e getVariable "bomb"); e setVariable ["bomb", "flip"]; systemChat str (e getVariable "bomb"); The last systemChat prints flip. But when I double click the uns_ModuleCarpet Eden entity I still see the old value. Any solution to this, I suspect that the setVariable doesn't work to well with Modules. Alternative approaches to the problem of configuring a module is also welcome! Cheers, TeTeT
  25. I would like to allow players to cancel tasks. I know it can be done cause I have seen missions where tasks can be canceled. But my tasks, which is made by modules cannot be canceled by players, they simply dont get the option.
×