AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [INS] Suicide bombers (https://forums.alliedmods.net/showthread.php?t=346631)

ikir 03-08-2024 07:06

[INS] Suicide bombers
 
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.

Grey83 03-08-2024 17:11

Re: [INS] Suicide bombers
 
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
// ---------------------------------------- 


ikir 03-09-2024 04:04

Re: [INS] Suicide bombers
 
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 03-09-2024 05:42

Re: [INS] Suicide bombers
 
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.

Grey83 03-09-2024 07:12

Re: [INS] Suicide bombers
 
1 Attachment(s)
ikir, may have fixed the problem. I also added a message output to the chat (on line 174) stating that the bot should explode.

ikir 03-09-2024 08:04

Re: [INS] Suicide bombers
 
Quote:

Originally Posted by Grey83 (Post 2819205)
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 03-09-2024 08:18

Re: [INS] Suicide bombers
 
1 Attachment(s)
Quote:

Originally Posted by Grey83 (Post 2819205)
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.

Grey83 03-09-2024 11:22

Re: [INS] Suicide bombers
 
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

ikir 03-09-2024 16:28

Re: [INS] Suicide bombers
 
Quote:

Originally Posted by Grey83 (Post 2819221)
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 :)

Grey83 03-10-2024 04:24

Re: [INS] Suicide bombers
 
Quote:

Originally Posted by ikir (Post 2819229)
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.

ikir 03-12-2024 13:54

Re: [INS] Suicide bombers
 
1 Attachment(s)
For anyone interested, this last version use Bomber class by default, has suicide bomb damage lowered, no colouring. Maybe I will publish in the right session in the near future.

ikir 06-12-2024 09:47

Re: [INS] Suicide bombers
 
I uploaded the updated plugin for all
https://forums.alliedmods.net/showthread.php?p=2824005

Grey83 06-12-2024 11:22

Re: [INS] Suicide bombers
 
Quote:

Originally Posted by ikir (Post 2824007)
I uploaded the updated plugin for all

You must upload the source file.


All times are GMT -4. The time now is 04:41.

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