Product Chat / Waypoints inside buildings

Author
Message
Timba
9
Years of Service
User Offline
Joined: 22nd Apr 2015
Location: Florida
Posted: 12th Aug 2015 16:24
Hi all. Maybe some cancel me and tell me what i'm doing wrong. I am able to place waypoints out side buildings and my npc follow them correctly. The problem i have is placing them indoor. I suspect is because my buildings have a floor to them and the npc can't register it but i have seen video of people doing indoor way points just fine. When i say floor i'm not talking about a second floor but Just a wooden based texture.
ASUS MAXIMUS VII HERO | Intel Core i7 4790k | 16 GB RAM | EVGA GTX 980 SC | 120GB SSD(OS) | 512GB SSD(Programs) | 1TB WD Black(Backups) | EVGA SuperNova 1000W G1
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 12th Aug 2015 16:48
make sure that forcesimpleobstacle = 3 is in the fpe files of the objects you are using for your buildings.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Timba
9
Years of Service
User Offline
Joined: 22nd Apr 2015
Location: Florida
Posted: 12th Aug 2015 20:45
thx. i will check that.
ASUS MAXIMUS VII HERO | Intel Core i7 4790k | 16 GB RAM | EVGA GTX 980 SC | 120GB SSD(OS) | 512GB SSD(Programs) | 1TB WD Black(Backups) | EVGA SuperNova 1000W G1
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 12th Aug 2015 20:58
In the metrics mode (tab tab) while in test game, slide the debug slider to 10. this will show you the collision boundaries.

AI needs a 4 foot opening to consider itself clear to pass. 8 ft tall.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

SoUlFaThEr
9
Years of Service
User Offline
Joined: 20th Jul 2015
Location:
Posted: 13th Aug 2015 00:21
I noticed the ai getting stuck on a lot of these open buildings that come with the GG program........they get stuck in coirners trying to B-line to you and dont go around them somehow.....thats without waypoints. I dont think putting waypoits in would help them out either if they are still aggroo
The only stupid questions are those that were never asked.
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Aug 2015 01:18
Can you take a screen shot with the debug on 10. Post it here please.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

SoUlFaThEr
9
Years of Service
User Offline
Joined: 20th Jul 2015
Location:
Posted: 13th Aug 2015 14:10 Edited at: 13th Aug 2015 14:11
[Robert DeNiro]" Are you talkin ta me?"[/Robert DeNiro]
The only stupid questions are those that were never asked.
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Aug 2015 14:27
Yes please.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

SoUlFaThEr
9
Years of Service
User Offline
Joined: 20th Jul 2015
Location:
Posted: 13th Aug 2015 14:40 Edited at: 13th Aug 2015 15:07
EDIT: It seems all those sandstone objects are already set to forcesimpleobstacle = 3, so my problem is legit.

This is a simple testmap.

snapshot35: the seem to have trouble getting through this hole....and get caught in the corner.
snapshot36: They never leave the house and just stand there.
snapshot37: better look at the house.
snapshot38: Same as snapshot35. There are multiple buildiungs with this door size and on all of them they either get stuck and stay there in a corner with their weapon sticking through the wall......or they actually get out if you position yourself correctly to assist them.
The only stupid questions are those that were never asked.

Attachments

Login to view attachments
PM
SoUlFaThEr
9
Years of Service
User Offline
Joined: 20th Jul 2015
Location:
Posted: 13th Aug 2015 15:32 Edited at: 13th Aug 2015 17:02
More with enemies

snapshot42: You can see thius is either want to go backwards due to the 2 lines running out the door.........or those are fom other enemies whink its a direct path to me.

snapshot43: in this one you see the guy navigating a path directly through that windowed wall at me around the sandbags. 2 other enemies have chosen the right path ...and you can see how many enemmies ive killed just standing here waiting for him to decide correctly.

snapshot 44: moving slightly forward 2 enemies chose a spot to move to so they could fire at me......this worked nice but blue dude is still stuck.

snapshot 47: a clear indication of what both of them are trying to do.......neither of them is actually able to shoot me strangley.

snapshot49: the same about a minuter later after kill another 4 - 6 wiser AI who found a correct path.

I hope this helps.
The only stupid questions are those that were never asked.

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Aug 2015 15:49 Edited at: 13th Aug 2015 16:00
Thank you.

Edit:
I will test out these building. These are stock ones? Look like it.

For now if you would like there is a way to shrink the character collision bubble, it is in the setup.ini file.
Close Game Guru and then open the setup.ini file in notepad.

Look for this line.
charactercapsulescale=100

Change it to

charactercapsulescale=80
Save the file and restart Game Guru.

See if they can get thru the doors now and not try and go thru the windows.

Let me know how this goes.
Thanks.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

SoUlFaThEr
9
Years of Service
User Offline
Joined: 20th Jul 2015
Location:
Posted: 13th Aug 2015 17:44 Edited at: 13th Aug 2015 17:46
No change with charactercapsulescale=80. I find it might need to be 1 or 2 to work with this particular model!..................The doorway behind them is very wide too.

Snapshot1: As you can see he still wants to go through that window. Tested: if the AI was able to duck, then jump forward, he could easily make it through that size of a windown because I was able to I this is generally possible because I worked for a good 2 years with AI programmers for the first Source engine on the famous PODbot. One of the great things about a A* navigation mesh using waypoints that have various flags. Thats a different story tho

Snapshot3: A short while later his buddy showed up coming through the wide door (you can see through the window on the left) with the intention of going through this window too. This spot also clearly has a collision boundary......bu looking closely.......theres actually a super thin slit there! If I reduced his bubble to 1 or 2 he might actually walk through that!

Snapshot6: They clearly path me on the inside of this building.........


Snapshot7: But not from the outside. This is the same building as the third from the left in my first post with screens. (5047)
The only stupid questions are those that were never asked.

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Aug 2015 18:34
Ok, but this thread has gotten way off the topic of 'way points inside the buildings'. As I dont see way points in any of the pictures.

The OP is not even responding on this thread anymore.

Make a thread in the bug reports section and copy this info over there. Totally different issue then what was posted originally.

Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

SoUlFaThEr
9
Years of Service
User Offline
Joined: 20th Jul 2015
Location:
Posted: 13th Aug 2015 19:18
My apologies.
I have already erased all the screens.
The only stupid questions are those that were never asked.
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Aug 2015 19:46
Just keeps things tidy and easy to find the issue. Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Login to post a reply

Server time is: 2024-11-25 09:21:35
Your offset time is: 2024-11-25 09:21:35