BOSS CFG有兩種格式,FF2舊版格式和FF2R新版格式,
理論上FF2R兩種格式也支援,但如果日後有機會在非官方
以下是同一BOSS但兩種cfg格式
FF2舊cfg格式:
複製程式
FF2R新cfg格式:
複製程式
"character"
{
"companion" "seeldier"
"blocked" "0"
"name" "Seeman"
"group" "See Duo"
"group_zho" "See 雙人組"
"class" "demoman"
"model" "models/freak_fortress_2/seeman/seeman_v0.mdl"
"health_formula" "((((760.8+n)*(n-1))^1.0341)+2046)/2.8"
"ragedamage" "(253.6+n)*((n-1)^0.6127)+1444"
"maxspeed" "340"
"sound_block_vo" "1"
"fversion" "2"
"description_en" "Seeman:\n''See?''\nSuper Jump: alt-fire, look up and stand up.\nWeigh-down: in midair, look down and crouch.\nAnchor: crouch while on the ground.\nRage (explosive dance): call for medic when the Rage Meter is full.\nYour companion is Seeldier!"
"tf_weapon_bottle"
{
"index" "1"
"rank" "12"
"quality" "7"
"override" "true"
"show" "false"
"preserve" "true"
"attributes" "2 ; 3.0 ; 28 ; 0.1 ; 252 ; 0.5 ; 275 ; 1 ; 400 ; 1"
}
"ff2_scaled_endgame_rage_gain"
{
"arg1" "101" // number of players left alive to start this
"arg2" "0.5" // amount of rage to give per second when one player left alive
"plugin_name" "ff2_sarysamods"
}
"rage_on_kill"
{
"arg1" "5" // How much Rage back on each kill? (Must be between 0.0 and 100.0)
"plugin_name" "m7_abilities_extended"
}
"special_mobility"
{
"slot" "1"
"options" "1"
"button" "11"
"charge" "1.5"
"cooldown" "5.0"
"delay" "5.0"
"upward" "750 + (n * 3.25)"
"forward" "1.0 + (n * 0.00275)"
"emergency" "2000.0"
"plugin_name" "ff2r_default_abilities"
}
"special_weighdown"
{
"slot" "2"
"delay" "0.75"
"gravity" "6.0"
"velocity" "1000.0"
"plugin_name" "ff2r_default_abilities"
}
"special_anchor"
{
"basic" "0.5"
"full" "3.5"
"speed" "175.0"
"plugin_name" "ff2r_default_abilities"
}
"rage_stun"
{
"slot" "0"
"delay" "0.1"
"duration" "1.40625"
"distance" "650.0"
"flags" "97"
"slowdown" "0.34"
"sound" "false"
"particle" "yikes_fx"
"basejumper" "false"
"add" "0.46875"
"max" "3.75"
"solo" "1.5625"
"plugin_name" "ff2r_default_abilities"
}
"rage_stunsg"
{
"slot" "0"
"delay" "0.1"
"duration" "3.125"
"distance" "650.0"
"health" "0.6"
"ammo" "0.5"
"rocket" "0.4"
"particle" "yikes_fx"
"building" "1"
"add" "0.625"
"max" "6.25"
"solo" "3.59375"
"plugin_name" "ff2r_default_abilities"
}
"rage_explosive_dance"
{
"slot" "0"
"initial" "0.15"
"delay" "0.12"
"amount" "35"
"taunt" "true"
"amount" "5"
"damage" "180.0"
"distance" "350.0"
"magnitude" "280"
"radius" "200"
"plugin_name" "ff2r_default_abilities"
}
"catch_phrase"
{
"freak_fortress_2/seeman/seeman_see.wav" ""
}
"sound_ability"
{
"freak_fortress_2/seeman/seeman_rage.wav" ""
}
"sound_begin"
{
"freak_fortress_2/seeman/seecombo_begin.wav" ""
}
"sound_death"
{
"freak_fortress_2/seeman/seeman_see.wav" ""
}
"sound_win"
{
"freak_fortress_2/seeman/seeman_see.wav" ""
}
"sound_bgm"
{
"freak_fortress_2/seeman/seesongbgm.mp3"
{
"time" "140"
"name" "SEE!"
"artist" "Scoutellite"
}
}
"download"
{
"models/freak_fortress_2/seeman/seeman_v0" "mdl"
"sound/freak_fortress_2/seeman/seecombo_begin.wav" ""
"sound/freak_fortress_2/seeman/seeman_rage.wav" ""
"sound/freak_fortress_2/seeman/seeman_see.wav" ""
"sound/freak_fortress_2/seeman/seesongbgm.mp3" ""
}
}
"companion" 是當這BOSS登場時,會指定的"companion"裡名字的BOSS作為搭擋(即是雙BOSS),
只能填寫一個BOSS的名字,但有方法可以製作超過兩隻BOSS上場,
假設我有boss1、boss2、boss3,如果我想當選中boss1時他們三隻BOSS一同上場時,
我可以在boss1.cfg 設定 "companion" "boss2",
在boss2.cfg 設定 "companion" "boss3",
那在boss1上場時會拉boss2,boss2上場時拉boss3,變成三隻BOSS一同上場了
"blocked"是防止玩家可被抽中或是可選擇該BOSS,通常配合"companion"使用
"name" 是BOSS名稱,會顯示在相關的HUD訊息中
支援多國語系,只要在後面加在相應的「語系關鍵字」即可,
例如zho語系是指繁體中文, 那我們另外新增一行 "name_zho" ,
當玩家是使用繁體中文時, 顯示將會是 "name_zho" 的名稱
"group" 是BOSS團隊名稱,適用於兩隻或以上BOSS的回合,
會在BOSS名字開頭或是回合開始時使用,
和 "name" 一樣支援多國語系, 做法和 "name" 一樣
"model" 是BOSS所使用的模型
"health_formula" 是BOSS生命值的公式, n = 玩家人數 ,支援加減乘除,
當然你直接設定一個固定數字也是可以,例如:
這樣無論人數多少也會固定BOSS生命值在500
"lives" 是BOSS的生命次數,當生命值為0時會視為失去1條命並重新補滿生命值,
並會觸發slot 為"-1"的BOSS技能
"maxspeed" 是BOSS速度,注意這不是固定值,
實際速度會隨BOSS生命值減少而更快,最快增加70速度
"ragedamage" 怒氣達至100%所需的傷害量,跟一樣支援公式運算,
不過你會看到大部分BOSS cfg 也是使用固定數值,原因是舊FF2不支援公式運算
"ragemode" 是怒氣的運作模式,
用於
這部分是用作設定BOSS所使用的武器
這部分開始新舊格式也會有些不同
"wearableX" 可以令BOSS戴上裝飾,FF2R的demopan就是直接用這個拼湊出來
但目前有效的好像只有帽子部分,其他服飾好像無法使用,
新格式的
這些都是屬於BOSS技能,詳細請見這裡,
留意的是舊格式需要設定其順序
新格式則不用