How do we allow units to move right through one another?

How do we allow units to move right through one another?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

How do we allow units to move right through one another?

Post by smoth »

Not just moving but straight up path through? say I have a unit that is a GHOST. Ghost wants to walk right on through shaggy and scooby do, how can ghost do this? Is the only way motion control?
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: How do we allow units to move right through one another?

Post by hokomoko »

Spring.SetUnitBlocking setting isSolidObjectCollidable to false?
raaar
Metal Factions Developer
Posts: 1095
Joined: 20 Feb 2010, 12:17

Re: How do we allow units to move right through one another?

Post by raaar »

unload them from a ship transport
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6243
Joined: 29 Apr 2005, 01:14

Re: How do we allow units to move right through one another?

Post by FLOZi »

raaar wrote:unload them from a ship transport
Is this bug on mantis yet? (Not having a go, it is known in S44 and MCL for some time also)
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How do we allow units to move right through one another?

Post by Silentwings »

I haven't tried to reproduce the bug, but there is the ticket https://springrts.com/mantis/view.php?id=4812
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: How do we allow units to move right through one another?

Post by smoth »

so can I or I can I not?
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: How do we allow units to move right through one another?

Post by Google_Frog »

I have never tried to make units move through another unit but I would expect that it is impossible.
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: How do we allow units to move right through one another?

Post by hokomoko »

hokomoko wrote:Spring.SetUnitBlocking setting isSolidObjectCollidable to false?
Have you tried this?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: How do we allow units to move right through one another?

Post by gajop »

hoko's suggestion should work, we used it for ground plates and other stuff in Gravitas successfully.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: How do we allow units to move right through one another?

Post by Google_Frog »

hokomoko wrote:
hokomoko wrote:Spring.SetUnitBlocking setting isSolidObjectCollidable to false?
Have you tried this?
I have used this with success to make all units able to walk through a structure. I don't know whether it would let all units walk through another unit. That was not the question though. I do not think it is possible to make one unit able to walk through everything (and have a ground move type) but it would still be worthwhile to test those functions.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: How do we allow units to move right through one another?

Post by smoth »

Hey cool, it worked!
Post Reply

Return to “Game Development”