Page 1 of 1
Cope's Toolbox
Posted: Fri 08 Aug, 2014 9:52 pm
by Arbit
I'm trying to get a handle on how to use the thing. Specifically, how to check what type of damage a weapon inflicts (piercing, power melee, etc.)
I assume I go to Start>Open Mod>select ELITE.module
If I go to ATTRIB/weapons/weapon/pvp/[race], I can see all the weapons there and by clicking on them, I can see damage numbers and whatnot. However, I don't see where the weapon type is. Where would I find such information?
Re: Cope's Toolbox
Posted: Fri 08 Aug, 2014 10:17 pm
by otherdragn
Yes, You are loading it correctly. Each weapon has a connection in the subsections weapons, weapon_damage, and weapon_family.
for example, load up weapons/weapon/pvp/race_marine/sm_bolter
at the bottom of weapon_bag is weapon_family, and we see it is pointing to
weapons/weapon_family\pvp\bolter_pvp
load up that and inside is weapon_family_bag and the value damage_type is weapons\weapon_damage\pvp\piercing_pvp
Re: Cope's Toolbox
Posted: Fri 08 Aug, 2014 10:36 pm
by Arbit
Ah, thanks! I was almost there! Dunno why I didn't see it.
If I wanted to check what weapon a squad was using, how would I do that? I realize that the weapon name often indicates what unit wields the weapon in the name (i.e. sm_autocannon_predator), but I'd like to be able to see in the code what weapon a particular unit has.
Re: Cope's Toolbox
Posted: Sat 09 Aug, 2014 3:32 am
by Wise Windu
It's in the ebps or sbps file of the unit, so ebps/sbps>pvp>race and then find the unit you want.
In the ebps file, open "wargear_ext" and the wargear will be under "default_wargear". In the sbps, it will be under "squad_wargear_ext". This should lead you to the "wargear" folder.
So follow the path from the ebps/sbps to find the right wargear, and then at the bottom of the wargear file is a "weapons" drop down. That will give you the file path to the correct weapon.
Re: Cope's Toolbox
Posted: Sun 10 Aug, 2014 9:33 pm
by Arbit
Got it. Thanks!