安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






thank you for your reply . and your request
This allows to see the limits of the script
= does not allow to turn "on" an off timer with a Vtimer by the program block
with custum data code
it was worth a try
@vtimer:60 <---- creates the virtual timer with 60 ticks delay
ActualTimer,OnOff_On <---- turns on the real timer
ActualTimer,TriggerNow <---- triggers the real timer
Your example is impossible since in there, an Off vtimer is trying to turn itself on which is impossible.
I would like the Program Block switch "on" the timer currently off : to activate it
And" trigger now " it
name of timer for exemple: vtimer
So i put your exemple in program data in PB
@vtimer:60
@vtimer:30:OnOff_On
@vtimer,TriggerNow
Argument PB setup = error message
So how to write correctly the data ?
just switch on the timer with Tick Timers
Thank you very much
I have a program that turns off the hover engines and all thrusters and changes the lighting configuration when you run "ParkMode", however after docking, the program only turns off the headlights and none of the engines or thrusters turn off. After undocking, it still needs to be re-setup.
I think it's related to groups, since the headlights aren't in a group and are called directly by name by the program.
invalid code detected 41
This makes halting a mechanism such as pressing an Emergency Stop, or slight mis-timings problematic.
I need to be able to tell it how fast to move, but let it decide which direction to move. If I set the velocity in the line above, it will most likely end up ramming into the ground if it's in the wrong position. If I just tell it to move to a position, then it just cranks the velocity to the extreme and has a high chance of crashing into something.
For example, allow me to specify the RPM / Velocity after the angle / position:
Hinge,RotateToAngle,90,1
Piston,AdjustToLength,2.5,1
Таймер_3,Start
@Таймер_2:60:OnOff_On
Сдвижная дверь Вход Лево 1 Exclude #Ignore,OnOff_Off
Сдвижная дверь Вход Право 1 Exclude #Ignore,OnOff_Off
Сдвижная дверь Вход Прямо 1 Exclude #Ignore,OnOff_Off
Сдвижная дверь Вход 1 Exclude #Ignore,Open_On
@Таймер_3:60:OnOff_On
Сенсор Вход Лево 1,OnOff_Off
Сенсор Вход Право 1,OnOff_Off
Сенсор Вход Прямо 1,OnOff_Off
Сдвижная дверь Вход Лево 1 Exclude #Ignore,Open_Off
Сдвижная дверь Вход Право 1 Exclude #Ignore,Open_Off
Сдвижная дверь Вход Прямо 1 Exclude #Ignore,Open_Off
Сдвижная дверь Вход 1 Exclude #Ignore,OnOff_On
Таймер_2,Start
Fantastic work nonetheless, thanks for making TickTimers!
Properties would be cool to support and I plan to do so in the near future. Thanks for the suggestion
I'm not familiar with Lua and this script is written to be as basic as I can get it (at least for me).
Regarding the question about the light, only actions are supported by this script, not properties. Intensity is a property. I might expand on supporting properties in the future whenever I find the time and motivation to update.
Hope this helps, cheers!
Exterior Light S1 03,Intensity,5
I'll check out if I can do something about this limitation. Cheers!
I am in the process of converting a rocket i have been working on from timer based to using this script! Super exciting =D
I do have one quick question for you, I have been able to setup v-timers that control basic things like tanks and landing gears with no issues. Where i am stuck is on program blocks, i cant for the life of me figure out the syntax to get this script to run another program block. For instance, during the ignition v-timer i would like to reach out and tell the auto-aligner script to start with a "go" command.
I guess my question is this: How do I have this script send a run command such as "go" to another program block?
Thanks! =D
One question - Is it possible to trigger action for blocks on the subgrid?