scp-fs2open / scp-fs2open/fs2open.github.com
FR: way to make AI turrets fire at particular point on ship. Subsystem flag?
- Vorherrschende Sprache
- C++
- Sterne
- 487
- Forks
- 184
- Ø Merge
- 3 T. 8 Std.
- Gemergte PRs (30 T.)
- 45
Beschreibung
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
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne mit dem Video mit Zeitstempel und bestätige, ob AI turrets auf den Ursprung des LOD0-Modells zielen. Eine vollständige Änderung würde einen abgestimmten Zielmechanismus erfordern, etwa ein priorisiertes Subsystem-Flag, sowie eine Möglichkeit zu überprüfen, dass das Turret-Feuer auf den ausgewählten Punkt zielt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- game-dev
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100