krias2013 Posted August 20, 2014 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 10/05/13 Last Seen: July 21, 2023 Share Posted August 20, 2014 quiero meter armas custom con el exe 2013 08 07 pero no me permite, cargo todo en las carpetas correspondientes y le coloco una id disponible pero al usar el arma aparece el arco normal no el arco custom, si alguien sae como que me de un ejemplo de un arma ya implemenetada, con todon la info del iteminfo.lua/lub Ranger_famele.bmp Ranger_famele.bmp Quote Link to comment Share on other sites More sharing options...
Ziu Posted August 21, 2014 Group: Members Topic Count: 178 Topics Per Day: 0.04 Content Count: 909 Reputation: 247 Joined: 11/08/11 Last Seen: March 28 Share Posted August 21, 2014 Tienes que asignarle al sprite un ["ClassNum"] = y añadirlo a los lub y por supuesto al itemInfo.lub aparte de añadirlo en el db del emulador.Como curiosidad Si sustituyes un sprite por ejemplo renombrandolo directamente no te funcionará, tienes que cargar ese sprite en el editor y guardarlo con el nuevo nombre. 1 Quote Link to comment Share on other sites More sharing options...
krias2013 Posted August 26, 2014 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 10/05/13 Last Seen: July 21, 2023 Author Share Posted August 26, 2014 si agrege al iteminfo.lub/lua con su respectivo ID (1700) tambien al emulador pero encontre encontre esto Weapon Sprite Solution (For New Clients) For new clients the view id system is also applicable to client. To add a custom weapon you need to first edit a file called weapontable.lub in your data folder data/luafiles514/lua files/datainfo/weapontable.lub I will be adding Oriental_Sword which will be a 1-Handed sword. Open weapontable.lub. First you will see a table called Weapon_IDs. Take note of the first 30 values in this table - these are the only available Weapon types in the client right now. Anyways go to the last entry which should be for Wizardy Staff = 97. You can use a view id after that like shown below WEAPONTYPE_Oriental_Sword = 98, Come down and you see the next table called WeaponNameTable. Here is where you add your sprite name suffix.What do i mean by that? Its the last part in your weapon sprite & act file. Before it used to be _<Item ID>. data/sprite/<job dependent folder>/<job dependent prefix>_<gender><weapon suffix>.spr OK Back to topic. so I add my entry like shown below. [Weapon_IDs.WEAPONTYPE_Oriental_Sword] = "_Oriental" Lastly come down further in weapontable.lub and you see the last table called Expansion_Weapon_IDs.Remember the 30 types i told you to take note of ? here we assign one of those to our custom (like a mapping or connection).Since mine is a 1-Handed Sword I specify it like below. [Weapon_IDs.WEAPONTYPE_Oriental_Sword] = Weapon_IDs.WPCLASS_WEAPONTYPE_SWORD Now for the most important part. For our client to actually pick up all these details we need to provide the view id which we used in Weapon_IDs table as the ClassNum value in ItemInfo.lua. Check the ItemInfo.lub format shown above for details. With this your weapon sprite will become visible while attacking. http://rathena.org/wiki/Custom_Items segun esa info hay que modificar el wepontable.lua Quote Link to comment Share on other sites More sharing options...
Ziu Posted August 26, 2014 Group: Members Topic Count: 178 Topics Per Day: 0.04 Content Count: 909 Reputation: 247 Joined: 11/08/11 Last Seen: March 28 Share Posted August 26, 2014 Para añadir nuevos sprites si, ya te lo dije, Tienes que asignarle al sprite un ["ClassNum"] Quote Link to comment Share on other sites More sharing options...
krias2013 Posted October 21, 2014 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 10/05/13 Last Seen: July 21, 2023 Author Share Posted October 21, 2014 si le hasigno el class num 99 pero cuando pongo ese class num en el iteminfo en la carpeta system el exe se atora y se cierra Quote Link to comment Share on other sites More sharing options...
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.