Arma 3
Not enough ratings
Dyanamic Civilian Traffic Showcase
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
File Size
Posted
4.933 KB
27 Nov, 2020 @ 12:56pm
1 Change Note ( view )

Subscribe to download
Dyanamic Civilian Traffic Showcase

Description
Dyanamic Civilian Traffic Showcase
Q: What is this?
A: This is a pre-packaged system designed to showcase and implement a system I designed for dynamic Civilian traffic (I.E. cars that drive about on their own).

Features:
-Constantly spawning and self-cleaning civilian traffic that will wander around near players locations; Vehicles spawn 500-1500 meters away from players, out of sight generally.
-Self-contained "scriptless" design for those of us with a rampant fear of .SQF files. :)
-Debug Mode: By assigning a Zeus to the "debugZeus" variably, all spawned vehicles will be assigned to the specified curator, allowing them to view and interact with all spawned units from this Showcase.
-Should function even with multiple players active in a server.
-by Resizing the main included trigger area, mission-makers can regionalize areas that players can be within to vehicle spawns.

Todo / Known Issues:
-If players are too far apart from one another, vehicle spawn locations may overlap - causing vehicles to spawn too close to players. (This issue will NOT happen during despawning units)
35 Comments
SpaceGhost 16 Jun, 2024 @ 7:57am 
OK, got it. So for any future people, you put it in the mission itself in the Eden Editor. All the screenshots showing a Zeus interface confused me.
SpaceGhost 15 Jun, 2024 @ 5:33pm 
When I place the composition in Zeus, I get a message at the top that says one or more of sever entities in the composition were not compatible and were skipped.
Do I need to put this in the mission in Eden Editor first and configure it, and then bring in the composition in Zeus during mission?
Арти  [author] 21 Mar, 2024 @ 9:37pm 
In the editor, look under the "Groups" tab - under compositions it should be under Workshop Compositions.
🟢GreasyWeezy-λ 21 Mar, 2024 @ 7:49pm 
i looked through the editor and nothing for this shows up or works and i looked at my stuff in the launcher it dosnt even show up there
Non1KK🎩 26 Dec, 2023 @ 5:23am 
@RD_Dukty Great! And the last question from me (I won't bother you anymore))) You can make addon versions for different DLC, so that you don't have to do it manually, it would be cool)
Richard Kemper Gacy 26 Dec, 2023 @ 3:04am 
thanks, i will try to play around with it
Арти  [author] 25 Dec, 2023 @ 6:47pm 
@TRI$

Technically it would be possible, however the main issue is that if a player is disembarked from a vehicle, or not otherwise traveling in a straight line, determining where to spawn units would cause them to spawn in isolated pockets (not where you want them usually), rather than diffusing around the player naturally.

This could technically still be achieved by cranking up the spawn-rate on units however it would negatively impact performance more than this mess of code already does.

If you're still interested in trying this, try cracking open the main trigger, and modifying the setPosition values when the trigger moves. If you change the "floor random()" values to a smaller number and then add an offset it might achieve the desired result you're looking for.
Richard Kemper Gacy 25 Dec, 2023 @ 12:38pm 
is there a way to spawn cars in front of the player only, instead of all around?
extravagance 9 Sep, 2023 @ 11:23pm 
words cant describe my happiness

a traffic mod that ISNT zeus-related and super easy to navigate and highly customizable? youre a fucking lifesaver bro you deserve an award
Арти  [author] 1 Sep, 2023 @ 3:03pm 
@Non1KK

If you want vehicles to spawn in closer proximity, theres a line in the main trigger;
[position _x,800+floor random 400,40] call findRandomRoad;
"800+floor random 400" which tries to find a position between 800 and 1200 meters from the player, if you want to make vehicles spawn closer, decrease the 800 first (but probably no lower that 200), and you can also lower 400 a bit (though again I wouldn't go lower than 200).

As for the vehicles movement, there is no way to make them follow you, however they will continue to spawn around you as you move about the world. (However, it should be noted if your driving a fast vehicle like a car or helicopter, new areas you go to will be slow to repopulate due to how the script works.)