shirofuji Posted November 27, 2012 Posted November 27, 2012 cannot seem to detect the .act file and .spr file although they are in my grf and they are defined in my accname.lua: [ACCESSORY_IDs.ACCESSORY_LIGHTHALZEN_AURA] = "_lighthalzen" error is like this: Cannot find file: sprite\¾Ç¼¼»ç¸®\¿©\¿©.act Cannot find file: sprite\¾Ç¼¼»ç¸®\¿©\¿©.spr Quote
michaelsoftman Posted November 27, 2012 Posted November 27, 2012 They are in accname.lua, but what about accessoryid.lua? Quote
Anastashia Posted November 27, 2012 Posted November 27, 2012 As far as I know you should write [ACCESSORY_IDs.ACCESSORY_LIGHTHALZEN_AURA] = "_lighthalzen_aura", if you want to change it name in game you can change it in item_db and in idnum2itemdisplaynametable.txt In Lua you must write original name of sprite. Quote
Neo-Mind Posted November 28, 2012 Posted November 28, 2012 (edited) The formats to follow : inside accessoryid.lua => [ACCESSORY_IDs.ACCESSORY_<dbname i.e. the SECOND FIELD in item_db line>] = "_<Name of sprite without the male/female prefix and extensions>", inside accname.lua ACCESSORY_<dbname i.e. the SECOND FIELD in item_db line> = <view id i.e 19th field of the item_db line just before the scripts are specified> , Don't forget the commas either. You can make the dbname mentioned above ALL CAPS also if you want a more uniform look. when you use @iteminfo Both the dbname as well as the <display name> of the item shows up. The <display name> is what you set in *num2itemdisplaynametable.txt files and also what you see as the item name in all the windows. Edited November 28, 2012 by mindstream Quote
Question
shirofuji
cannot seem to detect the .act file and .spr file
although they are in my grf and they are defined in my accname.lua:
[ACCESSORY_IDs.ACCESSORY_LIGHTHALZEN_AURA] = "_lighthalzen"
error is like this:
Cannot find file: sprite\¾Ç¼¼»ç¸®\¿©\¿©.act
Cannot find file: sprite\¾Ç¼¼»ç¸®\¿©\¿©.spr
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.