RoosterDragon 92b3dde789 When pathing, prefer optimal paths over short distances.
The default path weight of 125% allows paths up to 25% longer than the optimal path to be returned, which improves the performance of path searches.

Over short distances, players are likely to be sensitive to suboptimal paths this can produce, so instead use a weight of 100% over short distances to ensure these paths are optimal. As the search area is limited, the additional performance impact is also capped. The hierarchical path finder already has a speculative check for short paths within a 20 cell area (twice the grid size of 10 cells), which allows it to skip a hierarchical search if a path within that area can be found. We can piggy back on this short path logic and use a weight of 100%.

Over longer distances, players are less likely to notice the suboptimal paths, and the performance benefit is more noticeable, so continue to use the 125% weight in these scenarios.
2025-05-10 16:18:52 +03:00
2025-05-09 16:28:04 +03:00
2025-03-04 09:22:04 +02:00
2025-04-02 10:18:32 +03:00
2025-01-07 18:07:13 +02:00
2016-01-24 10:58:31 +01:00
2025-01-18 13:34:26 +02:00
2024-06-03 10:25:06 +02:00
2024-06-03 10:25:06 +02:00
2024-06-03 10:25:06 +02:00
2024-06-03 10:25:06 +02:00
2023-04-15 12:50:06 +02:00
2025-01-07 18:07:13 +02:00
2025-01-07 18:07:13 +02:00
2017-06-29 16:56:21 +02:00
2024-10-20 16:56:04 +03:00
2025-01-07 18:07:13 +02:00
2021-11-08 14:41:34 +01:00
2023-10-10 17:40:47 +03:00
2025-01-07 18:07:13 +02:00
2017-06-04 13:21:27 +02:00

OpenRA

A Libre/Free Real Time Strategy game engine supporting early Westwood classics.

Please read the FAQ in our Wiki and report problems at https://github.com/OpenRA/OpenRA/issues.

Join the Forum for discussion.

Play

Distributed mods include a reimagining of

  • Command & Conquer: Red Alert
  • Command & Conquer: Tiberian Dawn
  • Dune 2000

EA has not endorsed and does not support this product.

Check our Playing the Game Guide to win multiplayer matches.

Contribute

Mapping

  • We offer a Mapping Tutorial as you can change gameplay drastically with custom rules.
  • For scripted mission have a look at the Lua API.
  • If you want to share your maps with the community, upload them at the OpenRA Resource Center.

Modding

Support

  • Sponsor a mirror server if you have some bandwidth to spare.
  • You can immediately set up a Dedicated Game Server.

License

Copyright (c) OpenRA Developers and Contributors This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For more information, see COPYING.

Description
No description provided
Readme 243 MiB
Languages
C# 79.3%
Lua 16%
Fluent 3.1%
Shell 0.6%
Objective-C 0.2%
Other 0.5%