Space Engineers

Space Engineers

Formations Script (outdated)
 此主题已被置顶,因此可能具有重要性
Kinesi  [开发者] 2017 年 5 月 25 日 下午 11:42
Troubleshooting (Help)
If you're having trouble setting up or running the program, you can get help here. Please describe your problem and how you've gotten to it.
最后由 Kinesi 编辑于; 2017 年 5 月 25 日 下午 11:45
< >
正在显示第 1 - 15 条,共 39 条留言
geniusface1234 2017 年 6 月 7 日 下午 1:41 
after the update i ran the program and it says "DATA EXEMPT" and a string of numbers and commands
this is after trying to excecute the "C.Follow" command with 6 subordinate ships following 1 director ship
the full string (or what i can see of it) is as follows
"Running Director Method
30
DATA EXEMPT

0:23815,45355,86744:C.Follow:F.Wedge:(probably the coordinates of all of my subordinate ships):

Broadcasting
Secure
Package
Channel:
0

DroneCount:
6

Formation:
F.Wedge

Command:
C.Follow"
geniusface1234 2017 年 6 月 7 日 下午 2:05 
FOUND THE ISSUE:
the remote controls are set to Patrol by default and the script doesnt set them to One Way
must set to one way to make them work
Kinesi  [开发者] 2017 年 6 月 7 日 下午 2:35 
That's right. I accidently removed the automatic setting of the One Way. Also, the Data Exempt is happening because I no longer use the Storage string. I'll fix these things in the near future. Thanks.
geniusface1234 2017 年 6 月 7 日 下午 3:11 
welcome
Muttl3y 2017 年 9 月 23 日 上午 3:10 
Hi Kinesi.
First off let me thank you for sharing an awesome script.
I'm having a slight issue, my subordinates don't seem to travel in the direction they're suppsed to. It looks hilarious that they're flying upside down and sideways but I don't think that's what you intended for them to do. How does the script determine the direction of the ship? is it from the remote control like normal?
Kinesi  [开发者] 2017 年 9 月 23 日 下午 12:04 
@Muttl3y, yeah, the forward direction is determined by the forward direction or the remote control and the setting in the control panel.
Muttl3y 2017 年 9 月 24 日 下午 7:43 
Okay, Built a bigger drone, they seem to point in the right direction now but their rotation is rarely in line with the director. Also what's the max speed they're supposed to follow at? I keep losing them at anything over 20mps
Kinesi  [开发者] 2017 年 9 月 24 日 下午 10:07 
I suggest maximizing antenna range. Rotation is not syncronized in open space. Adding rotation syncroninity is not on my list.

Max speed is the max speed of the remote control, which currently can only go up to 100m/s.
Muttl3y 2017 年 9 月 27 日 上午 4:20 
Sorry, I should have phrased my question better. the subs only do about 25m/s max
Kinesi  [开发者] 2017 年 9 月 27 日 下午 10:18 
I understand. Autopilot will only go as fast as it can practically stop. Avoid hydrogen thrusters, and try to have as much reverse thrust as you have forward thrust.
Muttl3y 2017 年 9 月 28 日 下午 3:56 
Thats makes a lot of sense, I have only a few forward thrusters on my fighter designs because i use them like an aircraft; fast sweeping attacks. Thanks for your help!, I'll get redesigning asap.
Internetorian 2017 年 10 月 8 日 上午 9:55 
i don't know what is happening, i have subscribed to the script, however it doesn't appear in script-list in SE menu. (i am new to Space Engineers so i have no clue what to do about it) please help
Kinesi  [开发者] 2017 年 10 月 8 日 下午 1:41 
Like in the "Browse Workshop" button after you're in the PB? It should be there.
Grim 2017 年 10 月 8 日 下午 9:04 
i currently have the script on my large grid fleet, and they follow fine (sometimes sideways) but they seem to wanna run into each other but avoid me. i set thepublic double ControlFactor on each for the remote to shut off diferntly on each. 1 on 200m, another on 300m and so on. but my problem is they wont form up in the formation i set them too. these are the setting i set...

public bool IsDirector = false;// Set to either true or false depending if this ship is a director or not.
public string Channel = "0";// Channel for this unit. Match the channel up with other subordinates.
// Do not have 2+ directors on the same channel.
public string DefaultForm = "F.Line";// Default Formation for when the script runs after "Remember and Exit".
public string DefaultCommand = "C.Follow";// Default Command for when the script runs after "Remember and Exit".

//Director Config - Change these if this ship is a director.
public double Dist = 30; //Scaling factor for formations, base distance between points.
public int DroneCount = 8;//(AS DIRECTOR) Set to however many drones you want following.


//Subordinate Config - Change these if this ship is a Subordinate.
public bool AllowAttack = true; //Allow this subordinate to break formation to attack an enemy. Must have AI controlled turret.
public int DroneNum = 1; // Position number for this Subordinate; Use #1-X; Do not repeat.
public double ControlFactor = 200; //Distance in meters to target point for autopilot to shut off. Generally, use half the length of your ship.
// Small ship blocks are 0.5M, large blocks are 2M.
Kinesi  [开发者] 2017 年 10 月 8 日 下午 10:31 
See "Int DroneNum"; That number needs to be different between drones. 1 - whatever. It's the position they try to get to.

Also, the control factor should be a bit smaller (less than 100m), if you want them to be more accurate for getting to formation positions.

To fix the "going sideways" thing, get more reverse thrust (or less forward). Try to have it balanced.

Remember that formations are determined by the Director. Also know to set your Dist value to something larger than 30 if you're working with larger ships. (Only on the director)

Let me know if theres any other problems.
< >
正在显示第 1 - 15 条,共 39 条留言
每页显示数: 1530 50