潜猎者5策略文件与优化.pdfVIP

  • 0
  • 0
  • 约2.47千字
  • 约 4页
  • 2026-01-21 发布于北京
  • 举报

所有这些*.aix文件()包含策略。这些策略用于文件:

_

“waypoints.txt”和“crewcommands.txt”,位于目录“

_

SilentHunter5\data\Submarine\NSSUboat7c”中。

到目前为止,这里的所有文件都是以其包含令命名的。

___

(例如:“setspeed.aix”包含针对命令“setspeedee”和

__

“setspeedde”的策略。)

策略被设置为文件“waypoints.txt”中正确航点的可能操作。

___

(例如:“sschiefeng”,来自文件“setspeed.aix”,被设置

_

为航点“CRCHIEF”的可能操作。)

函数调用——从这些/策略中可以调用的函数数量有限:

杂项函数:

Wp:yAnimationAndWait‑动画并等待其完成。

Wp:yAnimation‑动画并被视为已完成。

Wp:ScriptCompleted–必须在策略的最后一行调用。它标记策

略的结束。如果不调用,则此策略将无限期地被调用,直到被中断。

功能(目前所有功能都不需要参数,因为它们将

保留初始调用的参数):

Allthese*.aixfi(scripts)containstrategies.Thestrategiesare

usedinthefi:“waypoints.txt”and“crew_commands.txt”,locatedin

directory“SilentHunter5\data\Submarine\NSS_Uboat7c”.

Untilnowallfiherearenamedbythecommandthattheycontain

strategiesfor.(EX:“set_speed.aix”containsstrategiesforcommands

“set_speed_ee”and“set_speed_de”).

Thestrategiesaresetaspossibleactionsontherightfullwaypointsin

file“waypoints.txt”.(EX:“ss_chief_eng”,fromfile“set_speed.aix”is

setasapossibleactiononwaypoint“CR_CHIEF”.)

Functionscalls–therearealimitedamountoffunctionsthatcanbe

calledfromthesescripts/strategies:

Miscellaneousfunctions:

Wp:yAnimationAndWait-ysaanimationsandwaitsforitto

complete.

Wp:yAnimation-ysaanimationsandisconsideredasfinished.

Wp:ScriptCompleted–hastobecalledatthelastlineofthestrategy.It

markstheendofthestrategy.Ifit’snotcalledthenthisstrategywillbe

calledinfinitel

文档评论(0)

1亿VIP精品文档

相关文档