11-17-2009, 11:41 PM
hi Charlie,
i got a question for you.. plz ^^;;
i am using both Atoa AAS script and your inhanced equip. one
the AAS script by Atoa allow me to set two_hands_weapons,
so that when a weapon is set as two_hands, you can not equip a shield.
but....
as far as i have understood your script, the reason why normal weapon stack in inventory, (example : Short Sword x 2) and the enhanceable weapon does not stack
in the inventory (Short Sword x 1, Short Sword x 1 ) is because each enhanceable weapon can have several stat depending on how you upgrade it.
And there you had a genius idea dude.. You have change the weapon_id, so that each new enhanceable weapon the player gets got a unique id and is always different..
and if i m correct, new weapon_id is set as id = max number of weapon_id used +1
really good job, very smart.
but the thing is that the atoa AAS is asking for two_hands_weapon ID....
and here comes the problem.
If my 2 Hands Sword got id 10, and i set in the script that weapon with id 10 is a 2 hands one, i won't be able to equip a shield with # 10
but if this # 10 two hands sword is enhanceable... its ID changes !
it is no more #10 but max id +1...
and it is not considered as 2_hands any more by the system.
i have think of a way to correct that, but i need you bcz i don't know how to proceed :
what if instead of setting a list with two_hands_weapon_id in AAS script, i just make a "two_hands" element in the database ?
the enhanced weapon will still use this element, right ? but how czan i modify AAS script so that it doesn t consider the weapon id but the 2_hands ele ?
thanks for your help
i got a question for you.. plz ^^;;
i am using both Atoa AAS script and your inhanced equip. one
the AAS script by Atoa allow me to set two_hands_weapons,
so that when a weapon is set as two_hands, you can not equip a shield.
but....
as far as i have understood your script, the reason why normal weapon stack in inventory, (example : Short Sword x 2) and the enhanceable weapon does not stack
in the inventory (Short Sword x 1, Short Sword x 1 ) is because each enhanceable weapon can have several stat depending on how you upgrade it.
And there you had a genius idea dude.. You have change the weapon_id, so that each new enhanceable weapon the player gets got a unique id and is always different..
and if i m correct, new weapon_id is set as id = max number of weapon_id used +1
really good job, very smart.
but the thing is that the atoa AAS is asking for two_hands_weapon ID....
and here comes the problem.
If my 2 Hands Sword got id 10, and i set in the script that weapon with id 10 is a 2 hands one, i won't be able to equip a shield with # 10
but if this # 10 two hands sword is enhanceable... its ID changes !
it is no more #10 but max id +1...
and it is not considered as 2_hands any more by the system.
i have think of a way to correct that, but i need you bcz i don't know how to proceed :
what if instead of setting a list with two_hands_weapon_id in AAS script, i just make a "two_hands" element in the database ?
the enhanced weapon will still use this element, right ? but how czan i modify AAS script so that it doesn t consider the weapon id but the 2_hands ele ?
thanks for your help