Mat
General
Posts: 1,828
|
Post by Mat on Sept 17, 2016 23:23:26 GMT 1
Can someone create me a German Officer with the same uniform as the other soldiers wearing a helmet and firing a MachinePistol?
|
|
Mat
General
Posts: 1,828
|
Post by Mat on Sept 17, 2016 23:24:33 GMT 1
....or, explain it to me how to make any other soldier using spyglasses?
|
|
|
Post by Herr Kodax on Sept 18, 2016 9:07:59 GMT 1
Hello Mat, I am working on that project, but it is taking me forever (trying to be perfectionist, and soviet NCO is tougher to make, what with the blanket and all, not to mention different winter uniform). If you'd like, I can try to 'teach' you as best as I can how to do it yourself (it will set you back on whatever you are working on though), or I can show you the stopgap solution, until my NCOs are ready. Stopgap solution: Give the ability to any soldier of your liking to use binoculars. Pros: Super easy to do, officers with proper armament and binoculars immediately available. Cons: They will be lacking animations for using the binoculars, so when the do use them, they will be just standing still. The binoculars do work though.[/a]
|
|
Mat
General
Posts: 1,828
|
Post by Mat on Sept 18, 2016 19:22:13 GMT 1
great, Thanks!
|
|
|
Post by Herr Kodax on Sept 19, 2016 8:37:37 GMT 1
OK Mat, fast solution is the following:
In the soldiers .xml, you have to find the Bitarray, should look like this (usually).
<Type>soldier</Type>
<AIClass>human</AIClass>
-<Commands Size="51">
-<BitArray>
<item data="223"/>
<item data="70"/>
<item data="0"/>
<item data="0"/>
<item data="0"/>
<item data="0"/>
<item data="4"/>
</BitArray>
Change <Type> to 'Officer' (although doesn't seem to do anything, but for the good of it), and for binoculars, change the 4th line in <BitArray> to <item data="32"/> (32 being the binoculars) so reading from the top, the numbers are 223-70-0-32-0-0-4.
If you'd like, please confirm that this works. If you wish to learn more about making your own, we can do it via PM.
|
|
Mat
General
Posts: 1,828
|
Post by Mat on Sept 19, 2016 17:35:17 GMT 1
Thats exactly what i was looking for, i have the CommandCalculator by MP for Mech its easy to understand but ive never found a List or something for Soldiers. I work in any case with my own Codeeditor so a glossar for Infantry would be something necessary for Modders
|
|