- 声望
- 点
- 金币
- 枚
- 银币
- 枚
- 铜币
- 枚
- 注册时间
- 2008-8-29
- 最后登录
- 1970-1-1
|
(1)打开Homeworld2\Data下的Ship文件夹,拷贝其中的kpr_attackdroid文件夹,重命名为 hgn_attackdroid,同时重命名此文件夹里面的kpr_attackdroid.ship文件和 kpr_attackdroid.events文件为hgn_attackdroid.ship和hgn_attackdroid.events。并确定此文件夹放在ship文件夹下。
(2)打开hgn_attackdroid.ship文件,找到“LoadModel (NewShipType,1)”一行,并替换为“LoadSharedModel(NewShipType,"Kpr_Attackdroid")”把 NewShipType.UnitCapsFamily = "SinglePlayerMisc"改为NewShipType.UnitCapsFamily = "Fighter"
。
(3)增加下列代码到Homeworld2\Data\Ship\ICONS\shipicons文件中:
Hgn_AttackDroid = {
LargeIcon = {
texture = "DATA:\\Ship\\Icons\\icon_ships.mres",
textureUV_TL = {
600,
192,
},
textureUV_WH = {
150,
64,
},
stretchOnDraw = 1,
},
}
(4)增加下列代码到Homeworld2\Data\SCRIPTS\building and research\hiigaran\build文件中:
{
Type = Ship,
ThingToBuild = "Hgn_Attackdroid",
RequiredResearch = "",
RequiredShipSubSystems = "",
DisplayPriority = 40,
DisplayedName = "$1708",
Description = "$1709",
},
(5)增加下列代码到Homeworld2\Data\SCRIPTS\formations\hgn_mothership_parade文件中:
paradeSlot("Hgn_AttackDroid",{
-1290,
-400,
1557,
},{
0,
0,
1,
},{
-1,
0,
0,
},0)
(6)好了,现在可以造雄蜂战机了!占用的是战斗机人口。 |
|