- check_circle Functions
- check_circle Structures
Published May 9th, 2020, 5/9/20 8:22 am
- 17,390 views, 14 today
- 3,056 downloads, 0 today
Required Resource Pack
103
The 1.15 version of the Car Traffic Generator!
Bring your cities alive with AI-controlled cars!
- New car models and colors
- Player driven cars now turns smoothly
- Better performance
- Simplified structures
Watch this video for more detailed installation instructions and how to use it.
https://www.youtube.com/watch?v=d8feAj6DU3c
You can also download the map in the alternate link.
==================================================
Cinematic credits:
Thanks for MattuFIN for the Mattupolis city:
www.planetminecraft.com/member/mattufin/
I will not upload the map used in the cinematic! I'm not the one who built it (all credit goes to MattuFIN) and only some specific parts of the city were modified to add the cars.
Soartex Texture Pack made by Soar49 and updated by the community:
soartex.net/
Shaders by Sildur:
sildurs-shaders.github.io/
=================================================================
Check out my channel for more Datapacks!
www.youtube.com/user/28Gshn
Support me on Patreon!
www.patreon.com/Gshn28
==================================================
Join me on Discord!
https://discord.gg/YzJ2axj
Bring your cities alive with AI-controlled cars!
- New car models and colors
- Player driven cars now turns smoothly
- Better performance
- Simplified structures
Watch this video for more detailed installation instructions and how to use it.
https://www.youtube.com/watch?v=d8feAj6DU3c
You can also download the map in the alternate link.
==================================================
Cinematic credits:
Thanks for MattuFIN for the Mattupolis city:
www.planetminecraft.com/member/mattufin/
I will not upload the map used in the cinematic! I'm not the one who built it (all credit goes to MattuFIN) and only some specific parts of the city were modified to add the cars.
Soartex Texture Pack made by Soar49 and updated by the community:
soartex.net/
Shaders by Sildur:
sildurs-shaders.github.io/
=================================================================
Check out my channel for more Datapacks!
www.youtube.com/user/28Gshn
Support me on Patreon!
www.patreon.com/Gshn28
==================================================
Join me on Discord!
https://discord.gg/YzJ2axj
Compatibility | Minecraft 1.15 |
to | Minecraft 1.16 |
Tags |
tools/tracking
4590129
119
car-traffic-generator
Create an account or sign in to comment.
I have a pretty poor PC though and it starts to lag with a lot of cars, which is expected, but I am wondering why it takes around 4 entities per car? Excluding the villager and minecart I assume there are 2 armor stands?
Also, why not use potion effects instead of arrow to deal damage?
About the number of entities, there are extra armorstands due to a small rendering bug. When a car turn, sometimes the model doesn't change the direction properly and the car goes "drifting" sideways haha. So I had to spawn extra entities riding each other to deal with it.
For the arrow, it's because potion of harming effect heals zombie type mobs and I'd need to test for each type of entity in order to apply the right effect.
Using tag files, you could easily tell the difference between mobs that need the healing or damage effect. Heres a function I call whenever I want to heal/deal damage:
https://pastebin.com/KMQMkefu
I set the dan.temp score of $HealDamage or $DealDamage to the amount of damage I want to deal/heal and call the function. the #dan.reap:undead tag file lists all the undead mob types that need to have the healing effect applied. Seems complicated but I feel like it is worth it as you can control the damage you deal and avoid the visual problems with arrows as well as their inaccuracy. May not work for everything however.
For the damage thing, I guess I was too lazy to make a simple tag file haha. (Even though I made a whole list for non-solid blocks that the car could go through) I was just reusing some commands from the previous version of the command -.-''