- UID
- 735
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
本帖最后由 kgvboys 于 2016-3-7 20:59 编辑
RT:X3 AP 星系地图坐标数据哪里有?
每次新档探索星图真的够辛苦,试了下内部脚本编辑器调用来看星图,没有 成功,有谁知道怎么用,主要是没有星系的坐标数据。
除了官方奖励包,没安装过其他脚本,不想有脚本冲突和各种BUG,有谁还会知道获取星图的其他方法没?知道的请分享下,谢谢!
如下是我的调用代码,只是看了有个 X3阿呆脚本 的一些基本命令用途的教程,没有编程基础,大家别笑话
$Sec.Now=[这个] -> get sector
$Size.Sec.x=get max sectors in x direction
$Size.Sec.y=get max sectors in y direction
$Count.Sec.x=$Size.Sec.x
$Count.Sec.y=$Size.Sec.y
$Count.min.x=0
$Count.Min.y=0
while$Count.Sec.x > 0
$Sec.Now=get sector from universe index: x=$Count.Sec.x, y=$Count.Sec.y
$Discover.Sec=$Sec.Now -> is sector known by the player
$Sec.visiable=$Sec.Now -> is sector visible
$Gate.N=$Sec.Now -> get north warp gate
$Sec=$Sec.Now -> is known
$sate=先进卫星
$Satellite=create special: type=$sate addto=$Sec.Now x=0 y=0 z=0
$Satellite ->set owner race to Player
@ $timer=wait 2000 ms
$Satellite ->destroy object: killer=无效的, show no explosion=无效的
dec $Count.Sec.x=
while$Count.Min.y < $Count.Sec.y
$Sec.Now=get sector from universe index: x=$Count.Sec.x, y=$Count.Min.y
$Discover.Sec=$Sec.Now -> is sector known by the player
$Sec.visiable=$Sec.Now -> is sector visible
$Gate.N=$Sec.Now -> get north warp gate
$Sec=$Sec.Now -> is known
$sate=先进卫星
$Satellite=create special: type=$sate addto=$Sec.Now x=0 y=0 z=0
$Satellite ->set owner race to Player
@ $timer=wait 2000 ms
$Satellite ->destroy object: killer=无效的, show no explosion=无效的
inc $Count.Min.y=
end
$Count.Min.y=0
end
|
|