Mod not running?

Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
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

Comments

  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    I suppose theres a couple things you could be doing wrong, and things to check, so heres one. Use process explorer to check that ns2.exe is actually running with the switch -TheHunter

    <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.
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    <!--quoteo(post=1895728:date=Jan 19 2012, 11:14 AM:name=endar)--><div class='quotetop'>QUOTE (endar @ Jan 19 2012, 11:14 AM) <a href="index.php?act=findpost&pid=1895728"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I suppose theres a couple things you could be doing wrong, and things to check, so heres one. Use process explorer to check that ns2.exe is actually running with the switch -TheHunter

    <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 :)
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    Lol, don't know what happened there, checked it in process explorer, it was running, went in game and my mod is working :P

    This is looking so doable. :)
Sign In or Register to comment.