ESTAB Weapons Armament Tab

Post bug reports and ask for game support here.

Moderators: Arjuna, Panther Paul

Post Reply
papymaj55
Posts: 4
Joined: Sun Jan 23, 2011 8:01 pm

ESTAB Weapons Armament Tab

Post by papymaj55 »

Hello Everyone,

I am running into an error when trying to compile an estab with a weapon that has a "Sub-weapon" attached to it. My example, I have an M4 Carbine - M320 GLM (weapon id="3831") that has a M320 GLM (weapon id="3829") attached to it under the armaments tab as a sub-weapon with qty of 1. When I compile I get this error "ERROR: object 3831 (weapon): Unable to locate the EstabWeapon with object ID 3829. No object exists at all with that ID."

I have these two weapon records in my estab xml file:
<weapon id="3831">
<name>5.56mm M4 Carbine - M320 GLM</name>
<description>XXX</description>
<picture id="3832" />
<picture-filename>Carbine.RSRC</picture-filename>
<size width="1.0" height="1.0" length="1.0" weight="2.88" />
<crew>1</crew>
<reliability>0.969971</reliability>
<armaments>
<armament equipment-object-id="3829" equipment-name="40mm M320 GLM" qty="1" />
</armaments>
<type>small-arm</type>
<single-shot>no</single-shot>
<primary-role>anti-personnel</primary-role>
<calibre>5.56</calibre>
<muzzle-velocity>880</muzzle-velocity>
<must-deploy-to-fire>no</must-deploy-to-fire>
<performance-list>
<performance fire-type="aper">
<ammo object-id="3697" load="210" />
<min-range>1</min-range>
<rof slow="2.0" normal="4.0" rapid="6.0" />
<burst-radius>0</burst-radius>
<shell-weight>0.009766</shell-weight>
<range-table>
<range-item range="50" accuracy="0.90" armour-penetration="0.0" />
<range-item range="100" accuracy="0.81" armour-penetration="0.0" />
<range-item range="200" accuracy="0.65" armour-penetration="0.0" />
<range-item range="300" accuracy="0.46" armour-penetration="0.0" />
<range-item range="400" accuracy="0.28" armour-penetration="0.0" />
</range-table>
</performance>
</performance-list>
</weapon>

Unless I am mistaken, the ESTAB Manual says you can add a sub-weapon. If anyone has any suggestions/advice I would greatly appreciate it.

Thanks in advance!
Jon C
papymaj55
Posts: 4
Joined: Sun Jan 23, 2011 8:01 pm

RE: ESTAB Weapons Armament Tab

Post by papymaj55 »

Part 2 of the message.
<weapon id="3829">
<name>40mm M320 GLM</name>
<description>XXX</description>
<picture />
<picture-filename />
<size width="1.0" height="1.0" length="1.0" weight="1.5" />
<crew>1</crew>
<reliability>0.950098</reliability>
<armaments />
<type>rpg</type>
<single-shot>no</single-shot>
<primary-role>anti-personnel</primary-role>
<calibre>40.0</calibre>
<muzzle-velocity>76</muzzle-velocity>
<must-deploy-to-fire>no</must-deploy-to-fire>
<performance-list>
<performance fire-type="aarm">
<ammo object-id="3677" load="0" />
<min-range>20</min-range>
<rof slow=".5" normal="1" rapid="2" />
<burst-radius>5</burst-radius>
<shell-weight>1.34</shell-weight>
<range-table>
<range-item range="50" accuracy=".7" armour-penetration="30" />
<range-item range="100" accuracy=".4" armour-penetration="30" />
</range-table>
</performance>
<performance fire-type="aper">
<ammo object-id="3677" load="6" />
<min-range>20</min-range>
<rof slow=".5" normal="1" rapid="2" />
<burst-radius>5</burst-radius>
<shell-weight>1.349805</shell-weight>
<range-table>
<range-item range="50" accuracy="0.8" armour-penetration="0.0" />
<range-item range="100" accuracy="0.75" armour-penetration="0.0" />
<range-item range="200" accuracy="0.7" armour-penetration="0.0" />
<range-item range="300" accuracy="0.6" armour-penetration="0.0" />
</range-table>
</performance>
</performance-list>
</weapon>
jimcarravall
Posts: 642
Joined: Wed Jan 04, 2006 1:11 am

RE: ESTAB Weapons Armament Tab

Post by jimcarravall »

ORIGINAL: papymaj55

Hello Everyone,

I am running into an error when trying to compile an estab with a weapon that has a "Sub-weapon" attached to it. My example, I have an M4 Carbine - M320 GLM (weapon id="3831") that has a M320 GLM (weapon id="3829") attached to it under the armaments tab as a sub-weapon with qty of 1. When I compile I get this error "ERROR: object 3831 (weapon): Unable to locate the EstabWeapon with object ID 3829. No object exists at all with that ID."

I have these two weapon records in my estab xml file:
<weapon id="3831">
<name>5.56mm M4 Carbine - M320 GLM</name>
<description>XXX</description>
<picture id="3832" />
<picture-filename>Carbine.RSRC</picture-filename>
<size width="1.0" height="1.0" length="1.0" weight="2.88" />
<crew>1</crew>
<reliability>0.969971</reliability>
<armaments>
<armament equipment-object-id="3829" equipment-name="40mm M320 GLM" qty="1" />
</armaments>
<type>small-arm</type>
<single-shot>no</single-shot>
<primary-role>anti-personnel</primary-role>
<calibre>5.56</calibre>
<muzzle-velocity>880</muzzle-velocity>
<must-deploy-to-fire>no</must-deploy-to-fire>
<performance-list>
<performance fire-type="aper">
<ammo object-id="3697" load="210" />
<min-range>1</min-range>
<rof slow="2.0" normal="4.0" rapid="6.0" />
<burst-radius>0</burst-radius>
<shell-weight>0.009766</shell-weight>
<range-table>
<range-item range="50" accuracy="0.90" armour-penetration="0.0" />
<range-item range="100" accuracy="0.81" armour-penetration="0.0" />
<range-item range="200" accuracy="0.65" armour-penetration="0.0" />
<range-item range="300" accuracy="0.46" armour-penetration="0.0" />
<range-item range="400" accuracy="0.28" armour-penetration="0.0" />
</range-table>
</performance>
</performance-list>
</weapon>

Unless I am mistaken, the ESTAB Manual says you can add a sub-weapon. If anyone has any suggestions/advice I would greatly appreciate it.

Thanks in advance!
Jon C

The language in the Estab Editor Manual is ambiguous.

The instruction on attaching a weapon is in the instruction on how to define a vehicle's characteristics in the Estab.

It's really talking about secondary armaments on a combat platform, rather than a secondary capability of a one-man or crewed weapon.

The ambiguity is using "weapon" to refer to stand alone crewed or hand carried armaments specified under the Estab / Weapons Tab and a combat platform in the instructions on how to codify a combat vehicle specified under the Estab / Vehicle tab.
Take care,

jim
Post Reply

Return to “Tech Support”