Questions on recompiling project, setting maxspeed

Questions on recompiling project, setting maxspeed

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
alik83
Posts: 82
Joined: 08 Sep 2004, 15:32

Questions on recompiling project, setting maxspeed

Post by alik83 »

1)How can I make Visual Studio rebuild the project by recompiling only the files I changed, and not recompile all the project's files? It should be quite simple but I couldn't make VC do it...

2)I tried many ways to change the unit's maxSpeed, but changing the maxSpeed variable in MoveType or GrounfMoveType didn't work.
I was able to change unit's speeds by tweaking some variables in groundMoveType but that was not very usefull for what I'm trying to accomplish which is (it's needed to be implemented a long time):

Make a way for a group of units to stay close when moving by leveling their maxSpeed/acceleration and also maybe "waiting" for each other (keep the max distance between neighbour units)

Any idea how to code that?
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Make a way for a group of units to stay close when moving by leveling their maxSpeed/acceleration and also maybe "waiting" for each other (keep the max distance between neighbour units)
Doesn't the simple formation group AI do that already?
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Questions on recompiling project, setting maxspeed

Post by Gnomre »

alik83 wrote:1)How can I make Visual Studio rebuild the project by recompiling only the files I changed, and not recompile all the project's files? It should be quite simple but I couldn't make VC do it...
Use Build instead of Rebuild.
Post Reply

Return to “Engine”