New Official Bohemia Interactive have been moved to a new address: http://forums.bistudio.com/.
This old forum has been switched to read only status and will be removed soon.
For Registered users: please, pay attention to this User Account Recovery manual which will help you reactivate your original user account at the new official forums engine. See you there!

Forum rules

» Welcome Guest
[ Log In :: Register ]

Pages: (12) < [1] 2 3 4 5 6 ... >

[ Track this topic :: Email this topic :: Print this topic ]

Topic: Durg's Vegetation Fix, AI no longer "see through trees".< Next Oldest | Next Newest >

durg78 Offline

..



Group: Members
Posts: 37
Joined: May 2007
Posted: Nov. 05 2007,02:11

Durg's Vegetation Fix
The purpose of this mod is to fix the AI's ability to "see through trees/bushes".  There has been much debate on these forums
on this topic.  The AI's vision is indeed blocked by vegetation, however not very well.  While their vision is blocked,
it's not blocked in the same way that our vision is.  This following images should clearify things a bit.

This image shows the tree "str lipa" as we see it in game.

This is the same tree as the AI see it. This is the tree's View Geometry.


I have modified the View Geometry to better match how we see the trees.


To further show the difference, the following images show the two different View Geometry's superimposed over the textured tree.

Here you can see poor coverage of the top, left and right sides of the tree, while the bottom is slightly over covered.

Here you can see a more accurate coverage.  While it's not perfect, it is a major improvement.


Not all (but most) vegetation have been fixed in this way, as some had a fairly decent View Geometry already. Grass has not been modified.
Results
Performance: Amazingly, there is no noticable impact on performance.
Gameplay: You can now use trees and bushes as cover without worrying if the AI can see you when they shouldn't be able to.


Installation
1) Open the .rar file and copy the "@DurgsVegetationFix" folder to your ArmA directory.
2) Go to the ArmA\@DurgsVegetationFix\tools directory and run the Durgs_Vegetation_Fix.bat file.
3) Add -mod=@DurgsVegetationFix to your ArmA shortcut OR use the Kegetys ArmA Launcher.

This procedure does NOT modify/replace your existing plants.pbo.



To make this mod work with Kegety's LowPlants
NOTE: When I make a reference to the "ArmA" folder, I'm refering to the folder where ArmA is installed.  If you have the Atari version, this would be C:\Program Files\Atari\ArmA
(assuming you installed to your C: drive)

1) If you've already installed lowplants, then delete the Arma\lowplants folder.

2) Install Durg's Vegetation Fix (Refer to the installation instructions above)

3) You will now install lowplants. However, when it asks for the location of your ArmA directory, choose ArmA\@DurgsVegetationFix
This will create the following directory structure:
ArmA\@DurgsVegetationFix\lowplants\addons

4) Copy the 2 pbo's in that folder to ArmA\@DurgsVegetationFix\Addons
When asked if you want to overwrite the existing plants.pbo choose yes
NOTE: This does NOT overwrite the original game's plants.pbo!!

5) Delete the ArmA\@DurgsVegetationFix\lowplants folder

6) ENJOY! :D

Download
Download from:

FileFront
Armed Assault Zone


Edited by durg78 on Nov. 06 2007,05:37

--------------
Mods I've worked on:
Chammy's Sound Mod -- View Status


Iraq Modern Warfare Mod


TrueRangeAI


Durg's Vegetation Fix
Back to top
Profile PM 

Manzilla Offline

..



Group: Members
Posts: 1941
Joined: May 2007
Posted: Nov. 05 2007,02:13

Alright. Checking it now

--------------
:pistols: :yay: ( God damn Banana!!! )
Throwing phonebooks to little old ladies in need since 2009 :tup: (Hey, I help when I can)
Back to top
Profile PM 

-Duke- Offline

..



Group: Members
Posts: 157
Joined: Dec. 2006
Posted: Nov. 05 2007,02:22

Loox great but I do have a question, is this only SP compatible?

Edited by -Duke- on Nov. 05 2007,02:22

--------------
Lifesupporters.com: Your online personal support forum for issues affecting children to adults.
Back to top
Profile PM WEB 

william1 Offline

Member



Group: Members
Posts: 1290
Joined: Oct. 2005
Posted: Nov. 05 2007,02:23

most interesting  :tup:
Back to top
Profile PM 

durg78 Offline

..



Group: Members
Posts: 37
Joined: May 2007
Posted: Nov. 05 2007,02:33

Quote (-Duke- @ Nov. 04 2007,19:22)
Loox great but I do have a question, is this only SP compatible?

According to the rules of Locality.  In a MP scenario, this mod will effect ALL AI with the exception of the AI that are under the command of a client who is not running the mod.

If both Server and all Clients run this mod, then there is no problem.

If A client runs this mod, but the server is not, then any AI under this player's command are effected by the mod (while others are not).   This can be considered cheating, so Please don't do this.


--------------
Mods I've worked on:
Chammy's Sound Mod -- View Status


Iraq Modern Warfare Mod


TrueRangeAI


Durg's Vegetation Fix
Back to top
Profile PM 

durg78 Offline

..



