FiftyTifty Posted August 12, 2019 Share Posted August 12, 2019 Seeing IStewieAI come out with these welcome small tweaks, I figured I'd have a shot at making one of my own. I learned Pascal and C# by modding ES and Fallout, so this would be a good stab at working with C++. Problem is, I can't find any documentation on making baby's first plugin. There is source code for an example plugin with NVSE, but no documentation. There's no explanation of functions, how to run code at specific game events, how to create a thread that constantly checks the game state, nada. So there's no real good starting point. The plugin I have in mind, is to adjust the AI accuracy GMST records depending on the time of day. If it's noon, they are set to high values. If it's midnight, they are set to very low values. And as the time changes, so do the values for the GMST records. It's small in scope, so it shouldn't require a couple hundred lines of code. So, I got to ask: are there any tutorials on starting out with making NVSE plugins? Link to comment Share on other sites More sharing options...
c6dev Posted August 15, 2019 Share Posted August 15, 2019 No, there aren't any. Link to comment Share on other sites More sharing options...
RoyBatterian Posted August 15, 2019 Share Posted August 15, 2019 IDA 5.0 and your brain. Link to comment Share on other sites More sharing options...
dubiousintent Posted August 15, 2019 Share Posted August 15, 2019 That would be the IDA 5.0 Disassembler hosted on the "ScummVM" site? From that page: A recent discussion [Mar 2018] about the most recent IDA Disassembler freeware 7.0 revealed that it no longer supports disassembling older DOS and Windows executables. This is obviously a problem for potential contributors, as well as potential GSoC students wanting to reverse engineer an old adventure game or RPG for their project. The obvious solution is to provide an earlier freeware version that still supports them.Consulting with Hex-Rays, they're kindly consented for us to host one of the earlier IDA freeware versions, for those in the future who wish to use it. -Dubious- Link to comment Share on other sites More sharing options...
c6dev Posted August 17, 2019 Share Posted August 17, 2019 (edited) Yeah, 5.0 is just the last freeware one, you can obviously use newer ones, but they're costly. Edited August 17, 2019 by TrueCourierSix Link to comment Share on other sites More sharing options...
dubiousintent Posted August 17, 2019 Share Posted August 17, 2019 Thank you for confirming that I had found the correct tool. Added the information as "NVSE Plugins" to the "Misc Topics" section of the wiki "Getting started creating mods using GECK" article. -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts