Aetheria/Assets/Scripts/Gameplay
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens a5fd8f1d1d Let the player target and mark neutrals, and fix the HUD lock direction
TargetReticle, TargetNext and TargetPrevious now consider all visible
entities except self (hostile and neutral), not just VisibleEnemies, so a
neutral wanderer can be selected. TargetNearest stays enemies-only (it drives
weapon lock) but now picks the nearest target: it was using MaxBy, which
picked the farthest.

Adds a "Toggle Stance" input action (bound to the N key; report names which)
that flips the player's own stance on the current target between hostile and
neutral via Entity.SetIff -- one button for the whole affordance, per the
operator's request. Also keeps the "iff hostile"/"iff neutral"/"iff clear"
console commands next to the existing ones, since they cost nothing extra
alongside the hotkey.

Fixes the HUD lock indicator's hostility check, which read
Target.IsHostileTo(CurrentEntity) instead of CurrentEntity.IsHostileTo(Target)
-- the same backwards direction as LockWeapon, fixed in the prior commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 14:01:15 +02:00
..
Weapons Delete AetheriaMath in favour of CultMath 2026-09-14 18:02:41 +02:00
ActionBarSlot.cs Replace the Database Tools with the Studio and cut Unity over 2026-09-14 19:15:20 +02:00
ActionBarSlot.cs.meta Action Bar (WIP) 2021-04-18 05:13:20 +01:00
ActionGameManager.cs Let the player target and mark neutrals, and fix the HUD lock direction 2026-09-17 14:01:15 +02:00
ActionGameManager.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
ArticulationPoint.cs Swap Unity.Mathematics usings for CultMath 2026-09-14 17:39:12 +02:00
ArticulationPoint.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
EntityInstance.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
EntityInstance.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
FieldDriver.cs Replace the Database Tools with the Studio and cut Unity over 2026-09-14 19:15:20 +02:00
FieldDriver.cs.meta Shields 2025-01-30 01:58:05 +00:00
GameSettings.cs Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
GameSettings.cs.meta Misc. Improvements 2021-01-27 16:14:41 +00:00
GridObject.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
GridObject.cs.meta Loot 2021-04-15 04:25:22 +01:00
HullCollider.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
HullCollider.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
ItemPickup.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
ItemPickup.cs.meta Loot 2021-04-15 04:25:22 +01:00
RadiatorHardpoint.cs Heat System v2 + Lasers 2021-01-27 00:05:30 +00:00
RadiatorHardpoint.cs.meta Heat System v2 + Lasers 2021-01-27 00:05:30 +00:00
ShieldAnimation.cs Loot 2021-04-15 04:25:22 +01:00
ShieldAnimation.cs.meta Loot 2021-04-15 04:25:22 +01:00
ShieldManager.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
ShieldManager.cs.meta Loot 2021-04-15 04:25:22 +01:00
ShieldTest.cs Swap Unity.Mathematics usings for CultMath 2026-09-14 17:39:12 +02:00
ShieldTest.cs.meta Loot 2021-04-15 04:25:22 +01:00
ShipInstance.cs Convert engine types through CultMath.UnityBridge 2026-09-14 17:47:33 +02:00
ShipInstance.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
ThrusterHardpoint.cs Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
ThrusterHardpoint.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
TimedDestroy.cs Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
TimedDestroy.cs.meta Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
TractorBeam.cs Restore the stable legacy Unity project 2026-08-10 14:57:50 +01:00
TractorBeam.cs.meta Loot 2021-04-15 04:25:22 +01:00
WeaponHardpoint.cs Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
WeaponHardpoint.cs.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00
Weapons.meta Weapon Scripting Overhaul 2021-01-25 05:53:36 +00:00