Search the Community
Showing results for tags 'civ'.
Found 4 results
-
(REDACTED) Civilian Presence Module sqf mission export
z1_ posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So, I set up a bunch of modules, waypoints, and triggers for the Civilian Presence Module all over the map. Everything works great in editor. I wanted to try exporting it to sqf so I could use as a script and not have all the clutter for use in future missions. It somewhat worked, as everything will load off the script but all the areas become active and spawn as soon as it loads even though nobody set off the trigger. This only happens if I use script, works fine loaded from editor. They are all set to any player - present - repeatable and synced to their respective module. Is there a way to edit the sqf export so it will work correctly and only activate triggers when actually present. There things I could remove? If you want to know what I’m looking at set (at work currently) up the civilian presence mod for one city real quick and do an export. I know I could just merge with missions but I’d like it to not be cluttered if someone decides to edit the missions I upload. Any help would be appreciated, I’m not too savvy on scripting but have a general understanding. I know there’s other options, just want to see if I can get this to work.- 11 replies
-
- civ
- civilian presence module
-
(and 1 more)
Tagged with:
-
Revolution is a next generation, fast-paced, open source gamemode and framework for Life type roleplaying missions in Arma 3. --- Revolution as a gamemode has been inspired by Chernarus Life: Revolution gamemode from Arma 2. Revolution started in 2012 as a passion project of a couple of Finnish Arma players who had fallen in love with the gamemode and essentially dedicated their whole free time to it, enjoying it vastly. As rookie developers, they failed to deliver such a complex and large framework, leading to their competitor, Altis Life eventually conquering the Armaverse in 2014. The developer team still wanted to deliver a vastly different experience from Altis Life that would remind the relatively fast paced and completely dynamic nature of Chernarus Life: Revolution or Urban Life in Takistan back in the Arma 2 days. They tried to develop the framework multiple times, but all attempts failed due to monetary constraints, issues with developer group dynamics, health issues or real life events that forced us to quit our passion project. --- --- This time it's different. We've learned from our previous mistakes each time, and we're able to deliver the gamemode much more likely this time thanks to the gained experience. --- --- We want to share the amazing feeling and memorable moments that we had in Chernarus Life: Revolution with as many players as possible. That's why we've decided to make the framework open source and allow monetization of the framework for communities approved on Bohemia's Server Monetization list to allow communities to pay their bills to run the community efficiently. --- --- If you're interested in the gamemode and want to affect its development or just to follow our progress, make sure to join our official Discord! --- --- Best regards, Ezcoo Revolution Developer
- 11 replies
-
- 3
-
- revolution
- arma 3
- (and 9 more)
-
So with the latest release of Arma, and the new CIV modules, I wanted to look into further enhancing my mission MOD that populates CIV units. I'm thinking the AGENTs may help performance, but have a couple questions I don't know if would work in my mission design. In my mission, the CIVs play the following roles: 1. They have addactions in some cases 2. They have waypoints assigned to travel from building to building (for ambient affect) 3. They can be spawned as enemy threats 4. They play animations I know agent types have some limited functionality to them. I'm just not sure with the mentioned features, if Agents would really be the way to go for my MOD. In addition, i like the civilian behavior they added to the latest patch, but cannot find how i may implement that into my mission on the civilian units. Found the following, but not as simple as just adding it to the units INIT code...: _ID = _unit execFSM "A3\Modules_F_Tacops\Ambient\CivilianPresence\FSM\behavior.fsm"; Because of the roles above, I still need control over spawning and adding code to each unit, so using the modules, or scripting them would not work for me. Thanks for all your help as always.
-
Hello all, So I have been working on a mission that utilizes essentially a town full of people. From the start of the mission they'll just walk around (I gave them waypoints), but once the fighting begins, I needed them to run around (using a doMove ... command). It works fine, however, there are some problems. I am now slowly starting to optimize my mission, and having over 40 civilian units each with defined variables takes a toll on fps and performance when executing scripts. Not to mention the hassle of dealing with so many unit icons on the editor map.. Is there a way to just spawn civilians randomly in a zone and have them just walk around until an event occurs causing them to just frantically run? I tried to create a script for this (spawning them, that is), but due to my lack of time and little scripting knowledge I'm smacking into some dead ends. Here is what I have created thus far, in case any of you guys would like to look at it: _civilianGroup = ["C_man_1","C_man_1_1_F","C_man_1_2_F","C_man_1_3_F","C_man_polo_1_F","C_man_polo_2_F","C_man_polo_3_F","C_man_polo_4_F","C_man_polo_5_F","C_man_polo_6_F","C_man_p_fugitive_F"]; _civilianSpawn = ["civspawn1"]; //civspawn1 is a marker on my map _radius = 200; _amount = 0; _grp = createGroup civ; while {_amount < 10} do { sleep 3; _civUnit = _civilianGroup call BIS_fnc_selectRandom; hint format ["the civilian will be: %1",_civUnit]; //hints were just used for testing each line of code.. sleep 2; _markerPos = _civilianSpawn call BIS_fnc_selectRandom; hint format ["the marker will be: %1",_markerPos]; _civie = _civUnit createUnit [getMarkerPos _markerPos,_grp]; _distance = [1,_radius] BIS_fnc_randomInt; // I believe this part and below are the areas that are causing problems _direction = [0,359] BIS_fnc_randomInt; _randomPos = [_civie,_distance,_direction] call BIS_fnc_relPos; }; Once again thanks in advance for any help you guys can bring. Bonus Question: If there are any general methods to optimize a single player mission, I'd love to know! -Jake