plainab Posted July 24, 2013 Share Posted July 24, 2013 If Widescreen mod is installed prior and iSeries is installed later (perhaps for a second run-through) there will be an issue crop up that will cause errors during iSeries compilation of scripts. These errors do not halt weidu but may cause problems with proper execution of the iSeries scripts. For some reason WSM includes code to add the file attstyle.ids. It does so by creating an empty file with that name. see code block ACTION_IF ENGINE_IS ~TotLM IWD2~ THEN BEGIN <<<<<<<< empty.ids >>>>>>>> ACTION_FOR_EACH file IN diffmode difflevl attstyle avclass BEGIN ACTION_IF NOT FILE_EXISTS_IN_GAME ~%file%.ids~ THEN BEGIN COPY ~empty.ids~ ~override/%file%.ids~ END END COPY_EXISTING_REGEXP GLOB ~^.*\.bcs$~ ~override~ PATCH_IF ~%SOURCE_RES%~ STRING_COMPARE_CASE testocle && ~%SOURCE_RES%~ STRING_COMPARE_CASE test_01 && ~%SOURCE_RES%~ STRING_COMPARE_CASE test_02 && ~%SOURCE_RES%~ STRING_COMPARE_CASE test_03 && ~%SOURCE_RES%~ STRING_COMPARE_CASE pbarcher && ~%SOURCE_RES%~ STRING_COMPARE_CASE pbmage && ~%SOURCE_RES%~ STRING_COMPARE_CASE pbcleric THEN BEGIN DECOMPILE_BCS_TO_BAF REPLACE_TEXTUALLY ~MoveViewPointUntilDone(\([^)]*\))~ ~MoveViewPoint(\1) Wait(10)~ COMPILE_BAF_TO_BCS END BUT_ONLY_IF_IT_CHANGES IF ~264~ END iSeries also has code to create such a file but with a purpose. The attackedby command in trigger.ids looks to an attstyle.ids for the type of weapon (default, melee, ranged). However attsyle.ids was misspelled and shipped as attstyl.ids. iSeries properly copies and renames that file to attstyle.ids provided it does not exist. see code block ACTION_IF NOT FILE_EXISTS_IN_GAME ~attstyle.ids~ THEN BEGIN // if not present, make it COPY_EXISTING ~attstyl.ids~ ~override/attstyle.ids~ END Do you see the issue? If WSM is first the file exists but is blank thereby causing iSeries to skip making the correct file. Further causing weidu to complain and display errors during compilation. see code block for sample [iseries/build0.5/baf/iArcher.baf.BAF] PARSE ERROR at line 77 column 1-33 Near Text: ) [AttackedBy] argument [DEFAULT] not found in [ATTSTYLE.IDS] [./override/ATTSTYLE.IDS] loaded, 1 bytes The suggestion for WSM would be to break attstyle.ids out from the other ids files and copy it separately and properly for the IWD2 game. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.