LeonardMT Posted February 27, 2022 Share Posted February 27, 2022 I configured a dedicated server with the intent of having friendly fire enabled but I couldn't find any value for it in any of the config files. Quote Link to comment Share on other sites More sharing options...
Suspiria Posted February 27, 2022 Share Posted February 27, 2022 (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 February 27, 2022 by Suspiria 1 Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 27, 2022 Author Share Posted February 27, 2022 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? Quote Link to comment Share on other sites More sharing options...
Totem Arts Staff NodSaibot Posted February 28, 2022 Totem Arts Staff Share Posted February 28, 2022 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. Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 28, 2022 Author Share Posted February 28, 2022 2 hours ago, NodSaibot said: The game isn't coded for friendly fire. Then why are there voice lines for friendly fire in the UDK? Quote Link to comment Share on other sites More sharing options...
Totem Arts Staff NodSaibot Posted February 28, 2022 Totem Arts Staff Share Posted February 28, 2022 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. Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 28, 2022 Author Share Posted February 28, 2022 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. Quote Link to comment Share on other sites More sharing options...
Totem Arts Staff NodSaibot Posted February 28, 2022 Totem Arts Staff Share Posted February 28, 2022 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. Quote Link to comment Share on other sites More sharing options...
LeonardMT Posted February 28, 2022 Author Share Posted February 28, 2022 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. Quote Link to comment Share on other sites More sharing options...
Totem Arts Staff NodSaibot Posted February 28, 2022 Totem Arts Staff Share Posted February 28, 2022 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.