_missionPicture

_missionPicture

« posted: Aug 08, 2016, 07:42 PM »
Code: [Select]
_missionPicture = getText (configFile >> "CfgVehicles" >> _veh1 >> "picture");
With this, the white silhouette of chosen vehicle is shown at mission spawn.
Is it possible, to replace these  vehicles with objects?

For example a camo tent, a static MG (is this a vehicle or  object?), these tanoa ancient statues?

Re: _missionPicture

« Reply #1 posted: Dec 03, 2021, 06:15 PM »
.. still searching for a solution  ;D

Re: _missionPicture

« Reply #2 posted: Dec 09, 2021, 09:37 AM »
Finally ..

Maybe it was just too easy.  ???

Original code for the mission picture was
Code: [Select]
_missionPicture = getText (configFile >> "CfgVehicles" >> _vehicleClass >> "picture");
I've changed once to
Code: [Select]
_missionPicture = "pictures\xxx.paa";
But nothing. Yesterday I tried (dunno why) the .paa using when capturing a territory. And bam! .. it was shown. The .paa was 64x64. Don't know, if this was/is important.

Anyway: problem solved ..



https://images2.imgbox.com/cc/87/J520R9Ql_o.png
_missionPicture