Welcome Guest ( Log In | Register )

infantry maxSlope, inclines, and stairs, for bots (and humans)
post May 25 2007, 04:17 PM
Post #1

Classic Rock? no.. classic BF2

Group: Soldiers
Posts: 2,497
Joined: 28-June 04
From: USA
Member No.: 262

Does anyone know which orientation and units DICE is using for:
aiPathfinding.map.maxSlope ##

What I mean units, is it in degrees? Or a percentage?

I normally use for infantry aiPathfinding.map.maxSlope 38 and adjust as needed. But is this less of an incline than 45 degrees or more of an incline? Depends on the orientation and units DICE used. Anyway to verify this? Because I've seen bots climb very steep hills (ground material).

dalian - aiPathfinding.map.maxSlope 37
daqing - aiPathfinding.map.maxSlope 37
dv - aiPathfinding.map.maxSlope 37
fushe - aiPathfinding.map.maxSlope 37
oman - aiPathfinding.map.maxSlope 40
cleansweep - aiPathfinding.map.maxSlope 36
sharqi - aiPathfinding.map.maxSlope 43
songhua - aiPathfinding.map.maxSlope 42

karkand - rem Set slope so that it includes the 3 steep stairs down to the lower platform
aiPathfinding.setActiveMap Infantry
aiPathfinding.map.maxSlope 43

zatar - aiPathfinding.map.maxSlope 30

Any idea what is the steepest smooth grade a soldier can walk? How about angle of stairs?


~Keith "Korben Dallas"
Go to the top of the page
+Quote Post
Start new topic
Replies (1 - 2)
post May 26 2007, 04:21 PM
Post #2


Group: Soldiers
Posts: 205
Joined: 18-June 05
Member No.: 672

The max slopes is in degrees. The angle is for each polygon in the navmesh measured between the XZ-plane and the plane that that polygon is in. If the angle for a polygon is higher than the max slope admits, that polygon is considered to be invalid and will be removed from the final navmesh. The same angle is applied for all materials, this includes stairs.

Certain high angle polygons can be saved if they are lower than a certain threshold. This is there to for instance allow bots to cross from a street to the sidewalk. This fact can be used if one have a few very steep stairs but must have a lower angle at other places in the map. By modeling the AI mesh for the stairs to look like, well, stairs the threshold override will kick in and save the stairs.

Note that a 45 degree angle for a slope is really steep, and that most people have a tendency to overestimate slope inclinations.
Go to the top of the page
+Quote Post
post May 26 2007, 06:32 PM
Post #3

Monkey Magic

Group: Soldiers
Posts: 1,484
Joined: 7-January 05
From: New Zealand
Member No.: 468

very useful info Outsider smile.gif and its a pleasure to see you dropping in again to see us biggrin.gif


The distance between insanity and genius is measured only in success
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th September 2017 - 04:23 PM