User Tools

Site Tools


final-fantasy-tactics:mod-script-functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
final-fantasy-tactics:mod-script-functions [2023/06/08 00:20]
3.0.28.210 old revision restored (2022/08/05 22:57)
final-fantasy-tactics:mod-script-functions [2023/08/21 11:16]
47.128.25.46 removed
Line 1: Line 1:
 ===== Game-Specific ===== ===== Game-Specific =====
  
-''this.updateMapFiles(GNSFile, files = {})''+<code>this.updateMapFiles(GNSFile, files = {})</code>
  
-Reads the byte data of a GNS file and replaces the sectors/files in the ModImg of that file to match the ones specified in ''files'' with a format of '' { "OldMapPathA": "NewMapPathA", "OldMapPathB": "NewMapPathB" }''+Reads the byte data of a GNS file and replaces the sectors/files in the ModImg of that file to match the ones specified in ''files'' with a format of ''%%"%%OldMapPathA%%"%%%%"%%NewMapPathA%%"%%%%"%%OldMapPathB%%"%%%%"%%NewMapPathB%%"%% }''
  
 ---- ----
  
-''this.game.bindMapID(mapID, GNSFile)''+<code>this.game.bindMapID(mapID, GNSFile)</code>
  
 Sets the link in BATTLE.BIN of a given map ID to point toward a map GNS of your choice. This allows you to use multiple versions of the same base map.  Sets the link in BATTLE.BIN of a given map ID to point toward a map GNS of your choice. This allows you to use multiple versions of the same base map. 
Line 14: Line 14:
  
 {{wst>ISO Mod Script Functions}} {{wst>ISO Mod Script Functions}}
 +
 +----
  
final-fantasy-tactics/mod-script-functions.txt ยท Last modified: 2023/09/10 03:44 by xifanie