ID:144002
 
Code:
turf
cament
icon = "Cament.dmi"


turf
Rail
icon = "Rail.dmi"
density = 1


turf
Ramp
icon = "Ramp.dmi"
icon_state = "1"
icon_state = "2"
icon_state = "3"


Problem description:
WTF did I do wrong!!!!????
I know that is right!

But it gives me


loading Skate Progress.dme
Skate Progress.dm:3:error: "Cament.dmi": bad file
Skate Progress.dm:8:error: "Rail.dmi": bad file
Skate Progress.dm:14:error: "Ramp.dmi": bad file

Skate Progress.dmb - 3 errors, 0 warnings (double-click on an error to jump to it)


Not sure... Try changing the "" to '' for the icon file?

If not that then its the icon itself(I think)

-KirbyAllStar
When assigning icons, the icon file name must be in single quotes, like so:

icon = 'Rail.dmi'
In response to KirbyAllStar
turf
cament
icon = 'Cament.dmi'


turf
Rail
icon = 'Rail.dmi'
density = 1


turf
Ramp
icon = 'Ramp.dmi'
icon_state = "1"
icon_state = "2"
icon_state = "3"


LOL omg I feel so stupid thx alot it works now :P
In response to SuperSaiyanGokuX
SuperSaiyanGokuX wrote:
When assigning icons, the icon file name must be in single quotes, like so:

icon = 'Rail.dmi'


I fixed it :P
Ty
In response to Jazzyfizzle
No problem, I think it has something to do with the rsc.
In response to Jazzyfizzle
This is for future reference:
/*You don't need to call turf for every single item when it is already defined, 
only when it is not and you want it to be, you should.. you don't have to, but it
saves space.*/

turf
cament
icon = 'Cament.dmi'
Rail
icon = 'Rail.dmi'
density = 1
Ramp
icon = 'Ramp.dmi'
//Having all 3 states like they were won't work, you need to make separate subclasses
One
icon_state = "1"
Two
icon_state = "2"
Three
icon_state = "3"