Silvern Posted March 27, 2017 Posted March 27, 2017 Would it be possible to change ship's weapon from RIM-66 to RIM-7 Sea Sparrow via a script?
DarkFire Posted March 27, 2017 Posted March 27, 2017 Would it be possible to change ship's weapon from RIM-66 to RIM-7 Sea Sparrow via a script? Probably not via a script, but I believe that the weapon specifications of various units are controlled by lua files, so it should theoretically be possible to change what missiles a given ship has available. Not sure if this would cause any issues with launcher types or that sort of thing. I haven't personally played with editing sea unit loadouts, so I'm not sure where the relevant lua file is. System Spec: Cooler Master Cosmos C700P Black Edition case. | AMD 5950X CPU | MSI RTX-3090 GPU | 32GB HyperX Predator PC4000 RAM | | TM Warthog stick & throttle | TrackIR 5 | Samsung 980 Pro NVMe 4 SSD 1TB (boot) | Samsung 870 QVO SSD 4TB (games) | Windows 10 Pro 64-bit. Personal wish list: DCS: Su-27SM & DCS: Avro Vulcan.
Silvern Posted March 28, 2017 Author Posted March 28, 2017 Probably not via a script, but I believe that the weapon specifications of various units are controlled by lua files, so it should theoretically be possible to change what missiles a given ship has available. Not sure if this would cause any issues with launcher types or that sort of thing. I haven't personally played with editing sea unit loadouts, so I'm not sure where the relevant lua file is. I got it to work by editing the lua files, but I hoped to avoid creating a "mod". Script would allow everyone in MP to join without any nuisance. :pilotfly: Thanks for the suggestion though! :)
Pikey Posted March 28, 2017 Posted March 28, 2017 It's not possible without changing core files. It will break integrity. But I can and we all can change them. Depending on the extent of the change, it can be moderately easy or difficult. I have examples like the Kashin mod I made. If you need to find the lua I can point it out. PM me. Howerver if you need help finding the file, the changes to be made are going to be hard for you. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Recommended Posts