Captain Joined: 1/8/2017(UTC) Posts: 78
Was thanked: 4 time(s) in 4 post(s)
|
Has anyone noticed that when you spawn a building using world builder your units can just go straight through? I'm having some trouble, some of my maps, I have some civilian buildings and oil derricks that spawn whenever destroyed, but the problem is, units can go straight through them AND shoot through them, any idea how to stop this or use some technique?
I'm currently trying 2 things but not happy. Make the land beneath impassable but this has 2 problems, units can still shoot through them and if it's a garrisonable building then they don't always garrison due to the impassable squares being to big. I also tried putting a building below 0, this is good but then you can select the building itself so you would know something is there...
Any thoughts and help guys?
|
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
Well , Don't you think I didn't get it but plz Explain what you want once again (because I didn't get it) |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
Captain Joined: 1/8/2017(UTC) Posts: 78
Was thanked: 4 time(s) in 4 post(s)
|
Lol, the top part was what I had a problem with, the rest is explanantion-ish.
If I put a script to spawn a grass hut or oil or China command centre etc, a building. They spawn but my units can walk through the buildings and even shoot through them. Anyway to stop this?
|
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
I don't know . In my own map I used Spawn Buildings but never had such a exprience ... Are you sure you set 'Z' "hight" to your Ground's ? It's usually '10' for unmodified Ground Edited by user Wednesday, October 11, 2017 9:42:20 PM(UTC)
| Reason: Not specified |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
Captain Joined: 1/8/2017(UTC) Posts: 78
Was thanked: 4 time(s) in 4 post(s)
|
I have tried spawning with no height and by setting a height, below and above the ground. My friend had this problem years ago on a no money map he made, made an oil spawn every few minutes but you could go through it and shoot through it. Edited by user Thursday, October 12, 2017 3:00:24 AM(UTC)
| Reason: Not specified
|
|
|
|
Private Joined: 10/11/2017(UTC) Posts: 4
Was thanked: 1 time(s) in 1 post(s)
|
If I remember correctly, the building has no collision box when you spawn it with an orientation. Try spawning it with the script that doesn't include setting the objects orientation. |
vtulcobra here |
|
|
|
Colonel Joined: 10/13/2008(UTC) Posts: 782
Thanks: 7 times Was thanked: 201 time(s) in 147 post(s)
|
Vauxe is correct. As far as I remember, spawning them on a waypoint will work as intended. Spawning them on coordinates will cause the behaviour you described. You could make the area where you want to spawn them impassable by hand (with the texture tool). But I guess units will then still be able to shoot through them.
|
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
I usually Set the Building right where I want , then copy the Coordinates , rotation , and ... then Spawn the Building ... Never by a waypoint |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
Captain Joined: 1/8/2017(UTC) Posts: 78
Was thanked: 4 time(s) in 4 post(s)
|
OK so I tried all 4 but still failed :(
Named unit, team, position, orientation Named unit, team, waypoint Unnamed unit, team, waypoint Spawn Unit
My units still travel through lol...
Thanks to everyone that has been helping so far. I could do impassable but yea units can shoot through, I usually take out the debris from the first building which has been destroyed. Only solution I can think of for now is to have the building lower into the ground so you can only get in from one side.
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.