stallionsden Posted February 12, 2016 Share Posted February 12, 2016 the position is the number of cells, with 0,0 being the central hub cell. Each cell can only have 1 hub. <ruleset name="vanilla" cell_cache_size="16" cell_size="1600" cell_offset="0.6" generation_distance="12000"> <cell_rule name="TWD_PrisonHub" position="2,2" prob="0"/> The highlighted parts are the relevant bits. 2,2 would be 1600*2 east and north (negatives are west and south) The offset is a ratio of the cell size that the hub can be centered from the middle of the cell. So 1600 * 0.6. 2,2 would be within roughly 500 blocks of 3200 north and 3200 south. If you want to be sure to find it at exactly 3200,3200 then set the offset to 0. The prob values are explained in detail here, however if a cell_rule has a position attribute then it will be spawned at that location regardless of what the prob value is set to. If it's listed before or after any cell rules with a prob > 0 and it has a prob=0 for itself then it wont spawn anywhere except at the position. Argh stupid me lol was thinking he was having errors and not able to get the pack to show up urgh. Sorry vosszaa and thanks StompyNZ Link to comment Share on other sites More sharing options...
vosszaa Posted February 12, 2016 Share Posted February 12, 2016 2,2 would be within roughly 500 blocks of 3200 north and 3200 south. If you want to be sure to find it at exactly 3200,3200 then set the offset to 0 Ive been looking around 1000 instead of 3200. will check again EDIT: Yep, they both spawn around 3200, not 1000. Thanks for the help guys especially Stompy Link to comment Share on other sites More sharing options...
h0tr0d Posted February 12, 2016 Share Posted February 12, 2016 I'll also say this (which is unnecessary to say because well...) I'm not considered the "prefab guru"; however, I usually help arrive at a solution through mistakes and insight with such players as Magoli, Laz_man, stallionsden, StompyNZ, and others. My apologies for leaving anyone out; my advice is this: Wait for A14 as it was promised this month and see if it addresses hub layout issues, prefab and world generation as well as a change to the rwgmixer (similar to the fact they sprung a new way of generating worlds by making the rwgmixer less mod-friendly...which ran counter to previous statements of making it more mod-friendly). For now I am working on fleshing out lines of blocks as well as individual paths for these lines). Vote h0tr0d 2016 -- which old witch? the wicked witch Link to comment Share on other sites More sharing options...
vosszaa Posted February 12, 2016 Share Posted February 12, 2016 @Magoli This prefab always spawn broken in a 4x2 hub. Can you please look into fixing this Link to comment Share on other sites More sharing options...
Magoli Posted February 12, 2016 Author Share Posted February 12, 2016 Oh man , where was my head !!!! Its ofc how Stompy descibed it. Its not 512 for each cell. Its 1600 !!!! I was in Nava with my head. Sry for my disinformation vosszaa. Stupid me. And the building above is supposed to be so !!! Its called Collapsed building, and only appears in wastycity. Mag Link to comment Share on other sites More sharing options...
vosszaa Posted February 12, 2016 Share Posted February 12, 2016 And the building above is supposed to be so !!! Its called Collapsed building, and only appears in wastycity. Mag Ahh okay nvm then Link to comment Share on other sites More sharing options...
FuNiOnZ Posted February 13, 2016 Share Posted February 13, 2016 I m absolutely serious; if you give me your output_log.txt I may be able to solve the problem. Sorry, been trying to get the issue to happen again, it seems to happen mostly when one person is in the sewers and the other is moving around in the city above, here's a screenshot of the approx area (im not familiar with all the names of the cities/prefabs) Link to comment Share on other sites More sharing options...
Magoli Posted February 13, 2016 Author Share Posted February 13, 2016 It seems u are using another mod ! Anyway, what should be the error in this pic funionz ? Cant see any stranger here, except the gui Mag Link to comment Share on other sites More sharing options...
vosszaa Posted February 13, 2016 Share Posted February 13, 2016 What is this prefab called? Link to comment Share on other sites More sharing options...
stallionsden Posted February 13, 2016 Share Posted February 13, 2016 What is this prefab called? Area51 Link to comment Share on other sites More sharing options...
vosszaa Posted February 13, 2016 Share Posted February 13, 2016 Thanks stallionsden Link to comment Share on other sites More sharing options...
stallionsden Posted February 13, 2016 Share Posted February 13, 2016 Thanks stallionsden Why that. I got to work on it a bit. Been busy with other things. Am slowly getting to it Link to comment Share on other sites More sharing options...
FuNiOnZ Posted February 13, 2016 Share Posted February 13, 2016 It seems u are using another mod ! Anyway, what should be the error in this pic funionz ? Cant see any stranger here, except the gui Mag Vanilla, with the compo pack. No other mod (other than my GUI) Error isn't in this picture as i've said i've been trying to re-create it, the same error I posted before Link to comment Share on other sites More sharing options...
vosszaa Posted February 13, 2016 Share Posted February 13, 2016 Why that. I got to work on it a bit. Been busy with other things. Am slowly getting to it The amount of gun safe in that place is rather OP lol Link to comment Share on other sites More sharing options...
stallionsden Posted February 13, 2016 Share Posted February 13, 2016 The amount of gun safe in that place is rather OP lol Its area51. Mags already de looted it but realistically area51 would be super stocked. Link to comment Share on other sites More sharing options...
Tador Posted February 15, 2016 Share Posted February 15, 2016 Hi i found an bug with the TWD-Prison. the street around is higher than the Prison. Link to comment Share on other sites More sharing options...
Magoli Posted February 15, 2016 Author Share Posted February 15, 2016 Hi i found an bug with the TWD-Prison. the street around is higher than the Prison. [ATTACH=CONFIG]13274[/ATTACH] yo - thx will check that ! Link to comment Share on other sites More sharing options...
Tahoenvy Posted February 19, 2016 Share Posted February 19, 2016 Hi Mags, I was wondering if you had a quick fix for a problem I have. I loaded the latest Compo pack and my seed is pretty good but I have one smallish "hub" city where all the buildings are one block above ground. It's only that one city, is there a quick fix for this? I already tried deleting the region and didn't think that would work but tried anyway, same issue when it respawned. Link to comment Share on other sites More sharing options...
Guppycur Posted February 19, 2016 Share Posted February 19, 2016 I'm no expert, but I think that city is screwed. Rename it asgard and walk away. Link to comment Share on other sites More sharing options...
Tahoenvy Posted February 19, 2016 Share Posted February 19, 2016 I'm no expert, but I think that city is screwed. Rename it asgard and walk away. Yea that's what I figured, I'll have to put up Road signs that say "Danger Ahead" and orange cones, LOL Im NOT doing a new seed just for that. Link to comment Share on other sites More sharing options...
Guppycur Posted February 19, 2016 Share Posted February 19, 2016 Radical idea, assuming 1) There's nothing you want to keep around it, and 2) You don't mind weird terrain matching. Find the regions the town is in, delete JUST THOSE REGIONS, start a NEW seed that has something similar, and copy those region files in the place of the ones you deleted. Maybe you'll get lucky and they'll more or less match. Link to comment Share on other sites More sharing options...
Magoli Posted February 19, 2016 Author Share Posted February 19, 2016 @ Tahoenvy Yeah - A13.8 has a bug that screws up some cities. Havent figured it out yet how to stop it !! IMO its a gamebug - not a Prefab-Issue Mag Link to comment Share on other sites More sharing options...
StompyNZ Posted February 19, 2016 Share Posted February 19, 2016 Hi Mags, I was wondering if you had a quick fix for a problem I have. I loaded the latest Compo pack and my seed is pretty good but I have one smallish "hub" city where all the buildings are one block above ground. It's only that one city, is there a quick fix for this? I already tried deleting the region and didn't think that would work but tried anyway, same issue when it respawned. The pack includes the sewers now right? Is the city at a very low elevation? if the map says height -20 or something like that you will be missing the cityblock prefabs. You could fix it by deleting the region files for the city and changing the cityblocks back to the original ones then mapping out the city, after that you can change back to the sewers cityblocks for the next cities you explore Cities spawn all prefabs 1 block higher with the expectation that the cityblock prefabs will fill that gap, so when they fail everything floats if it doesn't have a sub 0 layer Link to comment Share on other sites More sharing options...
brad68brad Posted February 21, 2016 Share Posted February 21, 2016 I'm just trying to get it to work Link to comment Share on other sites More sharing options...
wolverine576 Posted February 21, 2016 Share Posted February 21, 2016 I'm just trying to get it to work What you trying to get to work? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.