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 [2022/08/06 05:34]
65.108.103.101 old revision restored (2022/08/05 20:19)
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:
-''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.1659764076.txt.gz · Last modified: 2022/08/06 05:34 by 65.108.103.101