RUNNING WITH RIFLES http://www.runningwithrifles.com/phpBB3/ |
|
"Clip" entity for AI and players? http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=6&t=427 |
Page 1 of 1 |
Author: | 352ndEl [ Fri May 04, 2012 9:45 am ] |
Post subject: | "Clip" entity for AI and players? |
Hi, I am currently work on a map for RWR and I would like to suggest possibly adding in a way to keep Players and the AI from entering certain areas, or portions of the map. I want to add a river through the center of a city in the map I'm working on, but I am finding that the AI loves to hop over the stone wall running along the river bank and go for a swim. As the river is really just a cosmetic feature in the map it would be nice if I had a way to keep them out of there. Thanks! |
Author: | pasik [ Fri May 04, 2012 11:00 am ] |
Post subject: | Re: "No Clip" entity for AI and players? |
A feature is coming that the AI would know to stay out of water and look for bridges or other ways to get around it. I assume that would be enough for your case as well. Other option could be that the stone wall you have would be made unclimbable, which is not possible currently though, unless you make it tall enough which is probably not what you want. This would be the easiest feature to add. Yet another option is an invisible wall which you would use to surround the water area, but that can be pretty nasty as the human players would just run against it until they'd realize it's not passable. |
Author: | 352ndEl [ Fri May 04, 2012 10:38 pm ] |
Post subject: | Re: "No Clip" entity for AI and players? |
Yes, that feature sounds like just the ticket! I am curious how would I add an invisable wall though, and would that only work on human players or for the AI as well? |
Author: | pasik [ Sat May 05, 2012 9:47 am ] |
Post subject: | Re: "No Clip" entity for AI and players? |
None of the features I was suggesting exists yet. |
Author: | 352ndEl [ Tue May 15, 2012 11:24 pm ] |
Post subject: | Re: "Clip" entity for AI and players? |
It looks like you can already do what I wanted in the game using a rectangle with "boundry" set in the ID field of its object properties. Works just like a clip brush would. ![]() |
Author: | pasik [ Wed May 16, 2012 8:07 am ] |
Post subject: | Re: "Clip" entity for AI and players? |
352ndEl wrote: It looks like you can already do what I wanted in the game using a rectangle with "boundry" set in the ID field of its object properties. Works just like a clip brush would. ![]() AI probably don't know how to circle around it, or does it? If it circles around a single piece of boundary, it definitely can't handle overlapping boundaries well, or am I wrong in that too? ![]() |
Author: | OzyThesage [ Wed May 16, 2012 10:37 pm ] |
Post subject: | Re: "Clip" entity for AI and players? |
Perhaps it's time for some science? |
Author: | 352ndEl [ Thu May 17, 2012 10:44 pm ] |
Post subject: | Re: "Clip" entity for AI and players? |
The AI handles the additional boundary quite well actually! Now I would like to say that I'm not just ploping down invisable walls everywhere. It's being used sparingly and for a specific purpose in my map. I'll be happy to go into more detail once the map is released within the next day or so. |
Author: | pasik [ Thu May 17, 2012 11:23 pm ] |
Post subject: | Re: "Clip" entity for AI and players? |
Now that I'm closer to the source code, it would seem that the AI does indeed handle boundary objects as any other box, so going around one should work. It also seems that they won't see through the boundary, so they won't try to shoot through it I believe. However, the contour intersection stuff is not applied on boundary objects, so the AI wouldn't know how to go around something made of overlapping boundary objects. |
Author: | ComJak [ Fri May 18, 2012 3:31 am ] |
Post subject: | Re: "Clip" entity for AI and players? |
352ndEl wrote: The AI handles the additional boundary quite well actually! Now I would like to say that I'm not just ploping down invisable walls everywhere. It's being used sparingly and for a specific purpose in my map. I'll be happy to go into more detail once the map is released within the next day or so. yes please release new maps, I'm dying to try out custom maps! |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |