I really appreciate the Work you do Fastjack. Keep it coming and make COOP more challenging.


Fastjack wrote:The most problems with bots firing through vegetation on some maps (Lashkar excample) are the weapon.ai.
The weapons.ai telling the bots when they start to fire (distance) if they see a target, how close they walkup to the target in firingmode and what distance they stop walkup to the target and when shots getting more accurate.
If you play a map like Ramiel, the current weapon.ai isn"t a problem (as excample bots start firing at 200 meters). Its an open map with no woods (you can see from far distance the bots and the bots see you).
But ....
If you have the same weapon.ai on lashkar, bots also start to fire at a range at 200 meters but you aren"t able to shoot back because every 10 meters is a tree and bushes and you cannot see them.
Possible solution:
Create mapbased weapon.ai for coop based on shooting range.
Clone a weapon 3times and give Weapon.ai for 100meter, 150meter, 200meter (or other values, depends on ...)
Also, create kits with weapon.ai ranges for 100meter, 150 meters, 200 meters and add them to the layer. But is many work.
Or .... and better trick.
Every coop faction kit get his own weapons: AK47sp, M4A1sp etc. and all weapons having their own ai.template.
Dont integrate the new weapons.ai into the mod, put every used weapon.ai into the map, so you can adjust the values based on the map.
So you can have a M4A1sp_ai with firing range 300 meters on Ramiel and a M4A1sp_ai with a range of 80 meters on lashkar.

I will be there! Can't miss this!Jabil_One wrote:Be my guest,
Veterans-Gaming Coop Insurgency Testserver
5.9.23.136:16577
password: fastjack
Lashkar Insurgency https://www.dropbox.com/s/2om63kr5r8tlf ... y.zip?dl=0
Gaza Insurgency https://www.dropbox.com/s/ieltjzbavbpdr ... y.zip?dl=0
The next weekend, 6th/7th/8th octobre i want to make more tests with more people and other insurgency maps.
Code: Select all
# co-op
#
# $Id: gpm_coop.py 25716 2016-10-29 07:57:00Z prbot $
import coop
def init( ):
coop.init( )
def deinit( ):
coop.deinit( )
Code: Select all
import insurgency
def init( ):
insurgency.init( )
def deinit( ):
insurgency.deinit( )Code: Select all
# co-op
#
# $Id: gpm_coop.py 25716 2016-10-29 07:57:00Z prbot $
import coop
def init( ):
coop.init( )
def deinit( ):
coop.deinit( )
import insurgency
def init( ):
insurgency.init( )
def deinit( ):
insurgency.deinit( )Ok got it, will test it again right now.Jabil_One wrote:I'm sure you forgot to mount the insurgency pythonscript into the gpm_coop.py
\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr_edit\python\game\gamemodes
gpm_coop.py