ok i know this
turf/wall
icon = 'wall'
icon_state = "walls.dmi"
opasity = 1
dencity = 1
i do that and the icon but it dont work on the map and my map always says error with tree obi but i dont have a tree thing it always does this with eny map i try making how do i fix it
ID:270370
![]() Apr 5 2006, 3:20 am
|
|
i dont understand all i want to do is make a map with floors,walls,glass walls can't walk through or see through glass can see through but can't walk through and floor u know can u tell em teh codes for that plz :)
|
No, I can't tell you the "code" for anything. There is no "code" for anything. Just read up on the reference (http://www.byond.com/docs/ref/) and the guide (http://www.byond.com/docs/guide/). Just look to the left under Resources. That is a great place to learn what you need.
Just look at it all, try it out. You have the right idea with density and opacity. Just try looking through what I linked you to. Experimenting is the best way to learn. :) |
ok i know how to do it now but that error thing is still poping up about teh tree obi error but i dont have a tree in it just wall glass floor
^ ^ . . ~ |
It seems to me you have your icon and icon_state confused. The icon variable will be the file it is. In this example, it is the walls.dmi file. The icon_state variable will always be the state you defined to individual icons inside the dmi file.
Also always put your code inbetween <dm> </dm> so it is easier for everyone to read.