*Based On CSO Bunker Buster Weapon , This Plugin Replace The HE grenade with a Lock On device For Calling Heavy Air Strike
*The Plugin Supports All Mods (ZE , ZM , NM)
Commands:
Say /bunker - To Buy Bunker (Only For NM).
Requirement:
AMXX V 1.8.2+
Tested On:
HLDS + AMXX 1.8.2+
REHLDS + REGAMEDLL + REAPI + AMXX 1.9.0
CVars:
nv_bb_dmg_fire 20.0 // Damage Given To Player Per Second
nv_bb_fire_time 20 // After How Much Seconds Remove Fire
nv_bb_fire_radius_dmg 200.0 // Radius for Damage Fire
nv_bb_explosion_rad 200.0 // Screen Shake Radius
Not sure if this will helps or not but it should. Also to drop fakemeta and use better set_entvar. Try drop entity_set_* and use also set_entvar or even use fakemeta.
Nice sight also bro, just let's try resolve all issues so I can safely put approve tag.
I'm here also post this version by (KORD_12.7+PeTRoX+Raheem) maybe someone find it useful:
Okay raheem ,
1. can you say me why pev_valid(ent) value is check == 2?
2.Hm not selecting second point ? Than only One bomb might come ? I remember this issue was with other when they used Nades modes so i added KNIFE weapon as reference support too
3. I usually test it on windows + Rehlds stuff , but i will improve code once i free from one projects ( Thats Drone attack xD , IHA CONTROL BOX ATTACK like jenesse )
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 19 Dec 2020, 00:59
by Raheem
NOVA wrote: ↑3 years ago
Okay raheem ,
1. can you say me why pev_valid(ent) value is check == 2?
2.Hm not selecting second point ? Than only One bomb might come ? I remember this issue was with other when they used Nades modes so i added KNIFE weapon as reference support too
3. I usually test it on windows + Rehlds stuff , but i will improve code once i free from one projects ( Thats Drone attack xD , IHA CONTROL BOX ATTACK like jenesse )
1. The check ensure that the entity is valid and safe to use its members. If
* So if pev_valid returned 2, this means it's safe to use the entity members.
* And because I'm removing the entity using set_entvar(...), I must ensure that it's safe I use it.
*/
if(pev_valid(iEnt)== PDATA_SAFE)
{
// Here our entity is valid, and you can use set_entvar
set_entvar(iEnt, var_flags, FL_KILLME)
}
If I'm going to remove the entity using remove_entity(), I need only to ensure that pev_valid(iEnt) return just 1. This because I'll not use var_*
But the way I used, I need to secure the entity removal as much as I can. So I use FL_KILLME, and before even I use it, I ensure it's safe to use it.
The default behavior if entity does not exist, remove_entity() should throw an error. But for a reason that the engine does not understand the existence of the entity it crashes. So it will be better if you used this way for ultra security special for ReEngine.
2. It does not give time so I choose second point. It just make one point and only one. Not tested on windows.
3. Share video of what you gonna make, maybe interesting
Final suggestion, whenever it's possible drop fakemeta, engine, hamsandwich, fun... etc. and use ReAPIGameDLL and ReAPIEngine better for all the way. Use AMXX ones only in the case the function does not exist in Re.
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 19 Dec 2020, 02:03
by NOVA
yeah , i will try to use REAPI , Since now rehlds things Support in allieds also ( i didn't know that before ) , i will learn REAPI more detailed , Hm if starting and ending points are same it will Throw only one Bomb , i made this function becuase many players don't Know how to use bunker , they press and released button on same Position , i explained them to press the button on point one and released at another point with same distance. this function don't waste their bunker xD ,
Yeah i will sure Share video , Learning new things
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 19 Dec 2020, 02:28
by Raheem
Oh, i don't even know how to use. Good u explained it. Will try it, but anyway we must fix the crash, ill if got time next days.
Yes learn in ReAPI it's supported on allied but they dont like us when we posted the Mod as we used reapi they need us to use orpheu... lol somehow there many brain bugged users there.
Just off-topic, u said u will make hellhound (drones) from cso? Or?
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 19 Dec 2020, 05:16
by NOVA
Raheem wrote: ↑3 years ago
Oh, i don't even know how to use. Good u explained it. Will try it, but anyway we must fix the crash, ill if got time next days.
Yes learn in ReAPI it's supported on allied but they dont like us when we posted the Mod as we used reapi they need us to use orpheu... lol somehow there many brain bugged users there.
Just off-topic, u said u will make hellhound (drones) from cso? Or?
xD You also Don't know how to use hahahah , well as i mentioned press and released Function
, https://www.youtube.com/watch?v=7XRilz_o0F4
this from jennesse , i making this , which can work in Any maps and we can defined Points from where to where the Drones can Fly , I got Resources From CSO ... , But not Free maybe xD , i will earn some From this xD
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 19 Dec 2020, 15:40
by Raheem
Yes, worked I miss understood how to activate. I never played CSNZ in fact so not know how it's there.
The idea you are working on, there is drone that fly in air and player can control it from this box? Like when he press E his view is attached to this entity. Nice, np it's up to you to sell it's your code and you free to do what you need.
// This is Random Value , I Am Not Sure When To Remove , Bcz This Depends On Map Size :-D
set_task(20.0,"Kill_Remove",i_Ent);
set_task(4.0,"Task_Fly",i_Ent);
set_pev(i_Ent, pev_nextthink,get_gametime()+4.0);
}
And so on, after creating any entity you must ensure it exists this way.
Update these, and I'll test after.
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 17 Jan 2021, 04:19
by NOVA
Okay Boss
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 16 Feb 2021, 09:56
by deniska21233
Hi
Please help me transfer to slot 5
Fix pls bunker buster - no fly plane sound and height plane + drop buster
Nova you Russian?
Re: [ZE] EXTRA ITEM: BUNKER BUSTER LTD
Posted: 07 Mar 2021, 17:52
by ngamerz
deniska21233 wrote: ↑3 years ago
Hi
Please help me transfer to slot 5
Fix pls bunker buster - no fly plane sound and height plane + drop buster
Nova you Russian?