Results 1 to 8 of 8
  1. #1
    Redeemer
    Join Date
    Mar 2003
    Posts
    1,650

    Default scorpion turbo off when driver has flag

    I am making a mod to allow the flag to be carried in certain vehicles, but in UT3 the scorpion has turbo boost. This to me is overpowered when someone has the flag while in the scorpion. How would I go about disabling the turbo option if you are in the vehicle with the flag.

    I am a very novice coder so the more thorough of an explanation the better.

  2. #2
    Redeemer
    Join Date
    Aug 2004
    Location
    Netherlands
    Posts
    1,677
    Gamer IDs

    Gamertag: Jrubzjeknf

    Default

    Set the boost's cooldown to a retardedly large number. That should do the trick. Make sure you disable the boost as well, or else the 'You can boost'-icon remains on the screen.
    Last edited by Jrubzjeknf; 05-16-2008 at 02:39 PM.
    My Work: MantarunAssist - TeamSpecificActors_v2 - UT2k4ScoreRecovery_v3

    Quote Originally Posted by rhiridflaidd View Post
    I remember when I first saw a cicada in-game and had a shock vs cicada duel (I had the shock.)

    The shock did nothing, and the cicada couldn't hit me no matter how he tried. We both walked\flew away bored after a while.

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

    Default

    Or you could just put a boolean which sets itself to true when the player has the flag and false when he doesnt, and just check that with an if statement everytime the player wants to boost and just return false if the bool is true.
    Thanks Man This looks Alright I Hope My CPU Can Run It. If My CPU Can Run World Of Warcraft Can It Run Unreal Tournament 3???
    If a bicycle can fit in an airplane hanger can it fit inside a phone booth?

  4. #4
    Redeemer
    Join Date
    Aug 2004
    Location
    Netherlands
    Posts
    1,677
    Gamer IDs

    Gamertag: Jrubzjeknf

    Default

    You could do that, unless you don't wanna subclass the vehicle.
    My Work: MantarunAssist - TeamSpecificActors_v2 - UT2k4ScoreRecovery_v3

    Quote Originally Posted by rhiridflaidd View Post
    I remember when I first saw a cicada in-game and had a shock vs cicada duel (I had the shock.)

    The shock did nothing, and the cicada couldn't hit me no matter how he tried. We both walked\flew away bored after a while.

  5. #5
    Redeemer
    Join Date
    Mar 2003
    Posts
    1,650

    Default

    I'll be messing with this tomorrow and see what I can come with. I think putting in some sort of check would be best because I would like to have the turbo act normally for the user when they do not have the flag in the scorpion. I'd hate to have to disable the boost, but instead probably just make the scorpion not a flag carry vehicle... this is of course my last resort.

    weeeeeeeeeeeeee!

  6. #6
    Redeemer
    Join Date
    Aug 2004
    Location
    Netherlands
    Posts
    1,677
    Gamer IDs

    Gamertag: Jrubzjeknf

    Default

    Are you gonna subclass the vehicle or not?
    My Work: MantarunAssist - TeamSpecificActors_v2 - UT2k4ScoreRecovery_v3

    Quote Originally Posted by rhiridflaidd View Post
    I remember when I first saw a cicada in-game and had a shock vs cicada duel (I had the shock.)

    The shock did nothing, and the cicada couldn't hit me no matter how he tried. We both walked\flew away bored after a while.

  7. #7
    Redeemer
    Join Date
    Mar 2003
    Posts
    1,650

    Default

    I would think I would have to. Seems like the correct approach to me, if not I'll make a duplicate main class as the scorpion and adjust it accordingly but that may be more work than sub-classing.

    what do you think?

  8. #8
    Redeemer
    Join Date
    Mar 2003
    Posts
    1,650

    Default

    vehicle is subclassed... and works fine. I just need the code to add that checks for a driver with the flag so the turbo is disabled.


 

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.