turf
grass
icon = 'turfs.dmi'
icon_state = "grass"
density = 0
water
icon = 'turfs.dmi'
icon_state = "water"
density = 1
whenever i try to add a water turf, it changes my grass turf to water on the map file..i always get this problem..please help..:
ID:145390
![]() Mar 28 2006, 9:12 am
|
|
Code:
turf whenever i try to add a water turf, it changes my grass turf to water on the map file..i always get this problem..please help..: |
I didn't think it would even compile like that.
I guess he could load the map editor without compiling though. |
thank you, i told you it was simple =P. im just starting out, so hopefully ill get better at this =).
|
The compiler probably thinks he's making a new type, the turf/grass, then just going back to editing the variables of the base type. Obviously, you can do something like that.
obj Then it just does the same for the second derived type, then thinks he's going back to the base type and overriding what he did before. So type1 Ends up being equivalent to type1 |
Oh yeah, I didn't think about that. I have never tried to make a type without puting anything into it.
|
The following will make it so that only grass displays as grass, and only water displays as water.