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
final-fantasy-tactics:mod-script-functions [2023/06/08 11:47]
13.251.28.175 old revision restored (2022/08/06 06:44)
final-fantasy-tactics:mod-script-functions [2023/09/10 03:44] (current)
xifanie old revision restored (2023/06/08 15:12)
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.1686224837.txt.gz ยท Last modified: 2023/06/08 11:47 by 13.251.28.175