shirofuji Posted November 27, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 10/05/12 Last Seen: June 15, 2020 Share 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 Link to comment Share on other sites More sharing options...
michaelsoftman Posted November 27, 2012 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 410 Reputation: 29 Joined: 04/04/12 Last Seen: November 28, 2024 Share Posted November 27, 2012 They are in accname.lua, but what about accessoryid.lua? Quote Link to comment Share on other sites More sharing options...
Anastashia Posted November 27, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 37 Reputation: 15 Joined: 04/13/12 Last Seen: February 20, 2015 Share 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 Link to comment Share on other sites More sharing options...
Neo-Mind Posted November 28, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.