Hello All,
I want to preface this by saying that not I have no experience whatsoever in scripting, nor do I know if scripting is actually the answer to my problem. This is what I came to find out. If my question doesn't fall under the purview of what this forum is intended for or if it's a waste of your time I am more than happy to delete the thread.
Here is a simple version of my question:
I would like to implement something that either
1. switches out alternate versions of several text documents with a succesion of key presses
or
2. replaces/edits certain sections of said text documents with succesion of key presses.
Ideally the script would only be active when I have the game open and would be something that would be easy to distribute to others who use my custom GUI.
Would this be possible with a script? If so, what is a good resource for learning to get into this? I would want to do it myself, I just need a tiny bit of guidance, I was doing my best to start learning but after feeling a bit overwhelmed I decided to ask for help. It probably doesn't help that I'm only now switching over to a PC and am still quite unused to it. I've already found this: http://social.technet.microsoft.com/Forums/scriptcenter/en-US/30912620-fe6c-4684-bca9-49b653a90642/sbs-complete-novice-questions?forum=smallbusinessserver but honestly I can't find much about my specific question and it seems more like an FAQ than a comprehensive textbook on scripting and the commands.
For a more detailed explanation of why I want to do this:
I designed a (free) custom GUI for a video game: Team Fortress 2, which is a class based shooter, and it shows you what is called a viewmodel, or a dynamic picture of the weapon you're currently holding. However, you can also disable that viewmodel. What I want to do is disable it and use several in-game console commands bound to the keys I use to switch weapons to toggle on or off an image of a different viewmodel, specifically transparent. All well and good, but the only problem is there are only two in-game console commands that can toggle a part of the GUI on or off at will with no in-game stutter, and there are 9 classes, each with upwards of 60-70 distinct viewmodels. I simply want to be able to edit the files based on what class I am, which i can do by swapping out the files depending on which class I choose (you choose a class by pressing comma then a number key). I was thinking that comma would activate the script and the number keys would determine which files are swapped in/out or edited.
Thanks for reading!