final-fantasy-tactics:mod-script-functions
Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
final-fantasy-tactics:mod-script-functions [2022/08/06 08:27] 65.108.103.101 old revision restored (2022/08/05 21:54) |
final-fantasy-tactics:mod-script-functions [2023/09/10 03:44] (current) xifanie old revision restored (2023/06/08 15:12) |
''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(GNSFile, files = {})'' | <code>this.game.bindMapID(mapID, GNSFile)</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.1659774448.txt.gz · Last modified: 2022/08/06 08:27 by 65.108.103.101