J P Wagner Posted November 23, 2007 Share Posted November 23, 2007 While working on my mod, I occasionally open the mod in the game to see how it looks. I have started to add unit counters to the map and now when I open it in the game, I receive a script error message. When I go back to the editor and remove all of the units, the map opens within the game without any errors..... 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted November 23, 2007 Share Posted November 23, 2007 Not sure as this is a Windows C runtime error outside of the scope of the actual code I am using. Usually a reboot resolves this type of issue but it could also be the fact that you are running the Editor and the Game at the same time and your system doesn't like that. Just a tip, if you want to see your changes in the Editor just hit the F4 key and it should refresh the bitmaps to whatever recent editing changes you made. 0 Quote Link to comment Share on other sites More sharing options...
J P Wagner Posted November 25, 2007 Author Share Posted November 25, 2007 Thanks Hubert for the response but so far, nothing I have tried works. I had no problem with the SC2 editor or game while doing the initial work on RCW so I'm baffled as to what the difference is..... I thought I would show one more example of the problem to see if it sheds any light on this. The first screen is when I open the mod in the WAW game. The editor has been closed so this is the only program running. Now if I sit there and do nothing, there is no error messages, but the moment I start scrolling and reach some of the units that I placed, the following error pops up: I hope this might help explain the problem better. Thanks 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted November 25, 2007 Share Posted November 25, 2007 I had something like this happen to me once during a mod creation. I never found out the exact problem but when I redid the 3d unit bitmap from scratch the problem resolved itself. I suggest you restart with a blank sheet and redo the sprites. All I did was begin with a blank sheet and cut and pasted one unit at a time. I tested that the game did not crash after each new bitmap (a long process) until all was completed. Everything worked fine from then on. I still have no idea what went wrong the first time. EDIT: I seem to remember isolating the problem to one particular sprite which I replaced completely with a different image. 0 Quote Link to comment Share on other sites More sharing options...
J P Wagner Posted November 25, 2007 Author Share Posted November 25, 2007 Thank You Moonslayer for the info....I thought the best way to test your idea was to simply remove my modded unit sprites and replace them with the vanilla sprites. Unfortunately I am receiving the same error message even with the original sprites....I should point out that the vanilla game runs fine on my pc as I experience no crashes or errors during gameplay. I'm going to transfer my files to my other pc tomorrow and see how that goes... [ November 24, 2007, 08:42 PM: Message edited by: J P Wagner ] 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted November 25, 2007 Share Posted November 25, 2007 Sorry I couldn't be more help... good luck! 0 Quote Link to comment Share on other sites More sharing options...
Hubert Cater Posted November 25, 2007 Share Posted November 25, 2007 JP Wagner, The second error message is in fact a game error message and one that can be resolved. The likely cause of this error is that one of your sprite files is incorrect in some way. For example, it might not be the right size in terms of width and height dimensions. This can happen with old mods converted to the new WaW engine as some of the older sprite files are incompatible. I would check items such as the 'activation_sprites.bmp' and make sure they correspond in size to the newer versions of these files in WaW. Hope this helps, Hubert 0 Quote Link to comment Share on other sites More sharing options...
J P Wagner Posted November 25, 2007 Author Share Posted November 25, 2007 Ok, I transfered my files to my second pc and still have the problem, so I next replaced the entire mod bitmap folder with the original and the game now opens fine. So, Hubert and Moon, thanks for the help, as I now will go sprite by sprite to see if I can isolate the problem.... 0 Quote Link to comment Share on other sites More sharing options...
Moonslayer Posted November 25, 2007 Share Posted November 25, 2007 Just remembered what caused one problem I had... the activation sprites were wrong. Hubert's message reminded me. I had changed some of them but had been a little careless as to the size of the file. Does this help? It caused the exact same error message as the one you posted. 0 Quote Link to comment Share on other sites More sharing options...
J P Wagner Posted November 25, 2007 Author Share Posted November 25, 2007 BINGO! That was it Moon! My original SC Mod activation sprite was totally out of whack from the WAW version! When I replaced just the activation sprites with the original WAW one, the mod now opens within the game fine. Again, many thanks to you and Hubert for brainstorming this for me! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.