Questions tagged [rts]

Real-Time Strategy. A game played live (ie not in a turn-based structure), where the objective is to build a base and conquer other bases.

Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

GGPO / peer to peer winstate

How do games using GGPO (or maybe peer to peer in general) like Guilty Gear determine a winner? Just reporting a winner consensus might work with many independent players per lobby, but in e.g. a 1v1 ...
user avatar
1 vote
1 answer
39 views

Do we need an ackowledgment packet in deterministic TCP multiplayer game?

I am trying to implement a deterministic game after having read 1500 archers on a 28.8. The simulation uses fixed-point math and the client only sends commands to the server which sends back the ...
user avatar
  • 123
1 vote
1 answer
71 views

Network mechanism for an RTS multiplayer game

I'm writing a real time strategy game in Rust. In this game each player controls one of two armies facing off on a battle zone. To better understand the gameplay, my project is an open source version ...
user avatar
  • 125
0 votes
1 answer
57 views

How to calculate distance for A* when searching a path on navmesh?

I've read a couple of articles on Navmesh+A* navigation. So, I'm trying to implement a pathfinding for an RTS type of game. However, it seems I don't understand how to calculate a distance for A* when ...
user avatar
3 votes
1 answer
91 views

Approximating off-screen action efficiently in a simulation game?

I have a character building constructs all over a pretty large map. My game blends elements of RTS and fast paced action in a room-based environment where players can only see one room at a time. I ...
user avatar
  • 143
1 vote
2 answers
192 views

How to handle "identity" of unit/building types within an RTS context?

