Make fences palce in sequence and not at random.

Your forum for all discussions around Modding.
LJR Modding
Posts: 2
Joined: Fri Jan 26, 2024 9:32 pm

Make fences palce in sequence and not at random.

Post by LJR Modding »

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>
olahaldor
Posts: 259
Joined: Wed Oct 03, 2012 11:08 am
Location: Norway

Re: Make fences palce in sequence and not at random.

Post by olahaldor »

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.
Post Reply