Thanks and thanks. I just didn't like going on a sniper mission and not being able to use grasses and bushes from the environment to enhance my ghillie suit like the real snipers do during the missions. So this was my solution.
I tried to use different nearestObjects commands to get the grasses and bushes nearest to the player, and then using editor enhancements which add classnames to those objects, I tried attaching the same bushes to the ghillie suit, but the results weren't good.
Is there some sort of reference somewhere of the names of memory points on basic BIS soldier models? For example, I know theres, "head", "head_axis" and left and right hands which I can't remember at the moment. I think if I had a reference like that, I could play around more with trying to attach small plants to different parts of the model. Then I could have actions like:
-change right hand plant >> plant 1, plant 2, plant 3, none
-change back plant >> plant 1, plant 2, plant 3, none
or more simply...
-change sniper foliage >> woodland summer, woodland fall, desert, snow, none
etc. At least that was my initial idea.
So far, the main problem is that when I attach objects to models body parts using attachTo, they tend to always point down no matter what the unit object is doing. So if I attach a plant to a unit's main body, it points down. Then if the unit goes prone, it's still pointing straight down. I wish I could make it so it acts more like a backpack where its orientation matches the orientation of the unit. But maybe that only works because of the presence of the backpack proxy or whatever. If I could attachTo the backpack proxy on the OA models, maybe I could get the foliage to move with the unit's orientation.
Also, does anyone know if there are hidden selections for the vanilla binocular models? When using the OA sniper, for example, the binoculars are desert colored. When using Arma2 snipers, the binoculars are black. It would be nice to change the camo on those items as well but I would need to know if there is a hiddenselection for those items. Is there a reference somewhere?
Another idea I had was to create via the action menu, "Create Hide".
Then a hide could be created using bushes, camo netting, etc. which you could choose from on a rotating basis, select the one you want, then it gets attached to you, you place the hide where you want it, then drop it onto the ground. This would be good for recon missions and by using stock vanilla bushes, I believe there would be some viewblocking of the AI's vision. Then when you were ready to leave, you "Break Down Hide" and the hide gets deleted from the game world. This is probably a good solution to the above problem. But I'd still like to solve the above problem.
EDIT: I just tried hcpookie's deployable camo nets. Really cool addon and idea! I wonder if there's a way to combine this with nearby bushes to make the hide more natural looking for player vs. player situations.