Mod not running?
Soul_Rider
Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
in Modding
I am working on a mod at the moment. I have implemented some basic changes. that didn't seem to be working, so I changed the res cost of the fade in Balance.lua. When I enable alltech in the engine, the fade still costs 50 res. This tells me my code is not running. How can I check the game is using my modified files, rather than the default files.
I have created the game in decoda. I set-up the folder for programming in a different folder to NS. I then copied the folder, with the edited files in the same directory format as ns2, into the Natural Selection 2 folder. The folder is called TheHunter, the same as the mod. I have created a shortcut to ns2.exe on my desktop with the properties -game TheHunter
When I run the game from the shortcut, it doesn't seem to use my modified files, as proven by the test I did above with the res cost change.
Any advice on what I am obviously doing wrong :P
I have created the game in decoda. I set-up the folder for programming in a different folder to NS. I then copied the folder, with the edited files in the same directory format as ns2, into the Natural Selection 2 folder. The folder is called TheHunter, the same as the mod. I have created a shortcut to ns2.exe on my desktop with the properties -game TheHunter
When I run the game from the shortcut, it doesn't seem to use my modified files, as proven by the test I did above with the res cost change.
Any advice on what I am obviously doing wrong :P
Comments
<a href="http://download.sysinternals.com/Files/ProcessExplorer.zip" target="_blank">http://download.sysinternals.com/Files/ProcessExplorer.zip</a>
You could also compare your mod structure to other mods from the forums and make sure you have all the right elements.
<a href="http://download.sysinternals.com/Files/ProcessExplorer.zip" target="_blank">http://download.sysinternals.com/Files/ProcessExplorer.zip</a>
You could also compare your mod structure to other mods from the forums and make sure you have all the right elements.<!--QuoteEnd--></div><!--QuoteEEnd-->
Thanks for that. As regards the structure, it's just a few amended lua files in TheHunter\lua. I'll check out process explorer :)
This is looking so doable. :)