Jump to content
  • 0

Converting code format.


MrEnzO

Question

Hi boys and girls. 

 

 

Anybady know a easy way of converting the format of this code

 

{ "Land_BuoyBig_F",{ 15721.4,64.163,-0.979368 },359.777 },
{ "Land_Wreck_Traw_F",{ 15639.2,124.932,0.263839 },322.809 },
{ "Land_Wreck_Traw2_F",{ 15658.1,100.086,1.61801 },323.376 },
{ "Land_Scaffolding_F",{ 15646.2,133.731,-0.294488 },137.789 },
{ "Land_HBarrierBig_F",{ 15651,162.33,0.0101829 },73.3763 },
{ "Land_HBarrier_Big_F",{ 15625.1,175.804,-0.00112391 },52.9624 },
{ "Land_HBarrier_Big_F",{ 15645.6,161.356,-0.00148749 },355.877 }

 

to this and vice versa.

 

 

[
["Land_BuoyBig_F",[15721.4,64.163,-0.979368],359.777,0,0,false],
["Land_Wreck_Traw_F",[15639.2,124.932,0.263839],322.809,0,0,false],
["Land_Wreck_Traw2_F",[15658.1,100.086,1.61801],323.376,0,0,false],
["Land_Scaffolding_F",[15646.2,133.731,-0.294488],137.789,0,0,false],
["Land_HBarrierBig_F",[15651,162.33,0.0101829],73.3763,0,0,false],
["Land_HBarrier_Big_F",[15625.1,175.804,-0.00112391],52.9624,0,0,false],
["Land_HBarrier_Big_F",[15645.6,161.356,-0.00148749],355.877,0,0,false]
]

 

 

I am redoing the tradercitys on bornholm duo to the fact if you try to sell a boat, the traders are to far away and if you try to buy it, it will be on land with result that it's broken/blows up more than 60-70% of the time. And I really don't like the look of them either. And then I adding some lights in the spawnbox (that are facing the right way), a couple atm to the traders and some other addons to the map.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Nice. Thank you. I use your editor, really nice work. Are you going to update it with other functions, like grouping object together? And I would love to have a initialization box so you can give objects a value, for example "this allowDammage false;".

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...