|
本帖最后由 lanshad 于 2011-1-6 12:43 编辑
效果图
三个文件分别为:bandit.lom frostwyrm.lom jiana.lom
.lom文件放X:\Program Files\Eagle Dynamics\LockOn Flaming Cliffs 2\Bazar\World\Shapes
贴图文件放X:\Program Files\Eagle Dynamics\LockOn Flaming Cliffs 2\Bazar\TempTextures
1、在E:\Program Files\Eagle Dynamics\LockOn Flaming Cliffs 2\Bazar\StructTable.sht中添加:
shape
{
file = "bandit"; //模型文件名
desrt = "block_d";
vis = 50;
life = 300;
classname = "lFort";
fire = { 60, 2};
username = "Bandit"; //名称
positioning = "BY_XZ";
index = 903; //索引编号
}
2、在LockOn Flaming Cliffs 2\Scripts\Database\db_units_ground.lua中加入定义代码:
(GUID,可以用guidgen]生成)
fortification("{D62545DC-6C43-4e5c-A7DF-721A1DBBBE01}", "bandit", _("bandit"), "bandit",100);
fortification("{3A5B6E5A-9E96-462b-B6F0-49B7F239B83A}", "frostwyrm", _("frostwyrm"), "frostwyrm",100);
fortification("{EE370D35-DB6A-4e8b-868F-5776C279196B}", "jiana", _("jiana"), "jiana",100);
3、在LockOn Flaming Cliffs 2\Scripts\Database\db_countries.lua中将该物体加入拥有的国家:
cnt_unit("{D62545DC-6C43-4e5c-A7DF-721A1DBBBE01}", "bandit"),
cnt_unit("{3A5B6E5A-9E96-462b-B6F0-49B7F239B83A}", "frostwyrm"),
cnt_unit("{EE370D35-DB6A-4e8b-868F-5776C279196B}", "jiana"),
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
评分
-
1
查看全部评分
-
|