Group: Members
Posts: 37
Joined: May 2007
Posted: Nov. 05 2007,02:57

To further demonstrate the changes (and how bad some of these trees were), here are a few more comparison pics.
Tree: hrusen2



Before

After

Tree:jablon



Before

After


--------------
Mods I've worked on:
Chammy's Sound Mod -- View Status


Iraq Modern Warfare Mod


TrueRangeAI


Durg's Vegetation Fix
Back to top
Profile PM 

Snake Man Offline

Member



Group: Members
Posts: 678
Joined: Nov. 2001
Posted: Nov. 05 2007,02:58

I'm interested to know in more details how did you create/edit the objects?

--------------
Forum now open for new user registrations, join up!

PMC Editing Wiki for the hardcore developers.

PMC Tactical. OFP, ArmA, ArmA 2 and Falcon 4
http://tactical.nekromantix.com/
Snake Man, PMC.
Back to top
Profile PM WEB 

rowdied Offline

..



Group: Members
Posts: 178
Joined: Nov. 2003
Posted: Nov. 05 2007,03:58

Will this work with Kegetys lowplant addon?
Excellent work by the way.
Back to top
Profile PM 

Dwarden Offline

Arma/OFP Fan



Group: Moderator
Posts: 2599
Joined: Mar. 2002
Posted: Nov. 05 2007,04:02

another gem ... early xmas  :yay:

(...for server side AI this is nice way to go ...)

Quote (rowdied @ Nov. 05 2007,04:58)
Will this work with Kegetys lowplant addon?
Excellent work by the way.


they replacing same files so i guess answer is no ...


Edited by Dwarden on Nov. 05 2007,04:10

--------------
RealTimeChat about ArmA2 in Your browser
I support
*** ~20 millions users on STEAM,GamersGate& Impulse& GameTap are waiting for ArmA & ArmA2! *** Discuss ArmA2@IRCjoin #ArmA2@irc.GameSurge.net *** ArmA2 SteamCommunityGroup ***
Back to top
Profile PM ICQ MSN 

LeftSkidLow Offline

..



Group: Members
Posts: 187
Joined: Nov. 2006
Posted: Nov. 05 2007,04:17

AHHH! So that means I have to choose between better FPS or better gameplay, how could I ever make a decision?
Back to top
Profile PM 

ArmaVidz Offline

..



Group: Members
Posts: 1186
Joined: April 2007
Posted: Nov. 05 2007,04:27

right on congrats

--------------
 
Latest Trailer Advanced Combat Environment - Juliet One Four (Cinematic Trailer) YOUTUBE
Advanced Combat Environment - Juliet One Four (Cinematic Trailer) - VIMEO
Mr. Murrays Editing Guide Deluxe Edition
Back to top
Profile PM 

Dwarden Offline

Arma/OFP Fan



Group: Moderator
Posts: 2599
Joined: Mar. 2002
Posted: Nov. 05 2007,04:43

Quote (LeftSkidLow @ Nov. 05 2007,05:17)
AHHH! So that means I have to choose between better FPS or better gameplay, how could I ever make a decision?

just pray for addon makers cooperation :)

--------------
RealTimeChat about ArmA2 in Your browser
I support
*** ~20 millions users on STEAM,GamersGate& Impulse& GameTap are waiting for ArmA & ArmA2! *** Discuss ArmA2@IRCjoin #ArmA2@irc.GameSurge.net *** ArmA2 SteamCommunityGroup ***
Back to top
Profile PM ICQ MSN 

wolfsblut_ Offline

..



Group: Members
Posts: 325
Joined: April 2007
Posted: Nov. 05 2007,04:47

Quote (durg78 @ Nov. 05 2007,02:57)
To further demonstrate the changes (and how bad some of these trees were), here are a few more comparison pics.
Tree: hrusen2

Godamn ... so helpfull to get realistic sneak-feelings also against the AI.

But c'mon, it must be fair. You should not block the free sight at the tree-border. So i prefer smaller block-squares at the tree-edges.  

Nevertheless this is a beautiful fix.


Edited by wolfsblut_ on Nov. 05 2007,04:50
Back to top
Profile PM 

Sevan Offline

..



Group: Members
Posts: 277
Joined: May 2007
Posted: Nov. 05 2007,05:10

very nice!:tup:  I'm really like the recent batch of mods being released.

Too bad it does not work with lowplants.


--------------
"EVGA GeForce 8800GTS 320MB
Intel Core 2 Duo E6600
Vista 32-bit
MSI P6N SLI-FI LGA 775 NVIDIA nForce 650i
2GB DDR2800 RAM
500W 38amp"
Back to top
Profile PM 

-=[Rocco]=- Offline

..



Group: Members
Posts: 235
Joined: July 2007
Posted: Nov. 05 2007,09:08

Is it confirmed that it doesn't work with Kegetys? Would be a huge downside. Another problem are the edges of the tree, the ai doesnt seem to see you, even though your half body is visible.

--------------
"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones." - Albert Einstein
__

ACE Mod! 

AC Island Pack
Back to top
Profile PM 
167 replies since Nov. 05 2007,02:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (12) < [1] 2 3 4 5 6 ... >