Playmaker Forum

PlayMaker News => User Showcase => Topic started by: 600 on May 13, 2015, 08:34:33 PM

Title: Modular Traffic [Asset]
Post by: 600 on May 13, 2015, 08:34:33 PM
(http://pamani.net/elements/img_Traffic.png)

Traffic asset with modular road pieces
prepared for AI cars and pedestrians.
Functions made 100% with Playmaker.

Asset Store:

Modular Roads (https://www.assetstore.unity3d.com/#!/content/39961?aid=1100lGnz)
(3d models only, can update to traffic pack)
Released

Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz)
(includes road pack)
Released

Standalone Demos (Pc, Mac, Linux) (http://www.pamani.net/Standalones.html)
Android build - download here (http://www.pamani.net/Unity/MT_MobTEST.apk) (~20mb)

Youtube Link (http://youtu.be/mosgxPoTuMA)

Now with prefabs for Simple Town (https://www.assetstore.unity3d.com/#!/content/43500?aid=1100lGnz) & Simple People (https://www.assetstore.unity3d.com/#!/content/15126?aid=1100lGnz) assets*

Youtube Link (http://youtu.be/kRyDxBghwUM)
Simple Traffic demo (http://pamani.net/Unity/SimpleTraffic.html)

Traffic import notes:
Requires Unity 5 or higher + PlayMaker

#1 - create a new 3d project in Unity
#2 - open Asset store inside Unity (Window>Asset Store)
#3 - import Traffic asset
#4 - import PlayMaker
#5 - install PlayMaker manually from folder Assets/Playmaker/Editor/Install, double click on Playmaker package

When importing in existing project make a Backup of your files!
There will be New Project Settings needed to function.

* SIMPLE assets need to be imported. Modular Traffic pack will hold prefab setups only, no recourses from Simple assets (models, textures etc.).


-------
If you have Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) you can upgrade to Car Setup for Playmaker (https://www.assetstore.unity3d.com/#!/content/26508?aid=1100lGnz) with 30% discount!

(http://pamani.net/Unity/img/UpgradeMT-Car.jpg)
Title: Re: Modular Traffic [Asset] [Coming Soon]
Post by: SpencerPDX on May 27, 2015, 11:29:57 PM
This looks really cool, and very applicable to work I'm doing. Looking forward to it!
Title: Re: Modular Traffic [Asset] [Coming Soon]
Post by: clandestine on May 29, 2015, 12:40:30 PM
hahaa, thats awesome! A good addition to the car system.
Title: Re: Modular Traffic [Asset] [Coming Soon]
Post by: 600 on July 07, 2015, 03:17:00 PM
Thank you for comments! Had fun doing it, now working on the car asset to fit together.

Updated the first post, road 3d models are available, later can update to traffic pack.
Title: Re: Modular Traffic [Asset]
Post by: 600 on July 13, 2015, 03:10:34 PM
Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) released!
Title: Re: Modular Traffic [Asset]
Post by: 600 on September 09, 2015, 10:52:00 PM
SIMPLE TRAFFIC

Youtube Link (http://youtu.be/kRyDxBghwUM)

With a great cooperation with Synty Studios
I made prefabs with Simple Town (https://www.assetstore.unity3d.com/#!/content/43500?aid=1100lGnz) and Simple People (https://www.assetstore.unity3d.com/#!/content/15126?aid=1100lGnz) assets
to work with Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz).

- 8 Road prefabs
- 10 Vehicle prefabs
- 51 Pedestrian prefabs

Webplayer demo (http://pamani.net/Unity/SimpleTraffic.html)

Will update the Asset Store version asap.

! Note: SIMPLE assets need to be imported. Modular Traffic pack will hold prefab setups only, no recourses from Simple assets (models, textures etc.).
Title: Re: Modular Traffic [Asset]
Post by: rik on September 10, 2015, 07:15:23 PM
looks very nice
Title: Re: Modular Traffic [Asset]
Post by: 600 on September 15, 2015, 02:48:26 AM
Hi, thanks for the comment rik! :)

The Modular Traffic v1.1 is available on the Asset Store!

Changes:
- Made it easier to import
- Fixed missing links
- included Simple Town & Simple People prefabs

First post updated.
Title: Re: Modular Traffic [Asset]
Post by: mroyusa on September 24, 2015, 04:36:24 PM
I tried the simple demo from thread with cars and pedestrians and they are all crashing into each other.
Title: Re: Modular Traffic [Asset]
Post by: 600 on September 25, 2015, 12:44:45 AM
Hi, I have noticed that they can stuck eventually, I didn't pay attention in this case because now it is set somewhere in the middle mixing physical and non-physical driving to preview both logics. The non-physical drive was made for distance to save performance and is more robust than close-up physical driving. These mode switching can cause this, originally the logic was made for physical behaviour.

I use this asset for 3rd person game with Pooling system where I spawn and despawn AIs around a player, so chance of traffic crashes are really low, not like in the demo as cars and people move around non-stop.

Send me a message if I can help assist you to adjust the asset for your game requirements.
Title: Re: Modular Traffic [Asset]
Post by: 600 on October 29, 2015, 09:49:43 AM
After a request, made an Android test build - download here (http://www.pamani.net/Unity/MT_MobTEST.apk).

Will update ReadMe with settings I changed,
if you want the manual asap, contact me on support email with your invoice number (Asset Store).
Title: Re: Modular Traffic [Asset]
Post by: 600 on November 06, 2015, 05:56:02 AM
After a request, made an Android test build - download here (http://www.pamani.net/Unity/MT_MobTEST.apk).
Will update ReadMe with settings I changed...
Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) updated with mobile scene and ReadMe.
Title: Re: Modular Traffic [Asset]
Post by: 600 on November 25, 2015, 05:42:21 AM
(http://pamani.net/elements/img_Traffic_s.png)
Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) updated with a fix for counting cars per lanes.

v1.1.2
Car counter per lane fix, changes:
- Edit on CarWP_Group template.
- Edit on AI_Cars scene object.
- New FSM on AI_Car prefab.
- Edit on AI_Car FSM Movement/Waypoints Setting Tags on Left turns.
Title: Re: Modular Traffic [Asset]
Post by: 600 on December 23, 2015, 04:00:18 PM
(http://pamani.net/elements/img_XmasRoad.png)

A small Christmas present
for the next 5 replies in this post - Modular Roads (https://www.assetstore.unity3d.com/#!/content/39961?aid=1100lGnz) vouchers!

Can be used to upgrade to Traffic pack later for half price ;)

Happy Holidays!
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: igud71 on December 28, 2015, 12:17:16 PM
Hi,

Replay for Modular Roads voucher.
Happy Holidays!!!

Best regards,
Tomislav
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: movra on December 29, 2015, 05:58:26 PM
Jingle bells, jingle all the way. ;D
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: 600 on December 29, 2015, 07:38:29 PM
 ;D
Check message inbox  :)


3 keys left!
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: phannDOTde on December 29, 2015, 11:59:55 PM
Dear Santa - I would take one if the offer still stands :-)
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: JimB on December 30, 2015, 02:14:58 AM
Hi 600,
Any keys left?
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: 600 on December 30, 2015, 05:16:12 AM
Hi guys, sent you messages :)




One key left!
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: phannDOTde on December 30, 2015, 09:59:37 PM
Hi guys, sent you messages :)


THANK YOU :-)
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: playsteven on December 31, 2015, 06:54:46 AM
Hi 600, that key still on offer?  :D
Title: Re: Modular Traffic [Asset] [Christmas vouchers]
Post by: 600 on December 31, 2015, 11:01:53 AM
Hi 600, that key still on offer?  :D
Hi! Yes, sent you a message,


Now all keys have found their masters :D
Happy 2016!

Title: Re: Modular Traffic [Asset]
Post by: playsteven on January 01, 2016, 04:15:27 AM
Cheers, have an awesome new year!
Title: Re: Modular Traffic [Asset]
Post by: 600 on February 03, 2016, 05:42:49 PM
Hello,
updated the first post with Standalone Demos (Pc, Mac, Linux) (http://www.pamani.net/Standalones.html)  8)
Title: Re: Modular Traffic [Asset]
Post by: 600 on March 05, 2016, 07:28:10 AM
(http://pamani.net/elements/img_Traffic_s.png)
Uploaded a package for Unity 5.3.2 to cover the Playmaker 1.8 Beta compatibility.

Demos:
- Webplayer (http://www.pamani.net/Unity/Traffic.html)
- Android (http://www.pamani.net/Unity/MT_MobTEST.apk) (~20mb)
- Standalone (http://www.pamani.net/Standalones.html) (Pc, Mac, Linux)

Link to Asset Store (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz)
Title: Re: Modular Traffic [Asset]
Post by: 600 on June 02, 2016, 07:07:43 AM
A quick note:
Now PlayMaker 1.8.1 have Animator actions included by default, if you are importing the asset in Unity 5.3+ with PM 1.8.1+ uncheck the Animator folder to avoid duplicate errors.
Ignore this message for earlier versions.
Title: Re: Modular Traffic [Asset]
Post by: miketolsa on July 06, 2016, 07:25:02 AM
Just want to know that does the traffic system should be used only with the given or provided city assets with the package or we can use the FSM provided with your package with any characters or cars of our choice ??
Title: Re: Modular Traffic [Asset]
Post by: 600 on July 06, 2016, 07:44:30 AM
Just want to know that does the traffic system should be used only with the given or provided city assets with the package or we can use the FSM provided with your package with any characters or cars of our choice ??
Yes sure, logic is separate so you can change pedestrians/cars/roads with other models.
For pedestrians they are humanoid NavMesh agents with Animator.
Change mesh for cars and adjust some parts for the new vehicle (wheels, AI look objects, obstacle radius).
If you make your own (or change) modular roads, you can put the same logic on top of it. Or if you use EasyRoads or other roads that are not regular, you still can use the same logic just need to adjust waypoints accordingly. Attached a preview screenshot.

Title: Re: Modular Traffic [Asset]
Post by: 600 on July 07, 2016, 01:45:00 PM
A quick note:
Now PlayMaker 1.8.1 have Animator actions included by default, if you are importing the asset in Unity 5.3+ with PM 1.8.1+ uncheck the Animator folder to avoid duplicate errors.
Ignore this message for earlier versions.

^ Disregard this quoted message, as now Unity import automatically detects the duplicates and ignore them, so import All as before.
Title: Re: Modular Traffic [Asset]
Post by: alexandre on September 27, 2016, 06:04:16 PM
I'm new here, so sorry if I wrote the wrong place. I already have the PlayMaker license and am considering getting the license Modular Traffic, but I wonder if I can change the textures of roads, because in my country there are color differences?
Title: Re: Modular Traffic [Asset]
Post by: 600 on September 28, 2016, 12:31:26 AM
Hello,

Yes you can change the look of every road piece, each have its own texture file exported from Illustrator (originals included) and also there are UV frames, so you can draw textures from scratch.
Title: Re: Modular Traffic [Asset]
Post by: 600 on November 08, 2016, 05:01:35 AM
From now on, having Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) you can upgrade to Car Setup for Playmaker (https://www.assetstore.unity3d.com/#!/content/26508?aid=1100lGnz) with 30% discount!

(http://pamani.net/Unity/img/UpgradeMT-Car.jpg)
Title: Re: [SALE -25%] Modular Traffic [Asset]
Post by: 600 on April 24, 2017, 01:51:42 PM
>>> Modular Traffic (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) on the Asset Store Sale!
25% off!

(http://www.pamani.net/Unity/MT_Sale.jpg)
Title: Re: [SALE -25%] Modular Traffic [Asset]
Post by: 600 on April 27, 2017, 06:34:42 AM
^ 3 days left! :D
Title: Re: [SALE -25%] Modular Traffic [Asset]
Post by: 600 on April 30, 2017, 06:53:18 AM
The last day for the Big Sale! :D
> Link (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz)
Title: Re: Modular Traffic [Asset]
Post by: 600 on October 08, 2017, 12:28:39 PM
I will submit updated version to Asset Store today to be ready for Unty2017, if anyone needs it sooner contact me on support email or personal message on forums with your invoice number.

For now follow these steps for current imports on Playmaker 1.8.5 + Unity 2017:
1. Delete action “AnimatorIsControlled”.
2. Delete action “GetSignedAngleToTarget”, download and re-import the action “GetSignedAngleToTarget” from Ecosystem.
3. Change Agent actions for Pedestrian prefab in Walk FSM like in the screenshot, but for the “Agent Stop” state set “Is Stopped” to True.

Title: Re: Modular Traffic [Asset]
Post by: 600 on October 10, 2017, 01:25:58 PM
(http://pamani.net/elements/img_Traffic.png)
The updated pack is live at the Asset Store (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) for Unity2017.1+
Title: Re: [-30% SALE] Modular Traffic [Asset]
Post by: 600 on November 27, 2017, 05:14:28 AM
Modular Traffic for PlayMaker (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz) part of the Mega Sale!
30% off!

(http://pamani.net/Unity/Sale_MT_30off.jpg)
Title: Re: [-30% SALE] Modular Traffic [Asset]
Post by: 600 on December 08, 2017, 04:46:35 AM
Last day of Mega Sale!
Discounted price available until 11:59 p.m. PST December 8th, 2017.

Link to Modular Traffic for PlayMaker (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz)
Title: Re: Modular Traffic [Asset]
Post by: 600 on July 01, 2018, 08:46:42 AM
(http://pamani.net/elements/img_Traffic_s.png)
Compatibility update for Unity 2018.1+ and Playmaker 1.9+

Link to Asset Store (https://www.assetstore.unity3d.com/#!/content/40764?aid=1100lGnz)
Title: Re: Modular Traffic [Asset]
Post by: Zante on July 15, 2018, 12:43:49 PM
Hi there, using Modular Traffic 1.1.3 with Unity 2017.4.2f2 and PlayMaker 1.9.0.p4, the modular traffic asset runs in the editor but it won't build an exe. The output in the console reads as:

Code: (CSharp) [Select]
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMaker.Actions.TriggerEvent.OnPreprocess () (at Assets/PlayMaker/Actions/Physics/TriggerEvent.cs:42)
HutongGames.PlayMaker.Fsm.Preprocess () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1632)
HutongGames.PlayMaker.Fsm.Preprocess (UnityEngine.MonoBehaviour component) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1619)
PlayMakerFSM.Preprocess () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:224)
HutongGames.PlayMakerEditor.PlayMakerBuildCallbacks.OnPostprocessScene () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/PlayMakerBuildCallbacks.cs:34)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.Build.BuildPipelineInterfaces+AttributeCallbackWrapper.OnProcessScene (Scene scene) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:91)
UnityEditor.Build.BuildPipelineInterfaces.OnSceneProcess (Scene scene, Boolean strict) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:304)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Edit, fixed by removing the "public override void OnPreprocess()" code from TriggerEvent.cs
Title: Re: Modular Traffic [Asset]
Post by: 600 on November 07, 2019, 04:34:11 AM
(http://pamani.net/elements/img_Traffic_s.png)
Compatibility update for Unity 2019.2+ and Playmaker 1.9+

Link to Asset Store (https://assetstore.unity.com/packages/templates/packs/modular-traffic-for-playmaker-40764?aid=1100lGnz)
Title: Re: Modular Traffic [Asset]
Post by: mickman on November 09, 2019, 01:58:37 AM
awesome :)   am using MT with "Tilt 5" (AR system)
Title: Re: Modular Traffic [Asset]
Post by: mickman on November 09, 2019, 02:14:50 AM
Q.  Have you tested Mod Traffic with Unity's new  DOTS system ?

 I ask this as I am about to start a project and would like to add many buildings and vehicles  (similar to Mega City )
Title: Re: Modular Traffic [Asset]
Post by: 600 on November 09, 2019, 09:06:01 AM
Q.  Have you tested Mod Traffic with Unity's new  DOTS system ?

 I ask this as I am about to start a project and would like to add many buildings and vehicles  (similar to Mega City )
Hello, unfortunately have not tested the new system, the asset do not used it.
Title: Re: Modular Traffic [Asset]
Post by: 600 on July 13, 2021, 03:12:44 AM
(http://pamani.net/elements/img_Traffic_s.png)
- Price lowered by $5
- Compatibility update for Unity 2019.4+ with .NET4x and Playmaker 1.9.2+


Link to Asset Store (https://assetstore.unity.com/packages/templates/packs/modular-traffic-for-playmaker-40764?aid=1100lGnz)
Title: Re: Modular Traffic [Asset]
Post by: 600 on December 22, 2023, 12:31:39 PM
(http://pamani.net/elements/img_Traffic_s.png)
- Compatibility update for Unity 2022.3+ and Playmaker 1.9.7+

Link to Asset Store (https://assetstore.unity.com/packages/templates/packs/modular-traffic-for-playmaker-40764?aid=1100lGnz)

Update v1.2
- Create new project
- Import and install Playmaker
- Import Modular Traffic for Playmaker