running console commands on startup

Discussion in 'Monday Night Combat PC Discussion' started by pickled_heretic, January 12, 2011.

  1. pickled_heretic

    pickled_heretic New Member

    Messages:
    17
    Likes Received:
    0
    Greetings everyone. I have been playing this game for a couple of days, love it. But, I can't stand the announcer and pit girl voices (SCREW YOU PIT GIRL MY ASSASSIN IS NOT UGLY SHE IS A BEAUTIFUL LITTLE HUMMINGBIRD), and I also wanted to disable music so I could turn up the sound effects and play my own music underneath.

    I have discovered that you can turn off each of these things by running the following commands in console:

    modifysoundclass announcer vol=0
    modifysoundclass music vol=0
    modifysoundclass pitgirl vol=0

    Now. I have tried putting them in a few different places in the HostileInput.cfg file located in the config file in my documents, but nothing seems to be working. The question is, can I make these (or other console commands) run on startup?
  2. BulletMagnet

    BulletMagnet Post Master General

    Messages:
    3,263
    Likes Received:
    591
    Find [Engine.AudioDevice] in the HostileEngine.ini file that in your My Documents folder (not where the game is installed).
  3. Mibuwolf

    Mibuwolf New Member

    Messages:
    542
    Likes Received:
    0
    I'm gonna try doing this as well...

    Right now I'm checking actual game files and not stuff in my documents folder.

    I've found this under HostileEngine
    Code:
    [Engine.AudioDevice]
    Wonder if changing any values will help. I'll report back. ;)


    edit: just read the post above. Hey.. I was close. :lol:
    Last edited: January 12, 2011
  4. BulletMagnet

    BulletMagnet Post Master General

    Messages:
    3,263
    Likes Received:
    591
    Pretty sure they do, I changed mine a while ago. That said, I do hear the new Cantor comments but I have the Announcer volume at zero.
  5. Mibuwolf

    Mibuwolf New Member

    Messages:
    542
    Likes Received:
    0
    Hmm. I did what you said and change the Documents file instead of the Game file, but it didn't change announcer volume or music volume. :?
  6. BulletMagnet

    BulletMagnet Post Master General

    Messages:
    3,263
    Likes Received:
    591
    Patched out maybe? Also, the main menu music has always been there - it must be in a different category.
  7. pickled_heretic

    pickled_heretic New Member

    Messages:
    17
    Likes Received:
    0
    This is not working for me. Modifying variables in the location you listed is not changing anything as far as I can tell, while running my console commands will disable every announcer blurb, and it will even kill the music on the menu screen. Pasting the console commands into this area causes the game to crash.

    What I am looking for is a way to automatically run console commands when you start up the game so I don't have to type these three lines in every time in order to make the game tolerable.
  8. pickled_heretic

    pickled_heretic New Member

    Messages:
    17
    Likes Received:
    0
    I did quite a bit of research and testing yesterday (mainly around the UE3), and sadly I have yet to come up with anything.

    I can't even bind these commands to a keypress, it seems. There is either something obstructing being able to input console commands via keybinds, or I am doing it wrong. Can anyone give any input on the topic of binding console commands to keys?
  9. nyarlathotep

    nyarlathotep New Member

    Messages:
    19
    Likes Received:
    0
    Open your HostileInput.ini (if you're using Win7: ..\Users\Username\Documents\My Games\UnrealEngine3\HostileGame\Config) and add your new bind in the [Engine.PlayerInput] section above "bInvertMouse=False"
    Code:
    Bindings=(Name="X",Command="Y")
    where X is the name of the desired button and Y the console command you want to execute.
    e.g.:

    Code:
    Bindings=(Name="t",Command="modifysoundclass announcer vol=0")
    Bindings=(Name="z",Command="modifysoundclass music vol=0")
    Bindings=(Name="u",Command="modifysoundclass pitgirl vol=0")
  10. Mibuwolf

    Mibuwolf New Member

    Messages:
    542
    Likes Received:
    0
    I was assuming he had already tried that; at least I hope so.
  11. LennardF1989

    LennardF1989 Uber Contractor

    Messages:
    798
    Likes Received:
    323
    I like Mickey Canter, but Pitgirl is just plain annoying, saying we are losing when we're clearly winning and that type of stuff. I just can't stand the super annoying texas accent she uses (and the fact she has only like 3 lines of text repeated over and over).

    I also hate how the gunner keeps talking like a surf-dude (sweet waves brother, kahukamuwa, etc. etc, yuck).
  12. Mibuwolf

    Mibuwolf New Member

    Messages:
    542
    Likes Received:
    0
    You know, I don't mind all these announcer things... but when I start to hear the same quote 3-4 times in a game or MORE, that is just annoying. :|

    I don't mind gunner's surf talk though... and I resent what you said about Texas accent. That aint Texas... :roll:
  13. pickled_heretic

    pickled_heretic New Member

    Messages:
    17
    Likes Received:
    0
    Yep. No dice. None of those commands work. I originally tried to bind them to the F keys. I was considering that it's possible that binding console commands to keys has been disabled in order to discourage the possibility of cheating. (In other UE3 games, the "set" command is very powerful and allows players to cheat, even if cheating is otherwise disabled, for instance). But you can still enter these commands manually, so I don't really understand it.

    And yeah, I fkin hate southern accents. Pit girl pisses me off way more than Mickey. But after hearing Micky tell me that my mom called him for the 10th time in a row, I've had my share of him as well.
  14. grimbar

    grimbar New Member

    Messages:
    1,241
    Likes Received:
    1
    They do work, disable Steam Cloud and set hostileinput.ini to read-only. also pitgirl is no real soundclass
  15. pickled_heretic

    pickled_heretic New Member

    Messages:
    17
    Likes Received:
    0
    yes, it is, actually. if you type "listsoundclass" in console you can view all of the sound classes, pitgirl is one of these classes. that's how i found it in the first place.

    I've already tried making my config file read only, it was one of the first things I did. And based on my own experiences of binding other various functions within the game, I doubt disabling steam cloud will do anything. But I will try it when I get off work today and post the results.
  16. zanarias

    zanarias Member

    Messages:
    153
    Likes Received:
    0
    Totally irrelevant but WOAHHHHH it's pickled_heretic from Empires.
  17. pickled_heretic

    pickled_heretic New Member

    Messages:
    17
    Likes Received:
    0
    hey zanarias, haven't seen you for a long time. i look forward to seeing you in game.

    actually, i hate to admit but i already saw you last night/this morning. i was playing under an anagram and saw you playing assassin and support with one of your clan buddies playing sniper.
  18. pickled_heretic

    pickled_heretic New Member

    Messages:
    17
    Likes Received:
    0
    I can confirm that disabling the steam cloud and marking my ini files after adding the commands has no bearing on the commands functioning.

    I thought that perhaps the steam cloud would allow me to disable sound another way, through changing the volumes of the soundgroups in hostileengine, but that isn't working either. master volume = 0, everything still plays normally.

    I am quite confounded. I never realized how easy we had it in source games as far as manipulating the console went.

Share This Page