Titanframework
Custom Titan Framework
模組介紹 作者原文
the peepeepoopoo mans TitanFramework
==
If you have having issues with manual install make sure you delete any previous versions (including jmm889901.titanframework) before updating
This is an experimental mod and any crash logs will be appreciated, i will aim to keep backwards compatability as much as possible to make updating optional
Confused with how to use the mod, have suggestions or found a bug, please DM me the_peepeepoopoo_man. on discord
framework for adding custom titans
Using the mod
--
To use the mod, install a compatible titan mod such as Archon or Chimera, Go to the titan loadout selection menu and select "Custom loadouts", Create a new loadout, within this loadout click the "Select Titan" button to bring up the titan selection.
Example script
--
global function ChimeraSetup
void function ChimeraSetup()
{
ModdedTitanData Chimera
Chimera.Name = "#DEFAULT_TITAN_CHIMERA"
Chimera.Tag = "Atlas" //The tag is displayed in the selection menu if groupsettings.showtagasprefix /suffix is enabled
//can be used to give an alternate name to a titan in selection vs actual use
Chimera.Description = "This is the description for Chimera"
Chimera.BaseSetFile = "titan_atlas_tracker"
Chimera.BaseName = "tone" //we will use monarchs model
Chimera.altChassisType = frameworkAltChassisMethod.ALT_TITAN
Chimera.titanHints = [
"#DEATH_HINT_CHIMERA_001",
"#DEATH_HINT_CHIMERA_002",
"#DEATH_HINT_CHIMERA_003",
"#DEATH_HINT_CHIMERA_004",
"#DEATH_HINT_CHIMERA_005",
"#DEATH_HINT_CHIMERA_006"
]
if UI
Chimera.loadoutsMenuControllerFunc = ChimeraPreviewController
endif
Chimera.groupSettings.Name = "#CHIMERACATEGORY"
Chimera.groupSettings.showTagAsSuffix = true
Chimera.groupSettings.showName = false //Only show the chassis type in selection menu
ModdedTitanWeaponAbilityData GenericWeaponMount
GenericWeaponMount.weaponName = "mp_titanweapon_xo16_vanguard" //Custom weapons can actually use default weapons as the item
Chimera.Primary = GenericWeaponMount
ModdedTitanWeaponAbilityData GenericDefensiveMount
GenericDefensiveMount.weaponName = "mp_titanability_particle_wall"
Chimera.Left = GenericDefensiveMount
ModdedTitanWeaponAbilityData DefaultCore
DefaultCore.weaponName = "mp_titancore_salvo_core" //We only have 6 passive slots, 2 are universal and 4 are titan unique
//So we can only really use 4 Generic slots meaning we cant make all items (gun, core, abilities) generic
Chimera.Core = DefaultCore
ModdedTitanWeaponAbilityData GenericOffensiveMount
GenericOffensiveMount.weaponName = "mp_titanweapon_salvo_rockets"
Chimera.Right = GenericOffensiveMount
ModdedTitanWeaponAbilityData GenricUtilityMount
GenricUtilityMount.weaponName = "mp_titanability_phase_dash"
Chimera.Mid = GenricUtilityMount
CustomPersistentVar Primary
Primary.property = "primary"
Primary.defaultValue = "mp_titanweapon_xo16_vanguard" //<- this value is actually not err, used. i need to setup "true" custom values first
Primary.passiveItemsMethod = eItemsMethod.FIND_ALL_TYPE //FIND_ALL_TYPE will setup all items matching itemTypeOverride as accepted items
Primary.itemTypeOverride = eItemTypes.TITAN_PRIMARY
Chimera.ValidationOverrides["primary"] <- Primary
/*
========Defining Passive4, or Defensive=======
*/
CustomPersistentVar Defensive
Defensive.property = "special"
Defensive.defaultValue = "mp_titanability_particle_wall"
Defensive.passiveItemsMethod = eItemsMethod.FIND_FORCE//Forces the game to use the exact list of refs we provide
//In this case FIND Seems like it would work initially, however mp_titanweapon_stun_laser is also of type TITAN_ORDNANCE, but is unique in that it fits a different slot
//therefor it must be in the utility slot
//however FIND For this slot would still discover it, and add it to the list of accepted items
Defensive.itemTypeOverride = eItemTypes.TITAN_SPECIAL
Defensive.validationFunc = IsValidChimeraSpecial
Chimera.ValidationOverrides["special"] <- Defensive
ModdedPassiveData ParticleWall
安裝與使用 安裝:Northstar 用戶端模組
- 先安裝 Northstar 用戶端(Titanfall 2 的開源社群用戶端,官方發布頁提供安裝器),模組由它載入。
- 把本站下載的壓縮包解壓,內容放入 Titanfall2 目錄下的 Northstar/mods/ 資料夾。
- 透過 NorthstarLauncher.exe 啟動遊戲,控制台會列出已載入的模組。
Northstar 用於私人伺服器與自訂內容,請勿用它連線官方伺服器。