Knasp Posted January 29, 2019 Share Posted January 29, 2019 I wonder if it's possible to have the random world generator place working vehicles, that the players can find and use? I know vehicles can be added to loot.xml but I would like them to be placed directly on the map. Like those annoying broken Sedans. Is it possible to edit prefabs by Xpath? Or if I make my own prefab, could I add a probability to spawn the vehicle or not? So that every such prefab have a random chance to spawn the vehicle? Link to comment Share on other sites More sharing options...
Guppycur Posted January 29, 2019 Share Posted January 29, 2019 Working on putting driveable cars in the world, so fingers crossed. Can't edit prefabs by xpath. =) Link to comment Share on other sites More sharing options...
Royal Deluxe Posted January 29, 2019 Share Posted January 29, 2019 If you are able to make container (blocks) looking like vehicle you can place them as deco in the world (Would mean a selfdestroying bike container containing a bike) Link to comment Share on other sites More sharing options...
Guppycur Posted January 30, 2019 Share Posted January 30, 2019 I've made most of my vehicles into blocks, but not quite done yet. =) Link to comment Share on other sites More sharing options...
Cirion Posted January 30, 2019 Share Posted January 30, 2019 Great idea! This gives some motivation to explore. I think it perfectly fits the theme too. Why are 100% of cars broken? I would think at least a few would still work? Link to comment Share on other sites More sharing options...
Guppycur Posted January 30, 2019 Share Posted January 30, 2019 Got this working. 2 are driveable, 3 are "blocks" that you need to loot (broken cars). - - - Updated - - - ...there are some inherent weirdnesses though when having driveable vehicles spawn naturally on the road... because they're technically entities, they don't spawn as far out as blocks, so they will often "pop in". Oh well. It works. =) Link to comment Share on other sites More sharing options...
Knasp Posted January 30, 2019 Author Share Posted January 30, 2019 Nice work Guppy! Looking forward to trying it out! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.