找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 7671|回复: 10

剧变问题?

[复制链接]
发表于 2011-10-4 00:05:09 | 显示全部楼层 |阅读模式
我把剧变的生化兵提取在我的MOD里后并编译成功,进游戏没发现。各位位给我看看。 buildlog.rar (21.27 KB, 下载次数: 405)
RA3 MODSDK-X里的9选项全部选上了。


发表于 2011-10-4 06:28:27 | 显示全部楼层
大哥你有加建造列表么.
回复

使用道具 举报

发表于 2011-10-4 07:50:43 来自手机 | 显示全部楼层
本帖最后由 米格抛掷 于 2011-10-4 07:52 编辑

我想知道LZ的工程师加出来了么? 建造列表的设置,精品贴有很详细的介绍。
你加了一个单位,但是没有设置怎么造。
回复

使用道具 举报

 楼主| 发表于 2011-10-4 13:00:05 | 显示全部楼层
生化步兵Desolator.xml里引用
<Include type="all" source="DATA:mimixieyi/data/Desolator/LogicCommand.xml" />
<Include type="all" source="DATA:mimixieyi/data/Desolator/LogicCommandSet.xml" />

LogicCommand.xml里内容
<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset">
        <LogicCommand
                Type="UNIT_BUILD"
                id="Command_ConstructSovietDesolatorInfantry">
                <Object>SovietDesolatorInfantry</Object>
        </LogicCommand>
       
    <LogicCommand
        Type="SPECIAL_POWER"
        id="Command_ToggleDesolatorWeaponMode">
        <SpecialPower>SpecialPower_DesolatorWeaponMode</SpecialPower>
        <AISpecialPowerInfo
                Heuristic="TOGGLE"
                        Manager="MICRO_MANAGER">
        </AISpecialPowerInfo>
    </LogicCommand>
</AssetDeclaration>

LogicCommandSet.xml里的内容
<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset">
        <LogicCommandSet
                id="SovietDesolatorInfantryCommandSet">
                <Cmd>Command_ToggleDesolatorWeaponMode</Cmd>
                <Cmd>Command_AttackMove</Cmd>
                <Cmd>Command_MoveToPositionAndCollect</Cmd>
        </LogicCommandSet>
</AssetDeclaration>

生化步兵主文件的开头内容
<GameObject
                id="SovietDesolatorInfantry"
                inheritFrom="BaseInfantry"
                SelectPortrait="Portrait_SovietDesolatorTrooper"
                ButtonImage="Button_SovietDesolatorTrooper"
                Side="soviet"
                EditorSorting="UNIT"
                TransportSlotCount="1"
                BuildTime="15"
                SubGroupPriority="285"
                CommandSet="SovietDesolatorInfantryCommandSet"
                KindOf="SELECTABLE CAN_ATTACK CAN_CAST_REFLECTIONS INFANTRY SCORE T3_UNIT"
                RadarPriority="UNIT"
                WeaponCategory="BLAST"
                Description="Desc:SovietDesolatorInfantry"
                TypeDescription="Type:SovietDesolatorInfantry"
                EditorName="SovietDesolatorInfantry"
                UnitTypeIcon="DesolatorIcon"
                UnitIntro="Soviet_Desolator_UnitIntro"
                HealthBoxHeightOffset="40">
                <DisplayName
                        xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:SovietDesolatorInfantry</DisplayName>
                <GameDependency>
                       
                </GameDependency>
个位给咱好好检查检查看看那里出了毛病。
回复

使用道具 举报

 楼主| 发表于 2011-10-4 13:01:50 | 显示全部楼层
生化步兵Desolator.xml里引用
<Include type="all" source="DATA:mimixieyi/data/Desolator/LogicCommand.xml" />
<Include type="all" source="DATA:mimixieyi/data/Desolator/LogicCommandSet.xml" />

LogicCommand.xml里内容
<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset">
        <LogicCommand
                Type="UNIT_BUILD"
                id="Command_ConstructSovietDesolatorInfantry">
                <Object>SovietDesolatorInfantry</Object>
        </LogicCommand>
       
    <LogicCommand
        Type="SPECIAL_POWER"
        id="Command_ToggleDesolatorWeaponMode">
        <SpecialPower>SpecialPower_DesolatorWeaponMode</SpecialPower>
        <AISpecialPowerInfo
                Heuristic="TOGGLE"
                        Manager="MICRO_MANAGER">
        </AISpecialPowerInfo>
    </LogicCommand>
</AssetDeclaration>

LogicCommandSet.xml里的内容
<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset">
        <LogicCommandSet
                id="SovietDesolatorInfantryCommandSet">
                <Cmd>Command_ToggleDesolatorWeaponMode</Cmd>
                <Cmd>Command_AttackMove</Cmd>
                <Cmd>Command_MoveToPositionAndCollect</Cmd>
        </LogicCommandSet>
</AssetDeclaration>

生化步兵主文件的开头内容
<GameObject
                id="SovietDesolatorInfantry"
                inheritFrom="BaseInfantry"
                SelectPortrait="Portrait_SovietDesolatorTrooper"
                ButtonImage="Button_SovietDesolatorTrooper"
                Side="soviet"
                EditorSorting="UNIT"
                TransportSlotCount="1"
                BuildTime="15"
                SubGroupPriority="285"
                CommandSet="SovietDesolatorInfantryCommandSet"
                KindOf="SELECTABLE CAN_ATTACK CAN_CAST_REFLECTIONS INFANTRY SCORE T3_UNIT"
                RadarPriority="UNIT"
                WeaponCategory="BLAST"
                Description="Desc:SovietDesolatorInfantry"
                TypeDescription="Type:SovietDesolatorInfantry"
                EditorName="SovietDesolatorInfantry"
                UnitTypeIcon="DesolatorIcon"
                UnitIntro="Soviet_Desolator_UnitIntro"
                HealthBoxHeightOffset="40">
                <DisplayName
                        xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:SovietDesolatorInfantry</DisplayName>
                <GameDependency>
                       
                </GameDependency>
个位给咱好好检查检查看看那里出了毛病。
回米格抛掷的话工程师加出来了。
回复

使用道具 举报

发表于 2011-10-4 13:38:32 | 显示全部楼层
你准备哪个兵营造生化兵?没有看到任何兵营的LogicCommandSet,自然不会建造
回复

使用道具 举报

 楼主| 发表于 2011-10-4 15:25:38 | 显示全部楼层
不好意思我没加载LogicCommandSet,我加载后进游戏生化步兵可以造出来,但点选生化步兵时,没选择图像与建造图像,全变为粉红色的方框。
SelectPortrait="Portrait_SovietDesolatorTrooper"
ButtonImage="Button_SovietDesolatorTrooper"
关于图像部分在Art里如何弄。是不是必须有固定目录。
回复

使用道具 举报

发表于 2011-10-4 16:10:04 | 显示全部楼层
顺风飞扬 发表于 2011-10-4 15:25
不好意思我没加载LogicCommandSet,我加载后进游戏生化步兵可以造出来,但点选生化步兵时,没选择图像与建 ...

我想说搜索功能是干什么用的.
回复

使用道具 举报

发表于 2011-10-4 17:37:39 来自手机 | 显示全部楼层
art文件夹,被你删了么?common文件夹的图片设置,被你删了么?
回复

使用道具 举报

 楼主| 发表于 2011-10-4 23:35:52 | 显示全部楼层
Texture.xml里没引用Art/Common的图标。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|管理员邮箱|红警DIY论坛 |网站地图

GMT+8, 2026-8-28 01:02 , Processed in 0.054017 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表