Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
In the Magic Item Compendium page 47 there is a Bladed Crossbow.
Quote:
I'm trying to think of a script that can adjust the output to display both weapon type stats but I am unable to find a starting point. Also on page 48 there is the Bowstaff too which has a similar split personality! Quote:
Last edited by bodrin; January 13th, 2011 at 12:56 AM. |
||
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
There are a couple weapons in the community files that function as both a weapon and armor (look at the Dwarven Buckler Axe from Races of Stone). They accomplish this by bootstrapping a "helper" weapon. I would say make the crossbow the main weapon, and bootstrap the battleaxe as a seperate custom weapon. Make sure to give the battleaxe version the Helper.Helper tag so it doesn't show up to be selected, only the primary one should be shown.
I don't know how you would do this otherwise. |
#2 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Thanks for the heads up lawful on the custom items already inputted. I've scratched my head on this one most of today.
I compared both a normal dagger and spear which can be melee and ranged weapons even copying the tags and bootstraps almost verbatim didn't accomplish the correct data. Will peruse the data when time permits. |
#3 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
I've managed to bootstrap a helper weapon onto the Crossbow and the BowStaff, now I get two entries in the weapons tab and on the character sheet for each, which will work fine at the moment.
Thank you for the suggestion Lawful as ever on the ball with insight! However a question for the Devs, how does the Dagger and Shortspear only use one entry for their respective Melee and Ranged attack, which seems a far more tidier way of displaying the dual capabilities of each. Last edited by bodrin; January 14th, 2011 at 12:56 AM. |
#4 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
I looked closer at the double weapon entries for the BowStaff and Bladed Crossbow that i've coded and both instances of weapon types are adding their weights together. I'm going to need some kind of script aren't I that sets the weight to a specific number because zero doesn't seem to work.
Zip file attached for perusal. |
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
When you make a custom magic weapon in the editor there is a field for weight. This overrides the weight of whatever gizmo weapon is attatched, so if you set it to 0 then that weapon will not weigh anything.
|
#6 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
But because I've bootstrapped the wCrsbow tag to the crossbow and entered the weight and bootstrapped the wBattleaxe tag to the helper battlaxe portion a weight of zero in the field gets removed by the editor, so both weights are displayed per entry on the character sheet.
|
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
I'm afraid I don't understand, can you send me a copy so I can see? Either through dropbox or e-mail?
|
#8 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Alright, I fixed it and but it back in the dropbox. The issue was if you put 0 in the Weight field HL would think it was empty and default to the gizmo weight. Instead, you should assign a very small non-zero weight which HL rounds down to 0.
Alternately, rather than going the gizmo route, you could just fill out the fields for the helper weapon, all of them are manipulatable through the editor. |
#10 |
|
|