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/07 12:21]
52.74.9.76 old revision restored (2022/08/06 05:34)
final-fantasy-tactics:mod-script-functions [2023/08/21 11:16]
47.128.25.46 removed
Line 1: Line 1:
-''this.game.includeMod(modName, callFunction null, args [])''+===== Game-Specific =====
  
-Includes another mod of the same game. ''modName'' must match the directory name of the mod. You may call a specific function with arguments immediately, or you can interest with the object class as you desire through ''this.game.mods[modName]'' once it executes.+<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%%"%% }''
  
 ---- ----
  
-''this.updateMapFiles(GNSFilefiles = {})''+<code>this.game.bindMapID(mapIDGNSFile)</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" }''+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. 
  
-----+{{wst>Global Mod Script Functions}}
  
-''this.game.bindMapID(mapID, GNSFile)''+{{wst>ISO Mod Script Functions}} 
 + 
 +----
  
-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.  
final-fantasy-tactics/mod-script-functions.txt · Last modified: 2023/09/10 03:44 by xifanie