Raised This Month: $51 Target: $400
 12% 

[INS] Suicide bombers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ikir
Junior Member
Join Date: Jun 2014
Old 03-08-2024 , 07:06   [INS] Suicide bombers
Reply With Quote #1

Hi all! Probably I have not enough knowledge about source mods and Insurgency theaters but I I'm trying to create for my private checkpoint server an insurgent bot class like suicide bomber.

I noticed that there are some old plugin but I was not able to make them work.

For now I've created a bot class with only IED, it sometimes blow it but I would love to make it blow sooner after few seconds it is launched. Also if I equip the bot with knife it usually use only knife.

What I would want to have my friends have fun on the server:
1) A rare bot class with IED / Suicide
2) The bot should rush the players and explode itself like half the time, the other half use the knife.

Does something similar already exist? Could someone help me using some exiting plugin?
I've found this:
https://github.com/rrrfffrrr/Insurge...#SuicideBomber
but the suicide bomber is coloured red... it makes the game stupid and arcade.
ikir is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-08-2024 , 17:11   Re: [INS] Suicide bombers
Reply With Quote #2

Just comment lines 150 and 154:

Or try this =)
PHP Code:
//// SuicideBomber 1.0.4.sp
//
// Code size:         11024 bytes
// Data size:         8692 bytes
// Stack/heap size:      16840 bytes
// Total requirements:   36556 bytes
//
// Compilation Time: 0,34 sec
// ----------------------------------------

//// SuicideBomber 1.1.0_not_colored.sp
//
// Code size:         9268 bytes
// Data size:         8520 bytes
// Stack/heap size:      16568 bytes
// Total requirements:   34356 bytes
//
// Compilation Time: 0,27 sec
// ---------------------------------------- 
__________________

Last edited by Grey83; 03-09-2024 at 07:13.
Grey83 is offline
ikir
Junior Member
Join Date: Jun 2014
Old 03-09-2024 , 04:04   Re: [INS] Suicide bombers
Reply With Quote #3

Hi Grey83! Thanks for helping.
yesterday I managed to remove colouring, but it seems the plugin has other issues, it seems all bots explode, settings are applied only to a class, but all bots explodes! Trying your updated version!
ikir is offline
ikir
Junior Member
Join Date: Jun 2014
Old 03-09-2024 , 05:42   Re: [INS] Suicide bombers
Reply With Quote #4

I've updated my MOD, now a class is simply called "bomber" to avoid conf file didn't understand what is the bomber class.
Still if I use you plugin the bot didn't suicide.

Last edited by ikir; 03-09-2024 at 05:43.
ikir is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-09-2024 , 07:12   Re: [INS] Suicide bombers
Reply With Quote #5

ikir, may have fixed the problem. I also added a message output to the chat (on line 174) stating that the bot should explode.
Attached Files
File Type: sp Get Plugin or Get Source (SuicideBomber 1.1.1_not_colored.sp - 20 views - 6.5 KB)
__________________
Grey83 is offline
ikir
Junior Member
Join Date: Jun 2014
Old 03-09-2024 , 08:04   Re: [INS] Suicide bombers
Reply With Quote #6

Quote:
Originally Posted by Grey83 View Post
ikir, may have fixed the problem. I also added a message output to the chat (on line 174) stating that the bot should explode.
Trying now! PS: I will contact you privately too!
ikir is offline
ikir
Junior Member
Join Date: Jun 2014
Old 03-09-2024 , 08:18   Re: [INS] Suicide bombers
Reply With Quote #7

Quote:
Originally Posted by Grey83 View Post
ikir, may have fixed the problem. I also added a message output to the chat (on line 174) stating that the bot should explode.
It works! You are a genius.

I've modified it a little the values, lowering the damage and changing default settings.
It would be super cool if the IED generated would be invisible and it would be cool if the "weapon" that kills other is "immolation" or "suicide bomb". Now the kill notification is empty.
Attached Files
File Type: sp Get Plugin or Get Source (SuicideBomber 1.1.2.sp - 20 views - 6.5 KB)
ikir is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-09-2024 , 11:22   Re: [INS] Suicide bombers
Reply With Quote #8

Maybe need to change DispatchKeyValue(pointHurt, "classname", "weapon_c4_ied"); to another?
Code:
weapon_rpg7
weapon_at4
weapon_m203_he
weapon_gp25_he
weapon_m203_smoke
weapon_gp25_smoke

weapon_c4_clicker
weapon_c4_ied    <== You are use it

weapon_m67
weapon_f1
weapon_anm14
weapon_molotov
weapon_p2a1
weapon_m18
weapon_m84

weapon_kabar
weapon_gurkha

weapon_m9
weapon_model10
weapon_m45
weapon_makarov
weapon_m1911

weapon_m16a4
weapon_mk18
weapon_m4a1
weapon_galil
weapon_galil_sar
weapon_akm
weapon_ak74
weapon_fal
weapon_l1a1

weapon_mini14
weapon_m14
weapon_m1a1
weapon_sks

weapon_mp5
weapon_mp40
weapon_sterling
weapon_ump45
weapon_aks74u

weapon_m590
weapon_toz

weapon_m249
weapon_rpk

weapon_m40a1
weapon_mosin
insurgency_misc_dir.vpk ==> scripts/theaters/default_weapon.theater
__________________
Grey83 is offline
ikir
Junior Member
Join Date: Jun 2014
Old 03-09-2024 , 16:28   Re: [INS] Suicide bombers
Reply With Quote #9

Quote:
Originally Posted by Grey83 View Post
Maybe need to change DispatchKeyValue(pointHurt, "classname", "weapon_c4_ied"); to another?
Code:
weapon_rpg7
weapon_at4
weapon_m203_he
weapon_gp25_he
weapon_m203_smoke
weapon_gp25_smoke

weapon_c4_clicker
weapon_c4_ied    <== You are use it

weapon_m67
weapon_f1
weapon_anm14
weapon_molotov
weapon_p2a1
weapon_m18
weapon_m84

weapon_kabar
weapon_gurkha

weapon_m9
weapon_model10
weapon_m45
weapon_makarov
weapon_m1911

weapon_m16a4
weapon_mk18
weapon_m4a1
weapon_galil
weapon_galil_sar
weapon_akm
weapon_ak74
weapon_fal
weapon_l1a1

weapon_mini14
weapon_m14
weapon_m1a1
weapon_sks

weapon_mp5
weapon_mp40
weapon_sterling
weapon_ump45
weapon_aks74u

weapon_m590
weapon_toz

weapon_m249
weapon_rpk

weapon_m40a1
weapon_mosin
insurgency_misc_dir.vpk ==> scripts/theaters/default_weapon.theater
Thanks mate, but now when a bomber suicide it doesn't appear IED, it is just a plan weapon which kill the player. I have a custom theater file! If you want check my MOD
ikir is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-10-2024 , 04:24   Re: [INS] Suicide bombers
Reply With Quote #10

Quote:
Originally Posted by ikir View Post
If you want check my MOD
Soon it will be 2 years since I last launched Steam.
And Insurgency was launched almost 3 years ago.
__________________

Last edited by Grey83; 03-10-2024 at 04:25.
Grey83 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode