Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
It's been a while since I played, but there are fixed variable names for all possible unit member slots.
In fact, I wrote a script once that allowed the logical splitting of the squad into two, for multiplayer. If I can find it then I'll post again with the names.
Edit:I found it so quickly that I don't have to post again.
The unit names are u1 to u8.
Thus, you could write yourself a little commandset that gives items to these units.
Sorry for only answering now. This is great! I'm gonna try it out and report back if I succeed.
But perhaps mentioning this will jog someone elses memory.
I know I used this exact method over a year ago but I lost the repository that had those snippets.
I don't know if it included
https://community.bistudio.com/wiki/BIS_fnc_exportInventory
but it might have.
There is also this
https://forums.bohemia.net/forums/topic/163721-copy-all-unit-gear-to-clipboard/
But this might be outdated, ...it might still work despite being outdated, but I have this vague memory of knowing something more succinct/advanced/modern.
Really wish I could remember.
Actually, your last suggestion did acquaint me with some useful scripts but to no avail. I was able to export my player's loadout into a string of text and import it again but it was not possible at all to do the same for the rest of my squad. They are not named "u1" anymore (nor unit1 or _unit1 or [u1] or whatever). Anyways, I would end up with a heap of text (8 loadouts for each squad of every faction I want to use). In the end, importing the strings would be as time-consuming as just going into the arsenal for every single soldier and load up a custom preset.
Then I had a second idea: to make a custom faction of the faction in question and then have every soldier suppressors and some additional gear. They show up in Zeus just as I customized them but when I go into DRO all the suppressors are gone again. And now I am not even sure anymore how DRO uses the unit data. I assumed it just copied all the infantry sets but apparently it has a much more active role in it.
And all that hassle just because a) German units didn't use the German voice lines from the GM mod (fixed that now via a mod) and b) most of the faction presets that are used by DRO don't have any suppressors.
But anyways.
I want to thank you for your help and for supporting my first, very superficial foray into scripting!