It is currently Thu May 01, 2025 5:34 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 50 List provided by EpocDotFr | Players online 138


All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri May 04, 2012 9:45 am 
Offline

Joined: Tue May 01, 2012 8:54 pm
Posts: 18
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!


Last edited by 352ndEl on Tue May 15, 2012 11:20 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri May 04, 2012 11:00 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
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.


Top
 Profile  
 
PostPosted: Fri May 04, 2012 10:38 pm 
Offline

Joined: Tue May 01, 2012 8:54 pm
Posts: 18
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?


Top
 Profile  
 
PostPosted: Sat May 05, 2012 9:47 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
None of the features I was suggesting exists yet.


Top
 Profile  
 
PostPosted: Tue May 15, 2012 11:24 pm 
Offline

Joined: Tue May 01, 2012 8:54 pm
Posts: 18
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. :)


Top
 Profile  
 
PostPosted: Wed May 16, 2012 8:07 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
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? :)


Top
 Profile  
 
PostPosted: Wed May 16, 2012 10:37 pm 
Offline

Joined: Mon Jun 27, 2011 6:41 pm
Posts: 192
Perhaps it's time for some science?

_________________
Ozymandias, King of kings, God of Caves, Wizard.


Top
 Profile  
 
PostPosted: Thu May 17, 2012 10:44 pm 
Offline

Joined: Tue May 01, 2012 8:54 pm
Posts: 18
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.


Top
 Profile  
 
PostPosted: Thu May 17, 2012 11:23 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
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.


Top
 Profile  
 
PostPosted: Fri May 18, 2012 3:31 am 
Offline
User avatar

Joined: Wed Jan 18, 2012 3:19 am
Posts: 567
Location: The States
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!

_________________
ComJak's house... stay out of it


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group