- UID
- 47463
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
发表于 2015-2-4 11:10:18
|
显示全部楼层
本帖最后由 ramonliu 于 2015-2-7 22:33 编辑
嗯... 不錯用, 寫的很用心, 不過有些問題...
目前我的版本是 3.2, 戰役模式, 平台取得武器後, 存檔離開.
利用修改器把5個槽塞入武器後儲存, 再載入至遊戲裡...
此時畫面中會有個三角鐵版擋住... @@"
後來看了一下儲存檔, 我不知重生用的格式是不是 XML
而基本上 XML 語法是
1: <xxx> ... </xxx>
2: <xxx />
這2種模式組合, 然後修改器會加了一止無效的 tag... 我貼一下, 您應該看的懂...
有問題的:
- <connection connection="conn_primaryweapon_mg">
- <component class="playerweapon" macro="weapon_player_machinegun_mk1_macro" connection="shipconnection01" ammunition="-1" targetseen="0" id="[0x2d7]">
- <launched/>
- <connections/>
- </component>
- </connection>
- <connection connection="conn_primaryweapon_plasma">
- <component class="playerweapon" macro="weapon_player_plasma_mk1_macro" connection="shipconnection01" ammunition="-1" targetseen="0" id="[0xcf64]">
- <launched/>
- <connections/>
- </component>
- </connection>
- <connection connection="conn_primaryweapon_shotgun">
- <component class="playerweapon" macro="weapon_player_shotgun_mk1_macro" connection="shipconnection01" ammunition="-1" targetseen="0" id="[0xb279]">
- <launched/>
- <connections/>
- </component>
- </connection>
- </connections>
复制代码
被我修正後:
- <connection connection="conn_primaryweapon_mg">
- <component class="playerweapon" macro="weapon_player_machinegun_mk3_macro" connection="shipconnection01" ammunition="-1" targetseen="0" id="[0x6194]">
- <offset>
- <position x="-3.294" y="-0.1191" z="-2.88"/>
- </offset>
- <shootcontroller class="playerprimary" shooter="[0x6194]" starttime="15161.643" angle="0.0872665"/>
- <connections/>
- </component>
- </connection>
- <connection connection="conn_primaryweapon_plasma">
- <component class="playerweapon" macro="weapon_player_plasma_mk2_macro" connection="shipconnection01" ammunition="-1" targetseen="0" id="[0xc8b5]">
- <offset>
- <position x="-3.294" y="-0.1191" z="-2.88"/>
- </offset>
- <shootcontroller class="playerprimary" shooter="[0xc8b5]" starttime="15161.643" angle="0.0872665"/>
- <connections/>
- </component>
- </connection>
- <connection connection="conn_primaryweapon_shotgun">
- <component class="playerweapon" macro="weapon_player_shotgun_mk2_macro" connection="shipconnection01" ammunition="-1" targetseen="0" id="[0xd5c1]">
- <offset>
- <position x="-3.294" y="-0.1191" z="-2.88"/>
- </offset>
- <shootcontroller class="playerprimary" shooter="[0xd5c1]" starttime="15161.643" angle="0.0872665"/>
- <connections/>
- </component>
- </connection>
复制代码
有了 offset 就不會有鐵三角板在中間了, 而 shootcontroller 有了才可發射,
只是亂玩亂試
提供給您參考, 希望下一版會更好 XD |
|