ID:143548
 
Code:
turf
icon = 'turfs.dmi'
icon_state = "star 1"
density = 0

turf
icon = 'Stars.dmi'
icon_state = "Stars 1"
density = 1

turf
icon = 'Platform.dmi'
icon_state = "Platform 1"
density = 0

turf
icon = 'turfs.dmi'
icon_state = "star 1"
density = 1


Problem description:
What the heck did I do wrong???
It wont show up in my turfs only the
"star 1" will shjow up in the tree in turfs.. Help plz?

-JF

BYOND uses case sensitivity. Unless those icon_states are exactly correct, as in "star 1" is "star 1" and not "Star 1", it wont work.

Make sure that capitals and lower case letters are exactly where they are in the icon state name.
Jazzyfizzle wrote:
Code:
> turf
> icon = 'turfs.dmi'
> icon_state = "star 1"
> density = 0
>
> turf
> icon = 'Stars.dmi'
> icon_state = "Stars 1"
> density = 1
>
> turf
> icon = 'Platform.dmi'
> icon_state = "Platform 1"
> density = 0
>
> turf
> icon = 'turfs.dmi'
> icon_state = "star 1"
> density = 1
>
>

Problem description:
What the heck did I do wrong???
It wont show up in my turfs only the
"star 1" will shjow up in the tree in turfs.. Help plz?

Look at the type path you're using for each one. The first one is /turf. The second one is /turf. The third one is /turf. See a pattern?

You're not defining four different kinds of turfs. You're overriding the basic turf type, four times. The very last change is the one that's used.

Now if you want these all to be of type /turf, then what you really need to do is bring in the regular /turf in your map editor, and generate instances by icon state. If you want them all to appear in your object tree however, then they need different types like /turf/star1, /turf/star2, etc.

Lummox JR
turf
Star_1
icon = 'turfs.dmi'
icon_state = "star 1"
density = 0
Star_2
icon = 'Stars.dmi'
icon_state = "Stars 1"
density = 1
Platform_1
icon = 'Platform.dmi'
icon_state = "Platform 1"
density = 0
Star_3
icon = 'turfs.dmi'
icon_state = "star 1"
density = 1


hope that helped