Page 1 of 1

recompile shop.acs to change item price

Posted: Sun Nov 06, 2011 8:28
by lloydender
I want to change the price of LifeItem in the shop. Using DB2 I opened MAP99. I can open shop.acs with the script editor and change the appropriate value but it won't compile on its own. Specifically I get an error: hudmsg_fadeinout : Identifier has not been declared
I don't know what to do from here. Are there resources that I need to add to the game configuration? Or to the map options? In the editing reference pdf I saw something about putting stronghold.acs and sthldcmn.acs in the same folder as my map in order for it to compile, so I did that.

Re: recompile shop.acs to change item price

Posted: Tue Nov 08, 2011 19:39
by lloydender
I figured it out after reading the Stronghold Editing Reference PDF. I copied strnghld.acs and sthldcmn.acs into the maps folder. Then I opened MAP99 in DB2. I started the script editor and it came up with the script for the map and when I compiled that the change I made in shop.acs was applied. Before, I was trying to compile shop.acs which didn't really make sense in the first place.