midspace / midspace/Space-Engineers-Admin-script-mod

SpawnCargo ship command.

Open
#9 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
43
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Fake triggering a Cargo ship spawn.

Scan the SpawnGroups definitions, pick one at random. (They are not marked with IsEncounter)
Create the prefab. Add a AIpilot that defines the cargo characteristic.
Spawn the prefab at a set distance, rotation to player and speed.

Position, orientation and direction are key factors.
Ship will need to be reoriented in correct direction, not sure how Keen do it (apart from looking at Cockpit orientation?) LOL.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by scanning the SpawnGroups definitions and identify a group that is not marked with IsEncounter. Determine how the prefab, AIpilot cargo characteristic, spawn distance, rotation toward the player, and speed should be represented. Done means a cargo ship can be spawned with correct position, orientation, and direction.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.