Results 1 to 8 of 8
  1. #1
    The Sacrifice
    Join Date
    Jan 2008
    Posts
    257

    Default 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
    God King
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    4,683
    Gamer IDs

    Gamertag: tegleg digital

    Default

    add another socket
    GunSocket=(TurretFireSocket,TurretFireSocket2),
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    tegleg.co.uk
    My Tutorials n Stuff
    Games:
    IOS GAMES PC GAMES Unwheel2 - VCTF Game - Sponic Mesh 3D
    ANDROID
    will code for money

  3. #3
    The Sacrifice
    Join Date
    Jan 2008
    Posts
    257

    Default

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

  4. #4
    God King
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    4,683
    Gamer IDs

    Gamertag: tegleg digital

    Default

    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)))
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    tegleg.co.uk
    My Tutorials n Stuff
    Games:
    IOS GAMES PC GAMES Unwheel2 - VCTF Game - Sponic Mesh 3D
    ANDROID
    will code for money

  5. #5
    The Sacrifice
    Join Date
    Jan 2008
    Posts
    257

    Default

    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
    God King
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    4,683
    Gamer IDs

    Gamertag: tegleg digital

    Default

    best thing to do would be to compare the scorpion and the manta.
    have a look at the weapon and seat code.
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    tegleg.co.uk
    My Tutorials n Stuff
    Games:
    IOS GAMES PC GAMES Unwheel2 - VCTF Game - Sponic Mesh 3D
    ANDROID
    will code for money

  7. #7
    God King
    Join Date
    Jul 2006
    Location
    UT40k
    Posts
    4,638

    Default

    check your launch.log for errors, have you added a socket to the second barrel
    UT40K:The Chosen - Warhammer 40,000 for UDK
    ut40kgeodav - UE4 Tutorials
    UT3 Tutorials - Characters - Weapons - Vehicles - FaceFX
    UDK Tutorials - Basics - Vehicles - Characters - Weapons

  8. #8
    The Sacrifice
    Join Date
    Jan 2008
    Posts
    257

    Default

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


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.