Results 1 to 8 of 8

Thread: Vehicle Turret code

  1. #1
    DemoMan2
    Guest

    Vehicle Turret code

    Hi Guys,
    I have a custom vehicle in my game that is using a modified version of the scorpion vehicle code. My question is about the turret section of code. My vehicle turret has two gun barrels on it but the scorpion code only seems to support a single gun barrel. How do you modify the vehicle turret code to fire from the two barrels at the same time? Thanks for all your help in advance.

  2. #2
    tegleg
    Guest
    add another socket
    GunSocket=(TurretFireSocket,TurretFireSocket2),

  3. #3
    DemoMan2
    Guest
    I already put that in the code Tegleg but it doesn't seem to be responding to the new gun socket.

  4. #4
    tegleg
    Guest
    did you change this as well?
    WeaponEffects=((SocketName=TurretFireSocket,Offset =(X=-14,Y=5),Scale3D=(X=2.0,Y=3.0,Z=3.0)),(SocketName=TurretFireSocket2,Offset=(X=-14,Y=-5),Scale3D=(X=2.0,Y=3.0,Z=3.0)))

  5. #5
    DemoMan2
    Guest
    Yep, I got that in there as well. Still the vehicle is ignoring the second gun socket. All I get is the fire from the first barrel. Now, do I need to do anything special to the AnimTree to make this work?

  6. #6
    tegleg
    Guest
    best thing to do would be to compare the scorpion and the manta.
    have a look at the weapon and seat code.

  7. #7
    geodav
    Guest
    check your launch.log for errors, have you added a socket to the second barrel

  8. #8
    DemoMan2
    Guest
    I just can't seem to find this one. Everything looks good but it doesn't work. Yick!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •