I seem to have won and not getting any undefined string messages now. At least not see any visible.
What I done in the language files for instance like Pyoro mention I reduced the strings on many of the objects from this:
Code: Select all
STR_reef4 :Reef Large Rocks
STR_reef4_purchase_view1 :Reef Rocks
STR_reef4_purchase_view2 :Reef Rocks
STR_reef4_purchase_view3 :Reef Rocks
STR_reef4_purchase_view4 :Reef Rocks
Code: Select all
STR_reef4 :Reef Large Rocks
And in the NML file I delete the code for the string switch (switch (FEAT_OBJECTS, SELF, switch_add_text_STR_reef4, view) ...). Not needed anymore, obviously.
Also changed reference to the PURCHASE sprites.
Code: Select all
spriteset (spriteset_reef4_PURCHASE) {
template_building_low(0,0,"gfx/reef4.png")
}
Good if I can do this, I will alter the class and classnames again so this will share same chains.frosch wrote:About your sprite sharing: You can share sprites between different graphic chains and even different objects just fine. Sharing them reduces memory usage.
Thank you all kindly for your help in solving this problem.
Cheers fellas
Garry