Arma 3
Modify a vehicles config values
Is it possible to alter a vehicle using its config values?

For example if you have the CUP vehicles Jackal or Coyote, it has an optic on the top turret.

I'd like to remove this.

I traced the config value down to:
configfile >> "CfgVehicles" >> "CUP_B_BAF_Coyote_L2A1_W" >> "Turrets" >> "M2_Turret" >> "gunnerOpticsModel"

Using the config viewer.

Which says:
gunnerOpticsModel = "CUP\WheeledVehicles\CUP_WheeledVehicles_Jackal\ACOG_optic";

A hunch tells me that if I set this to something else like blank the optic will be gone from the vehicle.

Now, is this possible? In a script or the init box of the vehicle for example?
< >
Zobrazeno 11 z 1 komentářů
You can try to create a patch pbo to replace the config entry, you cant remove the scop via script.
< >
Zobrazeno 11 z 1 komentářů
Na stránku: 1530 50

Datum zveřejnění: 2. kvě. 2016 v 0.52
Počet příspěvků: 1