KDS_Sol Posted May 5, 2025 Share Posted May 5, 2025 (edited) I made a scml in Spriter and turned autocompile, but in build.xml, I have a problem with Symbol name becoming 'symbol0'. build.xml : <Build name="swap_ryuweapon.scml"> <Symbol name="symbol0"> <Frame framenum="0" duration="10" image="swap_ryuweapon" w="268" h="512" x="29.310356" y="-66.770432"/> </Symbol> </Build> If I set the asset path to : owner.AnimState:OverrideSymbol("swap_object", "swap_ryuweapon", "swap_ryuweapon") it doesn't work, but it only works if I set it to : owner.AnimState:OverrideSymbol("swap_object", "swap_ryuweapon", "symbol0") Does anyone know what's the problem? I've tried everything to rename this symbol, but this bloody symbol0 doesn't change its name as hell. Edit: changing folder name solved problem. Before : <?xml version="1.0" encoding="UTF-8"?> <spriter_data scml_version="1.0" generator="BrashMonkey Spriter" generator_version="b5"> <folder id="0"> <file id="0" name="swap_ryuweapon.png" width="268" height="512" pivot_x="0" pivot_y="1"/> </folder> <entity id="0" name="swap_ryuweapon"> <animation id="0" name="BUILD" length="1000"> <mainline> <key id="0"> <object_ref id="0" name="swap_ryuweapon" folder="0" file="0" abs_x="4.104089" abs_y="-4.875244" abs_pivot_x="0.395911" abs_pivot_y="0.375244" abs_angle="360" abs_scale_x="1" abs_scale_y="1" abs_a="1" timeline="0" key="0" z_index="0"/> </key> </mainline> <timeline id="0" name="swap_ryuweapon"> <key id="0" spin="0"> <object folder="0" file="0" x="4.104089" y="-4.875244" pivot_x="0.395911" pivot_y="0.375244"/> </key> </timeline> </animation> </entity> </spriter_data> After: <?xml version="1.0" encoding="UTF-8"?> <spriter_data scml_version="1.0" generator="BrashMonkey Spriter" generator_version="b5"> <folder id="0" name="swap_ryuweapon"> <file id="0" name="swap_ryuweapon.png" width="268" height="512" pivot_x="0" pivot_y="1"/> </folder> <entity id="0" name="swap_ryuweapon"> <animation id="0" name="BUILD" length="1000"> <mainline> <key id="0"> <object_ref id="0" name="swap_ryuweapon" folder="0" file="0" abs_x="4.104089" abs_y="-4.875244" abs_pivot_x="0.395911" abs_pivot_y="0.375244" abs_angle="360" abs_scale_x="1" abs_scale_y="1" abs_a="1" timeline="0" key="0" z_index="0"/> </key> </mainline> <timeline id="0" name="swap_ryuweapon"> <key id="0" spin="0"> <object folder="0" file="0" x="4.104089" y="-4.875244" pivot_x="0.395911" pivot_y="0.375244"/> </key> </timeline> </animation> </entity> </spriter_data> Edited May 5, 2025 by KDS_Sol Link to comment https://forums.kleientertainment.com/forums/topic/165606-solved-item-mod-symbol-build-error/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now