XML Game Values Compendium Thread & BK Command Calculator
Sept 20, 2020 11:02:49 GMT 1
keepitsimple, kaoz, and 4 more like this
Post by [BMG]Neutro on Sept 20, 2020 11:02:49 GMT 1
Hello BK Community!
Due to the fact that I am still working on the next Stalingrad Patch I had to start working with the XML values of the units to understand them.
Thanks to Mat i came across the "BK COMMAND CALCULATOR BETA" by Major Pain.
This wonderful tool with the knowledge in this forum is a gift for modders & Patchers!
By inspecting the Stalingrad units i became aware of irregularities that i wanted to understand and started to experiment.
I found the solution how to give the Ambulance (modified by Mods) back its "Replenish supplies Cursor". (i do not know of any Mod where the problem does not exist)
I also added comments to the "BK Command Calculator" to explain the functions a bit better and offer it for Download (v1.3) in a small revised form. (You need Microsoft Excel)
Thanks to Mat i came across the "BK COMMAND CALCULATOR BETA" by Major Pain.
This wonderful tool with the knowledge in this forum is a gift for modders & Patchers!
By inspecting the Stalingrad units i became aware of irregularities that i wanted to understand and started to experiment.
I found the solution how to give the Ambulance (modified by Mods) back its "Replenish supplies Cursor". (i do not know of any Mod where the problem does not exist)
I also added comments to the "BK Command Calculator" to explain the functions a bit better and offer it for Download (v1.3) in a small revised form. (You need Microsoft Excel)
FILL RU COMMAND (OCTAL 7)
Set the "Commands Size" ≥ 55 + Fill RU = Activates the "Replenish supplies cursor" - (Cursor appears when a supply vehicle is selected and you are pointing at your Warehouse/Field depot)
-1 ) This is needed to enable the "Replenish supplies cursor" if you have a support vehicle where the command "Resupply (Ammo)(CAR)" OR "Repair (ENG)" is NOT activated !!!
(This is the case with an Ambulance, which can only "Resupply Humans")
-2 ) The Cursor is needed to manually instruct a vehicle to refill at a depot - but regardless of this, it will automatically visit a depot when it is empty.
(The problem with this is that without the cursor you can't intervene manually at which depot the vehicle is filled up and you can't fill up half-empty trucks)
-3 ) The Cursor works with every unit (e.g. a tank) but will not have any other effect or function than to appear.
-1 ) This is needed to enable the "Replenish supplies cursor" if you have a support vehicle where the command "Resupply (Ammo)(CAR)" OR "Repair (ENG)" is NOT activated !!!
(This is the case with an Ambulance, which can only "Resupply Humans")
-2 ) The Cursor is needed to manually instruct a vehicle to refill at a depot - but regardless of this, it will automatically visit a depot when it is empty.
(The problem with this is that without the cursor you can't intervene manually at which depot the vehicle is filled up and you can't fill up half-empty trucks)
-3 ) The Cursor works with every unit (e.g. a tank) but will not have any other effect or function than to appear.
Ambulance Unit.xml File Data
<Commands Size="55">
<BitArray>
<item data="33" /> --- Move To + Unload Command (Unit carries INF) -- (OCTAL 1)
<item data="3" /> --- Rotate To + Stop -- (OCTAL 2)
<item data="0" />
<item data="0" />
<item data="128" /> --- Follow -- (OCTAL 5)
<item data="8" /> --- Resupply Humans -- (OCTAL 6)
<item data="72" /> --- Heal Infantry + FILL RU -- (OCTAL 7)
</BitArray>
<BitArray>
<item data="33" /> --- Move To + Unload Command (Unit carries INF) -- (OCTAL 1)
<item data="3" /> --- Rotate To + Stop -- (OCTAL 2)
<item data="0" />
<item data="0" />
<item data="128" /> --- Follow -- (OCTAL 5)
<item data="8" /> --- Resupply Humans -- (OCTAL 6)
<item data="72" /> --- Heal Infantry + FILL RU -- (OCTAL 7)
</BitArray>
</Commands>
<Exposures Size="5"> --- Result of the Unload Command active
<BitArray>
<item data="16"/> --- Result of the Unload Command active
</BitArray>
</Exposures>
<Exposures Size="5"> --- Result of the Unload Command active
<BitArray>
<item data="16"/> --- Result of the Unload Command active
</BitArray>
</Exposures>
Heal Infantry COMMAND (OCTAL 7)
Medics (not shown in the game) can heal wounded soldiers within their field of vision right on the battlefield.
(The Ambulance need to keep moving for healing (Original BK Bug) -- Just Rotate the Ambulance 360 degree on the spot to heal...but
If "Resupply Humans" is active ingame (give the Ambulance the order to do so), you don't need to move the Ambulance, it heals the nearby infantry automatically !!!
(The Ambulance need to keep moving for healing (Original BK Bug) -- Just Rotate the Ambulance 360 degree on the spot to heal...but
If "Resupply Humans" is active ingame (give the Ambulance the order to do so), you don't need to move the Ambulance, it heals the nearby infantry automatically !!!
(The active command "Resupply Humans" seems to have the same effect on the Ambulance like keep moving it - no idea why)
I hope that i have helped a little bit by sharing this information and that the Ambulances get a little more attention.
I will add hopefully more useful things to this thread that I find.
Please also share your knowledge about the topic "XML Game Values" and post it here, so that a small compilation could arise.
Please also share your knowledge about the topic "XML Game Values" and post it here, so that a small compilation could arise.