scp-fs2open / scp-fs2open/fs2open.github.com

FR: way to make AI turrets fire at particular point on ship. Subsystem flag?

Open
#7,101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
487
Forks
184
Avg merge
3d 9h
Merged PRs (30d)
44

Description

AI turrets (not sure about primary/secondary weapons) seem to be targeting the LOD0 mesh's 0,0,0 point/pivot point

Seen in this timestamped video
https://www.youtube.com/watch?v=KHrqA2no7Gc&t=77s

This is where the model centre (0,0,0) is located
Image

The model centre is placed there for specific ground vehicle-based script reasons but I can see this being an issue with oddly-shaped ships where the model centre doesn't correspond to the ship's hull.

One possible solution is to have a subsystem flag which has AI turret fire target it as a priority until it is destroyed. Also good for showing "targeted" attacks, Wrath of Khan-style against the Enterprise.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.