Sydeny Posted 2004年9月27日 09:03 分享 Posted 2004年9月27日 09:03 最近把几幅单机图改成了联机图。但有一个问题:盟军和德军的出生点是固定的,并不因为出生点附近有人而改变出生的位置。我想把出生点设置成象TDM第七张图(阿尔及尔)那样,当有人入侵到对方的出生点后,双方的出生点发生了互换。 我在.SCR中加入以下代码: local.allied = spawn info_player_allied origin "-473 -992 445" angle 90 local.axis = spawn info_player_axis origin "3001 3973 296" angle -90 local.deathmatch = spawn info_player_deathmatch origin "370 3932 347" angle 42 以上三行代码都设置了多个坐标。 是不是必须在双方出生点设置一个trigger,再定义一个半径,然后写一些代码进去? 请问如何设置? 引用 Link to comment Share on other sites More sharing options...
S-22 Posted 2004年9月27日 10:20 分享 Posted 2004年9月27日 10:20 最近把几幅单机图改成了联机图。但有一个问题:盟军和德军的出生点是固定的,并不因为出生点附近有人而改变出生的位置。我想把出生点设置成象TDM第七张图(阿尔及尔)那样,当有人入侵到对方的出生点后,双方的出生点发生了互换。 我在.SCR中加入以下代码: local.allied = spawn info_player_allied origin "-473 -992 445" angle 90 local.axis = spawn info_player_axis origin "3001 3973 296" angle -90 local.deathmatch = spawn info_player_deathmatch origin "370 3932 347" angle 42 以上三行代码都设置了多个坐标。 是不是必须在双方出生点设置一个trigger,再定义一个半径,然后写一些代码进去? 请问如何设置? 出生点互换的话直接把游戏模式设置成 Round Base Match,即模式3就行了。 引用 Link to comment Share on other sites More sharing options...
Sydeny Posted 2004年9月27日 10:56 Author 分享 Posted 2004年9月27日 10:56 那我试试................. 引用 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.