- UID
- 1263286
- 主题
- 5
- 阅读权限
- 40
- 帖子
- 1222
- 精华
- 1
- 积分
- 912
- 金钱
- 11487
- 荣誉
- 10
- 人气
- 5
- 在线时间
- 5828 小时
- 评议
- 0
- 帖子
- 1222
- 精华
- 1
- 积分
- 912
- 金钱
- 11487
- 荣誉
- 10
- 人气
- 5
- 评议
- 0
|
其实本不想太早放出教程的,一是怕游戏改的面貌全非,二是怕大家改后失去游戏乐趣...
基于以上两点,非改党请直接无视这帖吧
1.首先说下文件结构吧
人物数据的调用
主要在Resources\下的 Profiles文件夹
后缀名为char即为人物调用文件,文件名以 兵种名.char 为格式
如 elves_sundancer.char 就是太阳舞者MM的调用文件
下面做详细解释:
打开后为:
//Unit Profile
//
id "elves_sundancer";
——————————————————兵种调用唯一标识id,与该文件名一致——————————————
unit_scene "resources\\characters\\elves\\sundancer\\character_elves_sundancer.scene";
unit_scene_lod "resources\characters\elves\sundancer\character_elves_sundancer_lod.scene",10;
ko_model "resources\\map_celtic_cross.g";
———————————游戏场景调用,模型调用,行为定义,装备代换等等(复杂,初改请无视)—————————————————————————
——————————————————————从此开始——————————————————————————
icon "resources\\characters\\elves\\sundancer\\icon_sundancer.t";
damage_icon "resources\\characters\\elves\\sundancer\\icon_sundancer_damage.t";
subicon "resources\\characters\\elves\\sundancer\\icon_sundancer_small.t";
damage_subicon "resources\\characters\\elves\\sundancer\\icon_sundancer_small_damage.t";
layout_icon "resources\\characters\\elves\\sundancer\\icon_sundancer_node.t";
capital_icon "resources\\characters\\elves\\sundancer\\icon_sundancer_capital.t";
dialog_icon "resources\\characters\\elves\\sundancer\\icon_sundancer_dialog.t";
leader_icon "resources\\characters\\elves\\sundancer\\icon_sundancer_ring.t";
select_icon "resources\\interface\\portrait_elves_battle_border_select.t";
aselect_icon "resources\\interface\\portrait_elves_battle_border_animated.t";
ap_icon "resources\\interface\\portrait_elves_ap_bar.t";
—————————————到此结束,为界面头像资源调用—————————————————————————
————————————————以下————————————————————————
fxproc "lighting";
fxscene "resources\\fx\\Arena_Spells\\elves\\sundancer\\fx_elves_sundancer_spell.scene";
fxcast "resources\\fx\\Attacks\\elves\\sundancer\\fx_elves_sundancer_cast.scene";
fxscene_ko "resources\\fx\\Arena_FX\\Death\\fx_die_elves.scene";
fxlevelup "Resources\\FX\\Arena_FX\\LevelUp\\fx_elves_levelup.scene";
centerbone "Spine1";
————————到此 为攻击施法动作定义及模型资源调用,渲染类型,骨架定义等等(也较复杂,初改无视)———————————————————————————————————————————————————————
——————————————————————————————————————————————
move_speed 2.5;
shadowbox -2.5, -0.5, -2.5, 2.5, 2, 2.5;
shadowz 5;
nodesx 1;
nodesz 1;
——————————————这一段为兵种速度定义,阴影等————————————————————————————————
————————————————————以下为重点————————————————————————————
#include "desc\\elves_sundancer_desc.char";
————————————————————————兵种描述文件调用,完全可以自创兵种了————————————
#include "sound\\elves_sundancer_sound.char";
————————————————兵种声音调用,MM一口老头大叔口音还是老爷爷叫出AV女声,随你—————————————————————————————
#include "stats\\elves_sundancer_stats.char";
—————————————————————最后是重中之重,兵种初始数据调用—————————————————————————————————————————————————
2.兵种数据调用:
Resources\Profiles\stats 下各文件,
后缀名也为char,文件名以 兵种名_stats.char 为格式
如elves_sundancer_stats 为太阳舞者MM的兵种初始数据文件:
下详,
打开后为:
//Char stats Profile for elves_sundancer
unit_class caster;——————————————兵种职业类型,战士还是其它———————————————————
unit_side "elves";—————————————————种族类型,人类,咀咒还是精灵———————————————
attack_type "divine";—————————————攻击属性,神圣(生命),火,水等等——————————————
level 22; ———————————————————初始等级———————————————————
side elves;
exp_base -2; —————————————————升级经验基准值,快慢等———————————————————
//stats
str 24;
int 50;
dex 46;
agi 45;
vit 23;
ini 10;—————————————————初始魔攻基准—————————————————————
def 3;——————————————————初始护甲值———————————————————————
——————————————————————初始属性值————————————————————————
action_point 1;
apmax 3;
apmax_worldmap 15;
atck_range 30;———————————————攻击范围—————————————————————
//resists
res_earth 10;
res_fire 65;
res_air 30;
res_water 10;
res_mind 0;
res_death 0;
—————————————————各种抗性—————————————————————
//Additional
skill "skill_buff_fire";——————————————技能“预告”,在此其实无法增加————————————————
healer 1;——————————————————————————————————————————————
atck_buff;
atck_all;
—————————————————以上三行说明为全体友方治疗————————————————————————
cost 2460;——————————————————兵种雇佣价格————————————————————
skill_grid "elves_sundancer";——————————————兵种技能组定义——————————————————
viewradius 10;—————————————————————————兵种视野———————————————————
//Modifi
DamStrMod ;
DamDexMod ;
DamIntMod 1.5;
DexMod 1.5;
AgiMod 1.5;
VitMod 30;
——————————以上为兵种升级数据,为最终叠加,如VitMod 30为每升一级加30HP————————————————————————————————————————————————————————————————————
3.技能组定义...
打字好累,下次再说吧
4.具体修改例子
请参考个人早期修改的【mod】【新兵种】吧: |
|