Anyone have luck adding a new weapon to a vehicle?

Just Cause 2 Mods Forums Mod Help Anyone have luck adding a new weapon to a vehicle?

Viewing 1 reply thread
  • Author
    Posts
    • #80006
      Jim
      Member

      For example if I want to add a rocket launcher to Cessina (whatever it’s called), is that possible?

      I’ve found some of the code on the Leopard and Eclipse that deals with the mounted Rocket Launcher, however a lot of the arbitrary values are hard to understand.

      Here’s what I understand so far.

      Code:
      // What determines object id?
      Vehicles4_SharedAssetsMountedWeaponsMountedWeapons-A.lod
      1,0,0, 0,1,0, 0,0,1, 0,0,0
      0.025
      0.05
      25
      1,0,0, 0,1,0, 0,0,1, -0.35,0.4,0
      0

      6
      0,0,0
      0
      0.025

      10000

      1,0,0, 0,1,0, 0,0,1, 0,-0.65,-0.2


      1
      0,0,0



      local::weapon2
      local::aimmg
      10
      CVehicleMountedGun
      — Values to this point seem standard —-
      1332888536 // ???????
      {98A468CC-0BD3-4B2E-9CE0-3C03F6EC9352} // ????
      1,0,0, 0,1,9.310421E-09, 0,-9.310421E-09,1, -8.959786,2.787348,8.129388 // ????
      VehicleMountedRocket_L2
      // Messed around with this, changed it to _R1 and back to _L2, no change in game.
      RocketARVE
      // Matches the weapons.bin name
      1,0,0, 0,1,9.310421E-09, 0,-9.310421E-09,1, -8.959786,2.787348,8.129388 // ???
    • #84909
      Luca
      Member

      Someone did it, you could investigate on this mod:
      http://www.justcause2mods.com/index.php/mods/Vehicles/Planes/Silverbolt-Mk.2—Weaponized/

      I wish the author will publish some tutorial..

Viewing 1 reply thread
  • You must be logged in to reply to this topic.