Jump to content
  • 0

View Custom Weapons


Question

Posted

Hi;
I've a problem, when I add a new custom weapon/shield also if they've the sprite, when are equipped the sprites isn't viewed; how I can make they visible in game?

Thanks in advice!

P.S. : Sorry for my orrible english.. .

15 answers to this question

Recommended Posts

Posted (edited)

Hmm, sorry for my ignorance, you mean the my "nameserver.grf" ? I don't know it, where I can see the version? So after I tell you it

Edited by ProtoMan
Posted

Adding a custom weapon can be tricky. You need to make sure your custom weapon;

1) Uses a valid (and free) ID range for it's weapon type.

2) Has it's VIEW ID (database) and ClassNum (client-side) set as the weapon type, this topic may help you if you're using clients newer than 2012-04-10

 

Let us know if you got it working.

Posted

Adding a custom weapon can be tricky. You need to make sure your custom weapon;

1) Uses a valid (and free) ID range for it's weapon type.

2) Has it's VIEW ID (database) and ClassNum (client-side) set as the weapon type, this topic may help you if you're using clients newer than 2012-04-10

 

Let us know if you got it working.

Okay I understand a little, so, what mean whit ClassNum? Because I've done all the things of the topic that you link, but in my case, the character hasn't nothing in the hand; thanks anyway so much for the reply and help..

Posted (edited)

That is my weapontable.lua; I wrote anything? :

 

Weapon_IDs = {

  WEAPONTYPE_Eternal_Blade = 98,

 

WeaponNameTable = {

  [Weapon_IDs.WEAPONTYPE_Eternal_Blade] = "_20935" (<-- ID of my TwoHandSword in my item_db2)

 

Expansion_Weapon_IDs = {

  [Weapon_IDs.WEAPONTYPE_Eternal_Blade] = Weapon_IDs.WEAPONTYPE_TWOHANDSWORD

 

item_db2:

 

20935,20935,Eternal Blade,4,60000,,2200,90,,1,4,0x00004082,7,2,34,3,33,1,98,{},{},{}

 

 
 
 
thanks so much if anyone can help me!
Edited by ProtoMan
Posted

ProtoMan, try this entry on your item_db.txt

Try moving your Eternal Blade to item ID 21015. Then make it's item_db.txt entry like this;

21015,Eternal_Blade,Eternal Blade,4,60000,,2200,90,,1,4,0x00004082,7,2,34,3,33,1,3,{},{},{}

I'll move this to client-side support. Please let us know if this worked for you.

  • Upvote 1
Posted (edited)

Wait, I before now don't put nothing in sprite folder about the "Atk Sprite" now I have it:

 

data/sprite/Àΰ£Á·/±â»ç/±â»ç_¿©_1198.act and ±â»ç_¿©_1198.spr

 

It's a Two-Handed Sword for Lord Knights;
is that correct? Because my client read only this type of symbols, anyway the sprite doesen't view in game... I must change other?

Thanks again, Conflicts

Edited by ProtoMan
Posted

Yes, though I assumed you already have followed those steps. Add the sprites accordingly (following the format you've shown us above).

And make sure you have it for both male and female. Then test it in-game before proceeding with my suggestion, if it still didn't work.

  • Upvote 1
Posted (edited)

Hello guys, I am having trouble when I attack with my custom weapon  the client automatically crashes. but it has no problem on drop,inventory and when i use a skill that displays the weapon (meteor assault)

 

nbomqo.jpg

 

item_db2

{
Id: 30007
AegisName: "Catpaw"
Name: "Catpaw"
Type: 4
Buy: 500000
Sell: 100000
Weight: 100
WeaponLv: 4
Atk: 120
Slots: 4
Loc: 2
View: 100
Script: <"
 
">
},
 
itemInfo.lub
[30007] = {
unidentifiedDisplayName = "Catpaw",
unidentifiedResourceName = "_Catpaw",
unidentifiedDescriptionName = {
"Unknown Item, can be identified by ^6A5ACDMagnifier^000000."
},
identifiedDisplayName = "Catpaw",
identifiedResourceName = "_Catpaw",
identifiedDescriptionName = {
"Atk +120.",
"Class :^777777 Katar^000000",
"Attack: ^777777120^000000",
"Weight: ^77777750^000000",
"Weapon Level: ^7777774^000000",
"Required Level: ^7777772^000000",
"Applicable Job :^777777 Assassin^000000",
},
slotCount = 4,
ClassNum = 100
},
 
weapontable.lub
WEAPONTYPE_Catpaw = 100
[Weapon_IDs.WEAPONTYPE_Catpaw] = "_Catpaw"
[Weapon_IDs.WEAPONTYPE_Catpaw] = Weapon_IDs.WEAPONTYPE_KATAR
 
File name on:
 
¾ÆÀÌÅÛ :
_Catpaw.act
_Catpaw.spr

 

Àΰ£Á· ---> ¾î¼¼½Å :

 

¾î¼¼½Å_³²_Catpaw.act

¾î¼¼½Å_³²_Catpaw.spr

 

¾î¼¼½Å_³²_Catpaw_°Ë±¤.spr

¾î¼¼½Å_³²_Catpaw_°Ë±¤.act

Edited by wengbenedict93

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...