TL; DR: How do I give unit and building types a unique "identity" without turning my codebase into a mess? I've been reading the genius Game Programing Patterns and it's made me very (...
user avatar
2 votes
1 answer
62 views

Space out units to a grid pattern

So imagine an RTS game, with ~150 units all cramped together, just staying chill. What I would like is to "space them out" so that they d form a grid. This is useful for example when a large ...
user avatar
  • 121
1 vote
1 answer
89 views

How could I simulate projectile collision agaisnt RTS units with primitive colliders?

For example, humans are easy they are just capsules. But for cavalry, an arrow could hit the horse or the rider. Right now cavalry are also capsule colliders for unit-unit collision, but for ...
user avatar
4 votes
2 answers
437 views

How can I create the arriving/ engaging in combat movement like in StarCraft 2?

I currently have two armies (smaller scale) crashing into each other. They will usually form a line of units fighting. I have no idea how to handle a unit coming from behind the line to properly go ...
user avatar
0 votes
0 answers
100 views

How can I improve the current enemy spawning system for my strategy game

I'm currently making an RTS game for mobile where mini battles would take place on tiny battlegrounds. The problem is that currently the player is spawning its units based on a currency system, ...
user avatar
0 votes
0 answers
83 views

How to have RTS units move along un-even terrain?

My current world is a flat 2D plane. I want to make the terrain 3D, like hills, bumps, etc. If I tell a unit to go to a position (x, y) in 2D, how do I make sure ...
user avatar
0 votes
1 answer
49 views

How to assign an index to different node clusters? (for pathfinding)

Hellow~ So for a bit of context: i'm currently working on a RTS (way above may league) which already has a level editor and a node grid which maps the terrain, i previously make a navigation system ...
user avatar
0 votes
0 answers
139 views

Client/Server state synchronization for RTS

How can I perform state synchronization using client/server networking in an RTS similar to Starcraft 2 and Planetary Annihilation? I'm assuming the server has to do some sort of rewinding time to ...
user avatar
  • 762
2 votes
1 answer
246 views

Handling complex selection mechanics in RTS-style game

When we look at complex RTSs where a simple left button mouse click can mean twenty or more different things, depending on the game and UI state, the code handling this interaction and assigning the ...
user avatar
0 votes
2 answers
676 views

How do I control multiple Pawns without possesing them (RTS style)?

I am making a multiplayer RTS but I have a problem controlling spawned units (let's call them Vessels), specifically moving them around with AI MoveTo bp. Vessels ...
user avatar
0 votes
0 answers
75 views

Proper way to handle timers at scale

At scale for multi-users, what is the proper way to implement timer updates? I'm making a game where Users have buildings to upgrade which involve timers (Yes I know there are plenty of questions ...
user avatar
  • 1
1 vote
1 answer
107 views

AoE 2 DE - Modding a building to have two page interface

I am using Advanced Genie Editor and currently trying to create a copy of a Krepost and give it a second page of units (like the docks). I have so far been unable to do it as the second page just ...
user avatar
7 votes
5 answers
379 views

How can I make sure all army compositions are counterable in an RTS game?

Most RTS games I played have some kind of rock-paper-scissors system that ensure that there is no single best unit you can mass and win with all the time. However this breaks down when players start ...
user avatar
  • 641
6 votes
5 answers
507 views

Force new players to play tutorial?

We have released our new game to a closed alpha group. It's a browser-based MMO RTS, however some aspects of the game are slightly different from the "standards" you'd expect to see in traditional RTS'...
user avatar
  • 309
2 votes
0 answers
200 views

Structure for a strategy game

I am making a strategy game like Age of Empires. It's a pretty big project and I need a clear game structure. I have defined a Game_Object class with variables ...
user avatar
1 vote
0 answers
39 views

RTS camera acceleration

I have an RTS game with a camera that can be controlled by either edge-pan, gamepad analog stick or keyboard buttons (WASD). The speed and snappiness are good for the general case, but sometimes feels ...
user avatar
  • 841
0 votes
0 answers
284 views

Rendering detailed martian terrain for an RTS

I am trying to develop a RTS game that has: Various planets Each planet topology could vary between chock full of craters, to smooth hills and mountains planets In sum each "biome" should be unique-...
user avatar
7 votes
9 answers
5k views

Help resolve territory acquisition design difference of opinion in MMO RTS

TL;DR: My business partner and I disagree about how to implement "territory acquisition" in an MMO RTS we are close to (alpha) launching: My view: Small squares (5m edge) that get larger as you "...
user avatar
  • 309
0 votes
1 answer
275 views

Unity Items not being removed from list

So I finally perfected my RTS multiple movement. The situation is that the game objects are added into a list in a script bound to the camera called UnitController ...
user avatar
  • 27
0 votes
1 answer
270 views

Unity RTS Multiple Selection Approacah

I've recently solved the single selection problem but now I want to do multiple selections. I know I need to find two points with the mouse position to draw a box but it just won't work for me. ...
user avatar
  • 27
0 votes
1 answer
141 views

Unity RTS Single Selection Problem

I am trying to build an RTS game and I have managed to form a way to select a unit using Raycast and the tag system. I made it so that if the object the ray falls onto is of tag "TankUnit" Make so and ...
user avatar
  • 27
1 vote
1 answer
123 views

How should I update object movement on Client in a lockstep game?

I have a game that I am implementing a lockstep system for multiplayer on an RTS game. Now the server sends update packets at a higher frequency than the clients with new data. What I'm stuck on ...
user avatar
  • 209
4 votes
5 answers
2k views

Should damage calculation in a competitive multiplayer game be done client-sided or server-sided?

I'm interested in creating a moba style game like League of Legends and need help with a situation. More exactly: I have an item that gives the player 50 Attack Damage or an ability that does 50 ...
user avatar
2 votes
1 answer
190 views

RTS game: How to handle disconnects in a fully connected peer to peer architecture?

I'm currently working on a game in which I am considering implementing a networking architecture as described in this article: http://www.gamasutra.com/view/feature/131503/...
user avatar
  • 113
27 votes
8 answers
8k views

Minimum Viable Product for RTS game?

I'm in pre-production on a strategy game and am trying to determine if the core gameplay will be fun. A good technique to determine this is to strip the game down to its minimum viable product (MVP) ...
user avatar
  • 426
2 votes
3 answers
669 views

RTS Attack Formation

If i select a group of units and send them somewhere i form them like the following; If i select them and order an attack, i want three things to happen: High range units should keep the distance ...
user avatar
  • 21
4 votes
3 answers
608 views

RTS Unit AI: When to let the unit stop (due to local avoidence)

I am developing an RTS-like game, that have units that move and attack. I implemented path-finding and local-avoidance. One problem is when multiple units being ordered to the exact same position, ...
user avatar
  • 41
9 votes
2 answers
3k views

RTS pathfinding

I'm doing my first RTS game (something like WarCraft 2) in own game engine using Monogame for graphics. I am wondering how can I implement pathfinding for a selected group of units. Movement is tile-...
user avatar
  • 217
17 votes
11 answers
6k views

Fair combat system for new players on RTS game

I'm working on an idea/concept for a multiplayer game that I want to develop after my functional analysis but I'm still thinking of a way to implement a proper, fair combat system between new and ...
user avatar
0 votes
1 answer
215 views

how to sync clients and local avoidance in mobile RTS game?

I have been making mobile RTS game in Unity look like Clash Royale similarly. Unfortunately, I faced to two big problems. First is two phones(clients) to be synchronized each other in game state. ...
user avatar
  • 3
5 votes
2 answers
2k views

Fix my Flow Field pathfinding

I'm developing prototype of Tower Defense/RTS game and I've implemented simple Flow Field grid. Here is the example (link). How to use example: First click on S50, this will spawn additional units, ...
user avatar
  • 173
1 vote
0 answers
48 views

How can I reproduce the physics that we can see in Dawn of Titans?

I'm working on a hobby RTS project and I want to implement collision physics between soldiers like in the mobile game Dawn of Titans. Here is a video reference https://youtu.be/Fnpot2NeJl8?t=341 How ...
user avatar
  • 140
6 votes
1 answer
169 views

Group path following

A path is defined as a list of positions for units to follow sequentially to navigate terrain. For example, ...
user avatar
  • 2,031
1 vote
2 answers
468 views

Balance an RTS to make a unit twice as good

I am modifying an RTS game (Rise of Nations) and want to make a unit twice as good and expensive as it's previous version so the balance is unaffected. When I try to do it, I assumed that if I ...
user avatar
  • 1,240
2 votes
1 answer
666 views

Game AI architecture for a RTS game

I am developing a RTS (real-time strategy) game involving robber and cops. I have designed a simple rule based AI system for the robber. Goals of the robber AI: Escape from the cops (robber should ...
user avatar
49 votes
17 answers
11k views

How to create an RTS gameplay experience where all phases of a match are equally engaging without spikes in required concentration?

In games such as Starcraft Brood War, players at the start of the game don't have as much to do compared to later on when they have to manage multiple battles and multiple bases at once. This means at ...
user avatar
0 votes
0 answers
1k views

RTS Networking in Unity: Client-Server vs. Lockstep

I am trying to make a RTS game in Unity, and I've got a few non-networked features working and so I want to start working on the multiplayer aspect so I don't dig myself into too deep a hole with ...
user avatar
  • 283
0 votes
1 answer
1k views

How to handle collision when using sprites in a 3d environment in Unity?

In games like AoE2, they've used sprites for the buildings and they've handled the collisions very well. How would I achieve something like that in Unity? Currently, I've tried using box colliders ...
user avatar
6 votes
3 answers
886 views

RTS Balancing for Units with Different Costs

I am creating a space-based RTS. So far, we have three units: Fighters (cost 5 resources) Interceptors (cost 20) Rocket Ships (cost 40). I've designed this game in a Rock-Paper-Scissors format (...
user avatar
2 votes
1 answer
114 views

Selecting objects

I'm having some conceptual difficulties understanding an efficient and clean way to implement multiple object selection behaviour in game. Think of an RTS in which you can select different kinds of ...
user avatar
0 votes
0 answers
66 views

A* move to excact position, if close, otherwise approach

I'm using the A* project from http://arongranberg.com/ and have this annoying problem, that I'm incapable of solving. When walking to a destination, I want my units to just get close to the waypoints ...
user avatar
-1 votes
1 answer
150 views

How to smooth viewport panning when using minimap (in typical RTS)?

Let's take typical modern RTS game which features a large map (say 256x256 tiles). There's also a minimap in the GUI, typically up to 256x256 pixels in size. (Let's take these numbers for upcoming ...
user avatar
  • 10k
1 vote
1 answer
116 views

Networking in a strategy, city management game

I'm developing a city management mobile game with its' share of multiplayer elements (leaderboards, achievements, social interactions). It's built using Unity and GameSparks as a backend. I'm a little ...
user avatar
  • 35
1 vote
1 answer
429 views

Simple Line Formation

I'm working on the first formation for my game's troops. These should simply stand on land, facing the same direction. To achieve this, I tried to create offsets towards a pivot-unit, that is ...
user avatar
0 votes
1 answer
259 views

Get closest Child to cursor

I'm currently rewoking my RTS cover system. This should highlight the closest coverspots from my mouse cursor and sent the units to these locations. everything works, but I can't get the closest sport,...
user avatar