[help]can some one help me how i add custom building on my server?

hey i try for like 3 days to find out how i add custom buildings on my server but i dont find out how pls help me with that

What and how did you try? And what format is the building in?

You can easily load ymaps by:

  1. put ymaps into a folder called stream
  2. in the __resource.lua have an entry called this_is_a_map 'yes'

i use y maps and i was serching for it 3 days and was testing some stuff with like a empty __Recource.lua and put the ymap in a stream file and have the stream file in a extra file with the name of the building

i have a [house] in my resources and in there is the stream file with the ymap and the __resouce.lua with the this_is_a_map 'yes' and it dont work

Screenshots please. Because it’s pretty easy to do. Just create a resource, create a stream folder, put ymap’s in the stream folder and this_is_a_map 'yes' in the __resource.lua.

grafik
grafik
grafik


grafik

1 Like

grafik
grafik

Remove the spaces from the ymap filename and start the resource

start Franklin

So it looks like it’s starting fine…

yea but it isnt there

Then either you’re at the wrong coordinate or the ymap just… doesn’t work.

ohhhh ok

it says .ymap in the name but at type it says xml-doc?

1 Like

? where

on the map file it was a ymap


this is the building i use right now

Oh he didn’t convert it to ymap. Drag + drop it into OpenIV and drag it out. You’ll have a ymap then. This is a Menyoo ymap, which is ymap.xml

Check this tutorial for details How to load mapeditor xmls into your server using ymaps

so i need to put the ymap in openiv and than take it out again ?

grafik
grafik
the last one is my i dont have the Calc.Extents

Doesn’t matter. Just save it.

ahhhh ok i try

1 Like