Announcement

Collapse
No announcement yet.

Is there a mod or mutator the removes the vehicles from ONS.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is there a mod or mutator the removes the vehicles from ONS.

    Is there a mod or mutator the removes the vehicles from ONS. I want to play some onslaught without the vehicles.

    Thanks for the help.

    Tim

    #2
    There are mutators that let you replace vehicles. You could also create a quick mutator that does that (a very simple matter of setting all VehicleFactories to build None through CheckReplacement).

    Comment


      #3
      Thank you very much for the replay. I wish I knew how to do that but I don't. Guess it is time I learn how make mutators.

      By the way your UT3 weapons mod for UT2004 is great thank you for your hard work.

      Comment


        #4
        Hey, Emerald, seems like you are a well known person - like a V.I.P. - now

        Comment


          #5
          Indeed, it's good when the work I do gets noticed

          Comment


            #6
            Timathie, here's what I've used to get rid of vehicles.
            Might be overkill, but it works (and no errors are logged).

            I think I wound up with a honking huge logfile of mainly Accessed None lines after setting VehicleType=None, same as if "None" is set as the powerup type for a pickup actor (or WeaponType=None for a WeaponBase).

            Can a 'Vehicle' class ever be spawned into a level other than by a vehicle factory? Idunno, but the code has it covered if that ever would arise. How would an ASVehicle_Sentinel ever appear ingame unattached to a vehicle? Again, idunno, but the code has that covered.

            ONSManualGunPawn.
            Should be obvious from the name, but I was surprised to learn it really is a pawn subclass (not a vehicle).

            Code:
            class MutNixVehicles extends Mutator;
            
            function bool CheckReplacement(Actor Other, out byte bSuperRelevant) {
                    bSuperRelevant = 0;
                 
                    if( Other.IsA('ONSVehicleFactory') ) {
                             Other.MaxVehicleCount=0;
                             Other.bActive=false;
                             Other.bNeverActivate=true;
                    } else
                    if(  Other.IsA('ASVehicleFactory')
                     && !Other.IsA('ASVehicle_SpaceFighter_Human')
                     && !Other.IsA('ASVehicle_SpaceFighter_Skaarj')
                    ) {
                             Other.bEnabled = false;
                    } else
                    if(   Other.IsA('Weapon_Sentinel')
                       || Other.IsA('Weapon_Turret_IonCannon')
                       || Other.IsA('Weapon_Turret_Minigun')
                       || Other.IsA('Weapon_Turret')
                       || Other.IsA('Weapon_Link_Turret')            
                       || Other.IsA('ASVehicle_Sentinel')
                       || Other.IsA('ONSManualGunPawn')
                    ) {
                             return false;
                    } else
                    if( Other.IsA('Vehicle') ) {
                             bHidden=true;
                    }        
            }
            
            defaultproperties {
            GroupName="Tweaks"
            FriendlyName="Remove Vehicles"
            Description="removes vehicles from gameplay"
            }

            Comment


              #7
              When I want to have ONS without vehicles (like on small ONS maps) I'll go into unreal editor, load the map and delete all the vehicles and then just rename the map xxxxxxxx_WoVEH

              Comment

              Working...
              X