Jump to content

Making a simple Mod to access in-game character stats & data


TomCat25

Recommended Posts

Hi, Nexus community!

 

I run a small Elder Scrolls fan site that allows players to create profiles for their characters and add their characters' stats into the profiles (stats from in-game, such as total gold, individual skill levels, etc. etc.). Currently, all of these stats must be inputted manually by the player into each of their characters' profiles, and this can become quite tedious for some, especially those who update their characters' profiles rather frequently. So, in order to remedy this situation (at least for PC players, who are able to use Mods), I've decided that creating a Mod for Skyrim would be the best solution.

 

Ultimately, this Mod should be quite simple. I am only looking to add something to the game's UI, such as a button next to a save file in the load saved games panel that, once clicked, automatically sends a request to my server containing some of the character's stats from that save file.

 

So what's my question? Well, I've looked through a few of the topics explaining how to get started creating a Skyrim Mod, but they all seem to be heavily geared towards creating Mods that add actual content into the game (such as new textures, weapons, and other in-game models). What I'm looking to do is simply to modify the game's menu UI and to access character data from any save file, yet I cannot seem to find a good place to start with that.

 

If anyone would be able to get me started on the right path, given my intentions, or if anyone has any suggestions or information that they would be able to throw my way, I would greatly appreciate it!

Edited by TomCat25
Link to comment
Share on other sites

So what's my question? Well, I've looked through a few of the topics explaining how to get started creating a Skyrim Mod, but they all seem to be heavily geared towards creating Mods that add actual content into the game (such as new textures, weapons, and other in-game models). What I'm looking to do is simply to modify the game's menu UI and to access character data from any save file, yet I cannot seem to find a good place to start with that.

 

If anyone would be able to get me started on the right path, given my intentions, or if anyone has any suggestions or information that they would be able to throw my way, I would greatly appreciate it!

 

You might want to start with how MessageBoxes work. It wouldn't be a perfect fit like the HUD or the Journal, but it would be a place to start. I've seen MessageBoxes used on the Creation Kit official tutorials on their wiki.

Link to comment
Share on other sites

Great, thanks a lot! I was able to find a couple of good places through Google with more information regarding message boxes. I think the most relevant one in my situation would be this: http://tesmods.blogspot.com/2013_01_01_archive.html

 

Now, to address the problem of grabbing individual character data from a save file and sending it to a specified script on the web -- is this actually a more straightforward process than I'm making it seem? Basically, I want to be able to grab data from a save file which the user chooses, then send those pieces of data together as an HTTP POST request (or maybe even as a GET request) to a script (eg: mysite.com/script.php). I guess I'm confused about two things here: 1) How can I call a list of saved game files for the user to choose from, and 2) How can I write a function that can access the individual pieces of data in that save file (the sending of the HTTP request to the server is probably pretty easy).

 

If anyone could provide me with some links to tutorials or posts that would put me on the right track, I'd greatly appreciate that. Thanks!

Link to comment
Share on other sites

I'm not sure if you want to hassle with some in-game mod...

 

You might be better served with a small utility for them to download which will require some initial setup on the users part but once set will be easy to use. If you allow the user to indicate where their saves are stored, you could then have your utility which using information from here read into the selected save file and display the information. You could then go from there to do any adaptation for automatic upload and insertion or whatever etc...

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...