Demetri on 25/7/2025 at 23:37
I'm looking to have a couple of fish swimming around in a small pond for my FM however I can't seem to find clear instructions on how to set them up in DromEd to act appropriately (for fish). Schwaa's documentation with the packs doesn't really give me much guidance so I'm turning to the community for help.
vfig on 26/7/2025 at 03:08
you basically have two options: make them elevators, or make them AIs.
elevators: you will need to make a path for the fish to follow by placing a bunch of TerrPts and creating TPath links from each one to the next, setting the Speed and (if you want) Pause on each link. you could make one complicated interwoven path that all the fish follow, or multiple paths one for each fish. each fish will need a TPathInit link to the point where it starts, and needs to have Physics>Misc>MovingTerrain: True. each fish will need to have OBB type collision (required for MovingTerrain objects), and should probably also have collision disabled to avoid getting stuck on other fish or on the player, with Physics>Misc>Collision Type set to None (i.e. untick everything).
AIs: make an archetype AI for the fish. give it AI>AI Core>AI: Elemental. AI>AI Core>Movement max speed 1.5 (tweak as you like). AI>Ability Settings>Combat Non-hostile: Always. AI>AI Core>Team: Neutral. AI>Ability Settings>Investigation Style: Don't Investigate. so that the fish can "walk" underwater, add AI>Utility>Path Water: True, and in the Editors>Mission Variables>AI Path options, turn on Pathable Water (will take effect next time you rebuild pathfinding). to keep the fish off the bottom of the water, add AI>AI Core>Movement z offset: 2.0 (tweak as you like; different values for different fish will make them swim at different heights). all that will let the fish move around, but they wont yet have any reason to. so you should make patrol paths for them as you would for any other AI. you could define a path for them to swim, or you could give them AI>Ability Settings>Patrol Random sequence: True so they just swim to a randomly chosen point in the entire path each time they move.