Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I was hoping that I could run this in paralel with your SCAM script and just have a base with automated mining and combat drones which would be very cool.
Thrusters are not required.
1. Updated script to 0.9.97
2. Created 3 timers. Named them Timer [fire], Timer [cease] and Timer [ref].
3. Added all those timers to group hd-coax. (Tried using [hd-coax] but it causes errors on the script).
4. Recompiled the PB and ran command:clear-defs
5. Added actions for fire and cease timers. For Timer [fire] I added the action coaxial-weapons shoot on. For Timer [cease] I added coaxial-weapons shoot off. I left Timer [ref] as it is.
6. Testing - Added hostiles and issued attack commands.
[hd-coax] is a group tag not the group name. From building guide:
'heavy dakka [hd-coax][ripple][v=500][r=1000][fwO=2][d=5]'
Not sure about errors. Maybe because you didn't have the group name to be tagged and just made a group from a combination of tags only?
'You can add two timers and tag them [fire] and [ceise]. The code would trigger appropriate timer when it needs to start or stop firing. You should tag one of them [ref] to be used as bore reference.'
You don't need 3 timers. 2 is enough, and one of them should be ref. Otherwise, ref would be picked randomly from one of those two.
For reference, because I'm still testing things I'm using your default drone replaced the script with your updated one. My aim is to have the coaxial-weapons group to fire when the code triggers when it needs to start or stop firing. So I have to setup the action for Timer 1 [fire] right? So I setup the coaxial-weapons shoot on for Timer 1 [fire] but the weapons still won't fire.
You make a group 'some unique name [hd-coax][v=500][r=1000]'.
Place a timer named 'Timer [fire][ref]'.
Place a timer named 'Timer [cease]'.
Add both timers to the group.
Done.
The second timer would be triggered when the code decides to stop firing.
During design time, I strongly suggest reading the PB screen log.
Alright what I was confused about was the tag. Didn't know I should combine the tag [fire] and [ref] in 1 timer block. So I followed this example, my group is Timer [hd-coax][v=500][r=1000] and under this group are Timer [fire][ref] and Timer [cease]. Recompiled and ran command:clear-defs, issued an attack command but coaxial-weapons group still not firing. Btw, I noticed that the Timer [fire][ref] is always toggled off. Is that suppose to behave like that?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2901725542
Just take it and let's finish this.
Thank you cheerkin for your time, effort and patience regarding this.