Jump to content

Recommended Posts

Posted (edited)

Add to your command line URL:
?Mutator=UTGame.UTMutator_FriendlyFire

This will give you some decent friendly fire by default.
And if you want to change the amount, you'll have to compile your own mutator.

Here's the original UTMutator_FriendlyFire.uc:

Spoiler

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
class UTMutator_FriendlyFire extends UTMutator;

var float FriendlyFireScale;

function bool MutatorIsAllowed()
{
    return UTTeamGame(WorldInfo.Game) != None && Super.MutatorIsAllowed();
}

function InitMutator(string Options, out string ErrorMessage)
{
    UTTeamGame(WorldInfo.Game).FriendlyFireScale = FriendlyFireScale;
    super.InitMutator(Options, ErrorMessage);
}

defaultproperties
{
    FriendlyFireScale=0.5
    GroupNames[0]="FRIENDLYFIRE"
}

 

Edited by Suspiria
  • Like 1
  • Totem Arts Staff
Posted
7 hours ago, LeonardMT said:

Thanks! But vehicles don't give off friendly fire and the voice lines for friendly fire don't appear to work, also how does the FriendlyFireScale scale?

The game isn't coded for friendly fire. And to change it, you'd have to recompile the mutator. 0.5 = 50% dmg.

  • Totem Arts Staff
Posted
1 hour ago, LeonardMT said:

Then why are there voice lines for friendly fire in the UDK?

From old UT? I don't know. If there's stuff for friendly fire, it might be from BD. RenX has never had friendly fire from my knowledge.

Posted
4 minutes ago, NodSaibot said:

From old UT? I don't know. If there's stuff for friendly fire, it might be from BD. RenX has never had friendly fire from my knowledge.

In the UDK I found voice lines for the Nod engineer and Mobius (there's probably more but the UDK is huge) their file names and lines indicated that it was for friendly fire.

  • Totem Arts Staff
Posted
2 minutes ago, LeonardMT said:

In the UDK I found voice lines for the Nod engineer and Mobius (there's probably more but the UDK is huge) their file names and lines indicated that it was for friendly fire.

Well the character sounds in-game are not setup for friendly fire.

Posted
1 minute ago, NodSaibot said:

Well the character sounds in-game are not setup for friendly fire.

That's slightly disappointing. What would be involved in rewriting the friendly fire mutator to have vehicles (and their weapons) voice lines, buildings, (and possibly airstrikes [bit hard to test on bots] unclear if they give off friendly fire) to properly work?

Also on the note of writing mutators where is the code regarding the tusk missile I would to have its ammo count be 12 on legendary veterancy.

  • Totem Arts Staff
Posted
12 minutes ago, LeonardMT said:

That's slightly disappointing. What would be involved in rewriting the friendly fire mutator to have vehicles (and their weapons) voice lines, buildings, (and possibly airstrikes [bit hard to test on bots] unclear if they give off friendly fire) to properly work?

Also on the note of writing mutators where is the code regarding the tusk missile I would to have its ammo count be 12 on legendary veterancy.

You'd have to replace the mammoth with a new mammoth, but the mammoth weapon is Rx_Vehicle_MammothWeapon
 

Quote

    Vet_SecondaryClipSizeModifier(0)=0 //Normal +X
    Vet_SecondaryClipSizeModifier(1)=0 //Veteran
    Vet_SecondaryClipSizeModifier(2)=0 //Elite
    Vet_SecondaryClipSizeModifier(3)=2 //Heroic



would be the bonus missiles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...