project reality header
Go Back   Project Reality Forums > Developer Blogs > Arab
27 Jul 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links

Rate this Entry
Working Smoke Grenades against bots
Posted in: Features
Posted 2018-09-23 at 02:55 by Arab



Update 10/11/19: Due to a series of misunderstandings and lack of communication to the original author, this feature has been falsely credited under ArmourRus. The real creator of this feature is MaxPV1981 (MaxP). Apologies to MaxPV1981 for any trouble caused. -[R-DEV]Arab


Hello all!

Today I'm proud to announce that smoke grenades will finally make a come back in COOP!

The reason why they were taken out is because they never worked against bots. They were able to see through them, making cover useless. This has been a problem in Battlefield 2 since it's release, and therefore many servers opted to prohibit using smoke grenades against bots.

...Until now.

So I am pleased to say that all smoke grenades will now properly against bots!

So some history. Originally, the first attempt to make it work was by SatNav in the BF2SP Community, a talented veteran BF2 modder who has contributed a lot of knowledge and helped many out in modding the BF2 Engine and modding in general. The concept was to spawn a particle of a invisible sphere Collision Mesh whenever the weapon fired but it only worked in local/offline, not in an online environment.

Modders have been trying to make this work in an MP modding to no avail, until a modder called MaxPV1981 managed to achieve this seemingly impossible feat!

Special Thanks and Credits to MaxPV1981, the original author who manage to make this work online and refined the system further who is the developer behind AIX2 Reality BF2 COOP Mod. He is the author behind the system below, and small tweaks have been made by me for PR COOP's gameplay.

How it works:

The smoke grenades spawn an invisible sphere collision mesh which is created as a Projectile to be used against bots. Using the napalm system (GLU-1) to create a spawner, it spawns an invisible Player Controlled Object whenever the Smoke Grenade projectile is fired!

Smoke Grenades and UGL SP versions are created to use each spawners with varied delays and only for _sp kits/factions. This is to ensure that it remains in the COOP gamemode only.

How to use:

For Smoke Grenades: A 15 second delay when the projectile lands. Simply wait for the smoke effect to completely fill at its peak before moving.

For UGL's: A 1 second delay when the projectile lands.

It is also included for the new ninja _sp kits so admins can freely use it against bots!

These apply for all smoke grenades including Underbarrel Grenade Launchers but not Signal Grenades.


The same system will hopefully be incorporated for Vehicle Smoke Launchers too (If it works), allowing smokescreens to work against bots too.


This feature will make gameplay more immersive and realistic, allowing teammates to make revives safely, provide cover or as a distraction.

Expect this feature to ship out with the v1.6 update when it's released!

See you on the battlefield!
Updated 2023-08-27 at 05:18 by Arab
Views: 54104 | Comments: 20

Main  |  Next Entry »

Comments
Total Comments: 20
  1. Old Comment
    Petar97's Avatar
    Finally! great work sir
    Posted 2018-09-23 at 13:51 by Petar97 Petar97 is offline
  2. Old Comment
    Fastjack's Avatar
    Nice done.
    Posted 2018-09-23 at 14:05 by Fastjack Fastjack is offline
  3. Old Comment
    sweedensniiperr's Avatar
    I don't i actually understand how this works... Will thebots shoot through the smoke but the sphere makes the bullets dissapear? Or is it an invisible "object" that bots can't "see" through?

    I take it that this will not work properly with bots using thermal controlled vehicles. - They will not see through the smoke even with thermals?
    Posted 2018-09-23 at 14:17 by sweedensniiperr sweedensniiperr is offline
  4. Old Comment
    Thank you all very much for your hard work!
    Posted 2018-09-23 at 16:45 by Veterans-Gaming Veterans-Gaming is offline
  5. Old Comment
    Thank you for the COOP love! Is mortar smoke viable too?
    Posted 2018-09-23 at 19:34 by keed keed is offline
  6. Old Comment
    Arab's Avatar
    Quote:
    Originally Posted by keed View Comment
    Thank you for the COOP love! Is mortar smoke viable too?
    For mortar smoke, I haven't got it working yet but I've got a few ideas on how to make it work.

    Quote:
    Originally Posted by sweedensniiperr View Comment
    I don't i actually understand how this works... Will thebots shoot through the smoke but the sphere makes the bullets dissapear? Or is it an invisible "object" that bots can't "see" through?

    I take it that this will not work properly with bots using thermal controlled vehicles. - They will not see through the smoke even with thermals?
    It's an invisible sphere object that bots can't see through. I'm not sure if this will affect bots using thermals - hasn't been tested but will add that to the To Do list
    Posted 2018-09-24 at 00:22 by Arab Arab is offline
    Updated 2019-03-03 at 06:11 by Arab
  7. Old Comment
    ALADE3N's Avatar
    Finally , I've been wondering when will this be in PR
    Posted 2018-09-24 at 03:23 by ALADE3N ALADE3N is offline
  8. Old Comment
    Rotblut's Avatar
    Was waiting for this. It was fun to test this. What surprises me was that the Mortarsmoke is working as well. Dev's, thanks for listnening to our COOP Comunity and for so much work u put in.
    Posted 2018-09-25 at 09:57 by Rotblut Rotblut is offline
  9. Old Comment
    Are bots able to run through the smoke or are they just going around or getting stuck in front of it?
    Posted 2018-09-25 at 19:32 by Skywalker-11 Skywalker-11 is offline
  10. Old Comment
    Arab's Avatar
    Quote:
    Originally Posted by Skywalker-11 View Comment
    Are bots able to run through the smoke or are they just going around or getting stuck in front of it?
    Bots go through the smoke to seek out the target
    This happens when the bots fire at the player and smoke is deployed, they follow their line of sight to find the player.
    Posted 2018-09-26 at 13:00 by Arab Arab is offline
 


All times are GMT. The time now is 01:42.