configuration mapvote [MapVoteULv1_2_big1: True or False setting

Search, find and discuss about Mutators!
Letylove49
Adept
Posts: 395
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: AK admin
Location: suisse

configuration mapvote [MapVoteULv1_2_big1: True or False setting

Post by Letylove49 »

hi i would like to know if is possible to change a Bool function ( True or false) via the mapvote ?

Code: Select all

 CustomGameConfig[0]=(bEnabled=True,GameClass="MH2GoldAuthenticBFv6.MonsterHunt",NewPrefix="MH2",Mutators="fsb47*.FragSB,MH2GoldAuthenticBFv6.Stats,MH2GoldAuthenticBFv6.ShutUp,MH2GoldAuthenticBFv6.IP2Country,MH2GoldAuthenticBFv6.MH2PlayerLog,MH2GoldAuthenticBFv6.MHPoweredMonster,CoopTranslocator.CoopTranslocatorMutator,NoChainsaw.NoChainsaw,DoubleJumpUTv3.DoubleJumpUTv3,SBMutatorFastWarShell-V5.SBMutatorFastWarShell,SBQueenSaver-V1.SBQueenSaver,Storeteam.Storeteam,MHCheckPoints.MHCheckPoints,UTSpawnInventory.UTSpawnInventory",Settings="FriendlyFireScale=0.400000,FriendlyFireSelfDamageRatio=0.50,bUseAntiBoost=False")
CustomGameConfig[1]=(bEnabled=True,GameClass="MH2GoldAuthenticBFv6.MonsterHunt",NewPrefix="MH",Mutators="fsb47*.FragSB,MH2GoldAuthenticBFv6.Stats,MH2GoldAuthenticBFv6.ShutUp,MH2GoldAuthenticBFv6.IP2Country,MH2GoldAuthenticBFv6.MH2PlayerLog,MH2GoldAuthenticBFv6.MHPoweredMonster,CoopTranslocator.CoopTranslocatorMutator,NoChainsaw.NoChainsaw,DoubleJumpUTv3.DoubleJumpUTv3,SBMutatorFastWarShell-V5.SBMutatorFastWarShell,SBQueenSaver-V1.SBQueenSaver,Storeteam.Storeteam,MHCheckPoints.MHCheckPoints,UTSpawnInventory.UTSpawnInventory",Settings="FriendlyFireScale=0.00000,FriendlyFireSelfDamageRatio=0.00,bUseAntiBoost=True")
that doesn't work for me.
Last edited by Letylove49 on Sun Jan 19, 2025 9:32 pm, edited 1 time in total.
Image

Letylove49 aka Alicia
User avatar
Barbie
Godlike
Posts: 3225
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: configuration mapvote [MapVoteULv1_2_big1: True or False setting

Post by Barbie »

As far as I see the settings are applied in function class'BDBMapVote'.ExecuteSetting():

Code: Select all

  Prev = Level.Game.GetPropertyText(Property);
  Level.Game.SetPropertyText(Property,Value);
  Next = Level.Game.GetPropertyText(Property);
  DebugLog("Changed Setting:" @ Property $ ". Previous value:" @ Prev $ ". new value:" @ Next);
If you turn on bDebugMode the result is written to log so that you can verify if it was set correct.
"If Origin not in center it be not in center." --Buggie
Letylove49
Adept
Posts: 395
Joined: Tue Feb 28, 2012 7:47 pm
Personal rank: AK admin
Location: suisse

Re: configuration mapvote [MapVoteULv1_2_big1: True or False setting

Post by Letylove49 »

the problem is solved i need to use anoter version of the mh2
Image

Letylove49 aka Alicia