Hello,
I'm incredibly new to scripting and have no idea really what I'm doing but by reading forums I've gotten this far. So, I play OPTRE with some friends a lot. We decided that the default armaments on the Pelican weren't really all that hot, so we used commands in the Pelican's init in EDEN to spawn it with some extra firepower. The problem lies in the fact that I have the vehicles sync'd to the Vehicle Respawn module. Whenever they automatically respawn at base, they respawn with default armaments, not the 30mm cannons nor JIAN missiles we added in EDEN. Is it possible to add the custom weapons every time they spawn via a script? What I use currently for them is the following:
"this addWeaponTurret ["gatling_30mm",[0]];
this addMagazineTurret ["250Rnd_30mm_HE_shells",[0]];
this addMagazineTurret ["250Rnd_30mm_HE_shells",[0]];
this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]];
this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]];
this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]];
this addMagazineTurret ["250Rnd_30mm_APDS_shells",[0]];
this addWeaponTurret ["missiles_Jian",[0]];
this addMagazineTurret ["4Rnd_LG_Jian",[0]];
this addMagazineTurret ["4Rnd_LG_Jian",[0]];
this addMagazineTurret ["4Rnd_LG_Jian",[0]];
this addMagazineTurret ["4Rnd_LG_Jian",[0]];
this addMagazineTurret ["4Rnd_LG_Jian",[0]];"
Any help on compiling an SQF to spawn the vehicles with these armaments would be much appreciated. Thank you!