I used chat gbt to try and help write it to make it work, but it is still placing the posts are random. I want it to place pole 1 then pole 2 and then pole 3 and then repeat starting back at 1.
<fence maxVerticalAngle="45" maxVerticalGateAngle="2">
<poles node="1>">
<group>
<pole node="1>0"> </pole>
<pole node="1>1"> </pole>
<pole node="1>2"> </pole>
</group>
</poles>
<panels node="2>" length="4" /> <!-- contains list of children each is a variant -->
</fence>
This is the basic xml line on used on an ingame mod
<fence maxVerticalAngle="45" maxVerticalGateAngle="2">
<poles node="1>" /> <!-- contains list of children each is a variant -->
<panels node="2>" length="4" /> <!-- contains list of children each is a variant -->
</fence>
Make fences palce in sequence and not at random.
2 posts
Page 1 of 1
-
- Posts: 2
- Joined: Fri Jan 26, 2024 9:32 pm
Re: Make fences palce in sequence and not at random.
I don't think that's possible. The randomization is by default in the fence build function of the game, to add more variation and less patterns.
2 posts
Page 1 of 1