Results 1 to 8 of 8
  1. #1
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Posts
    255

    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,380
    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.
    LOOK>> Please ask questions in the forum, NOT a private message <<LOOK
    tegleg.co.uk
    My Tutorials n Stuff
    Games: NEW! Tegs Playground Multiplayer Edition
    Unwheel2 - VCTF Game - Sponic Mesh 3D
    Shh.. dont tell anyone about my android apps.
    will code for money

  3. #3
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Posts
    255

    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,380
    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.
    LOOK>> Please ask questions in the forum, NOT a private message <<LOOK
    tegleg.co.uk
    My Tutorials n Stuff
    Games: NEW! Tegs Playground Multiplayer Edition
    Unwheel2 - VCTF Game - Sponic Mesh 3D
    Shh.. dont tell anyone about my android apps.
    will code for money

  5. #5
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Posts
    255

    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,380
    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.
    LOOK>> Please ask questions in the forum, NOT a private message <<LOOK
    tegleg.co.uk
    My Tutorials n Stuff
    Games: NEW! Tegs Playground Multiplayer Edition
    Unwheel2 - VCTF Game - Sponic Mesh 3D
    Shh.. dont tell anyone about my android apps.
    will code for money

  7. #7
    Marrow Fiend
    Join Date
    Jul 2006
    Location
    UT40k
    Posts
    4,634

    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
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Posts
    255

    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.