Hey, I hate to resurrect this thread, but maybe you could take a look at my code? I'm trying to add some attachments to some weapons, but some of the attachments aren't spawning in. What does work:
The scope on the sniper rifle
The scope on the SAW
The laser on the SAW
I'm pretty sure it's because the code is referencing attachments from mods other than the ones I'm drawing from for the weapons. Say, I have an HLC rifle, but a Red Hammer optic and laser. How do I make this work? Or is it not possible without recompiling everything?
#kamerad :
Hey, I hate to resurrect this thread, but maybe you could take a look at my code? I'm trying to add some attachments to some weapons, but some of the attachments aren't spawning in. What does work:
The scope on the sniper rifle
The scope on the SAW
The laser on the SAW
I'm pretty sure it's because the code is referencing attachments from mods other than the ones I'm drawing from for the weapons. Say, I have an HLC rifle, but a Red Hammer optic and laser. How do I make this work? Or is it not possible without recompiling everything?
Probably something to do with the slot you're adding the bipod too, You're trying to add it to the muzzle slot not the Acc slot. Although i could be wrong.
Bro Beans, i have a few questians.
1. how can i decide that each faction/unit will have a specific group of faces and voices that they could be chosen randomly for each unit.
2. how can i reach the class name for each gun.
3. make it so each unit could get a random attachment for his gun/sidearm.
in your regard, oa23.
This post was edited by oa23 (2016-04-02 18:10, ago)
1 and 3 can be done via a script which is initialized through the config for each specific unit.. Just search for a randomized headgear or weapon attachment script (and change the class names and type to setidentity for 1)
as for 2, the best way to do this is via the ingame config viewer, in the editor there should be a cog on the toolbar or just start a scenario and press 'esc' and it should be with the admin tools under the debug.
BroBeans ive come to you again for your words of wisdom.
the questian is - do I must put item info (ex.mass,carry,etc) for each item i creating (taking) for my unit?
and do i have to put every detail even i am using the class name?
This post was edited by oa23 (2016-04-09 17:59, ago)
To build a PBO I personnaly use the one from Bohemia Interactive, you can find it in the Arma 3 Tools, from Steam. To extract or read data from a PBO I use PBO manager, which is a small program with few features but sufficient. I know there is plenty of other solutions but these two ones are good for me (I'm very frequently build factions or retextures)
#oa23 :
Can you put a link for a pbo converter
also
How do i put night vision and/or googles?
How do i put a luncher on my unit?
1. This is a fairly basic one. I use a combination of 2-3 Managers depending on what I'm doing. I always include arma 3 tools. It makes it super easy to de-binarize configs etc. So if you haven't already go onto steam and download that.
2. how do you add it to a unit? Or make a custom variant?