Jump to content
Sign in to follow this  
badluckburt

createUnit vs createVehicle creates different Man vehicles?

Recommended Posts

Apologies if this question has already been answered but I noticed something that I can't seem to solve without shooting people.

Using this code in the editor:

_group = createGroup civilian; 
_test = "C_man_polo_4_F_afro" createUnit [position player, _group];

It spawns a guy with a black head and white body? When I use createVehicle instead, his head and body are both white. I've tried adding a sleep to the code to see if anything had to load, that doesn't do anything. But as soon as I shoot him, the guy's skin instantly turns black so I figured _test setDamage 0.1; might do the trick, I was wrong :(

Am I missing something obvious here or is this another Arma-thing?

Share this post


Link to post
Share on other sites

Technically createUnit creates black body too, it is just it is not dark enough to match head. Would certainly not hurt to report this on FT.

Share this post


Link to post
Share on other sites
Technically createUnit creates black body too, it is just it is not dark enough to match head. Would certainly not hurt to report this on FT.

Thank you, I don't even......

But I'm heading over to the FT now, this is ridiculous. I do have one more question: is there any way I can force the correct skin colours on people? I'm making an automated screenshot script for assets and it'd be nice if everybody actually looked the way they should :)

Share this post


Link to post
Share on other sites

I spawned the unit once in the editor and once via script, they both look the same. I believe it's not a problem with the createUnit command, but rather a problem with they body colour at all. The colour should be a little bit darker compared to they face colour.

Picture

Share this post


Link to post
Share on other sites
Well, I've made the ticket: http://feedback.arma3.com/view.php?id=22887

R3vo, did you use the code I posted or some of your own? As you can see on the feedback tracker screenshot I posted, the body colour I get is very different from your shot so now I'm even more confused.

Yes I used your code. As it seems, it's not a problem with the command but rather with the overall colour of the civilian skin.

Share this post


Link to post
Share on other sites
Well, I've made the ticket: http://feedback.arma3.com/view.php?id=22887

R3vo, did you use the code I posted or some of your own? As you can see on the feedback tracker screenshot I posted, the body colour I get is very different from your shot so now I'm even more confused.

Yes I used your code. As it seems, it's not a problem with the command but rather with the overall colour of the civilian skin.

Share this post


Link to post
Share on other sites
try setFace

Thanks, but setFace doesn't seem to do anything at all. I've been trying this directly from the editor so I'll see what happens if I put it in a proper mission and test it that way. - edit. Tried a single player mission, no effect there either :/

Yes I used your code. As it seems, it's not a problem with the command but rather with the overall colour of the civilian skin.

It seems like the engine doesn't apply the correct body texture for units that are spawned this way. The ones I put in through the mission.sqm turn out OK. Shooting them updates the body textures because it has to show the bloodsplats.

It's kinda messing up my ability to take accurate screenshots for each unit. I took a look at the Arma Assets on the BIKI and they suffer the same fate, the Afro and Asians are all white :butbut:

Edited by BadLuckBurt

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×