Fleshus Posted December 18, 2021 Share Posted December 18, 2021 Hello, how do I spawn prefabs in the A20? For the A19 I had a rwgmixer.xml with something like this: <append xpath = "/ rwgmixer / prefab_rules / prefab_rule [@ name = 'prefabList']"> <prefab name = "FLESHUS_Robin_Hood" prob = "0.05" /> Is it obsolete now? Link to comment Share on other sites More sharing options...
stallionsden Posted December 18, 2021 Share Posted December 18, 2021 43 minutes ago, Fleshus said: Hello, how do I spawn prefabs in the A20? For the A19 I had a rwgmixer.xml with something like this: <append xpath = "/ rwgmixer / prefab_rules / prefab_rule [@ name = 'prefabList']"> <prefab name = "FLESHUS_Robin_Hood" prob = "0.05" /> Is it obsolete now? You just put the prefab in the prefabs folder. Make sure they have the correct tags and road connectors if outside of downtown and commercial. Wilderness uses road exits and each district like rural, residential, industrial, countrytown, and countrytownresidential each have their own driveway marker. Link to comment Share on other sites More sharing options...
Fleshus Posted December 18, 2021 Author Share Posted December 18, 2021 I just put some tags and it worked for all except 1 who doesn't spawn! Is there a log where I can see why this is messing up? Link to comment Share on other sites More sharing options...
stallionsden Posted December 18, 2021 Share Posted December 18, 2021 2 minutes ago, Fleshus said: I just put some tags and it worked for all except 1 who doesn't spawn! Is there a log where I can see why this is messing up? Other then just checking everything in the editor noxthe logs won't tell you why it didn't spawn. Which poi didn't spawn Link to comment Share on other sites More sharing options...
Fleshus Posted December 18, 2021 Author Share Posted December 18, 2021 My biggest named Serial_kIller Is it because of the size you think? He does : 135,66,120 Link to comment Share on other sites More sharing options...
stallionsden Posted December 18, 2021 Share Posted December 18, 2021 1 hour ago, Fleshus said: My biggest named Serial_kIller Is it because of the size you think? He does : 135,66,120 Where did you place it. Rural or wilderness Link to comment Share on other sites More sharing options...
Fleshus Posted December 18, 2021 Author Share Posted December 18, 2021 I put tags residential countryresidential rural snow desert forest Otherwise with these "tags" do the properties of prefabs still matter? I put rural, house new for groups and residential, residential new for zones Link to comment Share on other sites More sharing options...
stallionsden Posted December 18, 2021 Share Posted December 18, 2021 Ok for any bigger then 25x25, 42x42,60x60 and 100x100. A custom tile is needed. (Keeping in mind a tile is 150 x 150 and needs roads exiting/entering 8 blocks wide so neyween 71 blocks from either end) for downtown, commercial, industrial, residential, countrytown and countrytownresidential. Rural can take bigger pois upto a certain size but any big ones need to go wilderness only. For your big one I would mark it rural or wilderness. 2 Link to comment Share on other sites More sharing options...
Fleshus Posted December 18, 2021 Author Share Posted December 18, 2021 35 minutes ago, stallionsden said: Ok for any bigger then 25x25, 42x42,60x60 and 100x100. A custom tile is needed. (Keeping in mind a tile is 150 x 150 and needs roads exiting/entering 8 blocks wide so neyween 71 blocks from either end) for downtown, commercial, industrial, residential, countrytown and countrytownresidential. Rural can take bigger pois upto a certain size but any big ones need to go wilderness only. For your big one I would mark it rural or wilderness. Ok thank you for your explanations. I had heard about these "tile" systems that I don't know how they work, but I imagined that it was a particular trick to generate neighborhoods. Basically a prefab of prefabs. I didn't think this had become the default system for the generations of all POIS. (well for some tags ...). I do not yet see the point of this new system. Frankly it blows me up, but I'll try to put rural as a tag for now. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now