LCKB
Add new Pos to t_zonedata - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Release Zone (https://lckb.dev/forum/forumdisplay.php?fid=190)
+---- Forum: Episode 4 Releases (https://lckb.dev/forum/forumdisplay.php?fid=156)
+----- Forum: Server Side (https://lckb.dev/forum/forumdisplay.php?fid=138)
+----- Thread: Add new Pos to t_zonedata (/showthread.php?tid=4737)



- Scura - 05-13-2021


Hi guys,

I've take a look inside t_zonedata and i found that:



seems "a_poscount" count the max subzone, and then there are all the "a_pos x","y"... this value should be used when admins use /go_zone command, I was looking for a way to add a new zone here: I didn't understood which coordinates I should input, I tried to take the t_characters cords without success ? 

 




- Scura - 05-13-2021


/index.php?/profile/164-cooldude/&do=hovercard" data-mentionid="164" href="/index.php?/profile/164-cooldude/" rel="">@cooldude i probably failed with the section, i am sorry, can you move it ? 




- Desarija - 05-14-2021



11 hours ago, Scura said:




Hi guys,



I've take a look inside t_zonedata and i found that:



2



seems "a_poscount" count the max subzone, and then there are all the "a_pos x","y"... this value should be used when admins use /go_zone command, I was looking for a way to add a new zone here: I didn't understood which coordinates I should input, I tried to take the t_characters cords without success ? 



 




increase a_poscount by 1, then in a_posleft and a_posright you add the x coordinate as last number, and do the same with the z coordinate in a_postop and a_posbottom^^

if you want to have a little range of possible spawn positions in the subzone like on the spawn pads in every map, you can add slightly different values, while a_posleft is your western coordinate so the number should be smaller than a_posright, and a_postop is your northern coordinate so it should be smaller than a_posbottom




- Scura - 05-14-2021


Thanks /index.php?/profile/18894-desarija/&do=hovercard" data-mentionid="18894" href="/index.php?/profile/18894-desarija/" rel="">@Desarija, i ve managed yesterday how to do that, and i was thinking to create a little guide. But seems you have wrote everything here. As usual +1 for you my friend




- Joker - 05-14-2021


.