Results 1 to 4 of 4
  1. #1
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Posts
    182

    Default 3 Problems with custom vehicle. Please Help...

    Hi. I have a custom vehicle in my mod which extends from UTVehicle_Scorpion_Content.It seems to be working fine exept for 3 issues I can't resolve.

    #1 The vehicle is a tall van like truck and everytime you turn it flips over onto its side. How can I prevent this from happening? I'd like it to never be able to go onto it's side like that. I changed the variable bCanFlip to false, but that didn't help. IS there a way to stick the wheels to the ground better or something?

    #2 This one I think should be an easy fix, but I'm not much of a programmer. I just want to remove any weapons from the vehicle. I changed the seat in the default properties to

    Code:
    Seats(0)=(CameraBaseOffset=(X=-150.000000,Y=0.000000,Z=0.000000),CameraOffset=-175.000000,SeatIconPOS=(X=0.415000,Y=0.500000))
    but it still shoots a red energy ball when I left click. right click makes a sound but shoots nothing

    #3 SOLVED I have bots in my map. They are one a seperate team and I don't want them to us the vehicle. How can I stop them from entering it?

    ** I added MaxDesireability=0.0 to the default properties and now they ignore it


    Thank you in advance for any help you can offer
    Last edited by jingato; 04-01-2009 at 03:34 AM.

  2. #2

    Default

    #1: Try tweaking StayUprightStiffness.

    #2: Try this if you want to completely ignore fire and altfire inputs:

    Code:
    simulated function bool OverrideBeginFire(byte FireModeNum)
    {
        return true;
    }
    
    simulated function bool OverrideEndFire(byte FireModeNum)
    {
        return true;
    }

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

    Default

    Thanks man. I played around with it and I ended up putting

    Code:
      
     bStayUpright=true
     StayUprightRollResistAngle=20.00
    in the defaults and now it never flips over.

  4. #4

    Default

    Hey I am still having issues when the player enters the vehicle. It still turns to the side and it is extremely frustrating.
    I tried fixing it with the code above but it still hasn't fixed it. Is there anything else I can try?


 

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.