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技能,详细请见这里,
留意的是旧格式需要设定其顺序
新格式则不用