AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   L4D2 help making fire burn bots with stripper (https://forums.alliedmods.net/showthread.php?t=346514)

chunklight 02-29-2024 17:10

L4D2 help making fire burn bots with stripper
 
Hey, I'm wondering if anyone can help me here. I was messing with the sky configs for stripper and can't seem to get the fire to effect the bots. I was able to make this work in a separate instance with a "func_breakable," but cannot get it to work here. Any help would be great.

{
"classname" "trigger_hurt"
"thinkalways" "0"
"targetname" "sky_fire_hurt"
"filtername" "sky_filter_survs"
"StartDisabled" "1"
"spawnflags" "3"
"origin" "8464 4608 16"
"nodmgforce" "0"
"damagetype" "8"
"damagemodel" "0"
"damagecap" "20"
"damage" "5"
"OnHurtPlayer" "!activator,speakresponseconcept,PlayerBackUp ,0,5"
}
{
"classname" "info_particle_system"
"targetname" "sky_truck_explode"
"effect_name" "gas_explosion_main"
"angles" "0 45 0"
"origin" "8693 4851 55"
}
{
"classname" "trigger_multiple"
"targetname" "sky_truck_trigger"
"filtername" "sky_filter_survs"
"spawnflags" "1"
"startdisabled" "0"
"origin" "6681 4872 8"
"OnTrigger" "!activator,speakresponseconcept,PlayerLookOu t,1.5,1"
"OnTrigger" "sky_truck_zombie_1,Enable,,0,1"
"OnTrigger" "sky_truck_zombie_2,Enable,,0,1"
"OnTrigger" "sky_truck_zombie_1,SetDefaultAnimation,Attac kIncap_03,0,1"
"OnTrigger" "sky_truck_zombie_2,SetDefaultAnimation,Melee _03,0,1"
"OnTrigger" "sky_truck_sound,PlaySound,,0,1"
"OnTrigger" "sky_instructor_truck_hint,ShowHint,,0,-1"
"OnTrigger" "sky_truck_tracktrain,StartForward,,1.5,1 "
"OnTrigger" "sky_visual_trigger,kill,,0.1,1"
"OnTrigger" "!self,Kill,,20,1"
}
{
"classname" "logic_relay"
"origin" "8546 4868 50"
"targetname" "sky_truck_explode_relay"
"StartDisabled" "0"
"spawnflags" "0"
"OnTrigger" "director,BeginScript,custom_onslaught_wide.n ut,0,-1"
"OnTrigger" "director,EndScript,custom_onslaught_wide.nut ,60,-1"
"OnTrigger" "!Louis,speakresponseconcept,PlayerTonguePull Start,2.6,-1"
"OnTrigger" "!Zoey,speakresponseconcept,EmphaticArriveRun ,25,-1"
"OnTrigger" "sky_truck_sparks,StopSpark,,0,-1"
"OnTrigger" "sky_truck_sound,fadeout,1,0,-1"
"OnTrigger" "sky_truck_lights,LightOff,,2.2,-1"
"OnTrigger" "sky_truck_gasoline_smoke,Stop,,2.2,-1"
"OnTrigger" "sky_barricade,Kill,,2.2,-1"
"OnTrigger" "sky_truck_glass,Kill,,2.2,-1"
"OnTrigger" "sky_truck_zombie_1,Kill,,2.2,-1"
"OnTrigger" "sky_truck_zombie_2,Kill,,2.2,-1"
"OnTrigger" "sky_debris_barricade,Enable,,2.2,-1"
"OnTrigger" "sky_truck_hurt,Disable,,2.2,-1"
"OnTrigger" "sky_fire_hurt,Enable,,2.2,-1"
"OnTrigger" "sky_fire_hurt,Disable,,25,-1"
"OnTrigger" "sky_truck_explode,Start,,2.2,-1"
"OnTrigger" "sky_truck_explode,Stop,,25,-1"
"OnTrigger" "sky_explosion_shake,StartShake,,2.2,-1"
"OnTrigger" "sky_truck_crash_sound,PlaySound,,2.21,-1"
"OnTrigger" "sky_truck_explode_sound,PlaySound,,2.21,-1"
"OnTrigger" "sky_fire_sound,PlaySound,,2.5,-1"
"OnTrigger" "sky_debris_barricade,SetAnimation,debris,2.2 1,-1"
"OnTrigger" "sky_debris_barricade,SetDefaultAnimation,end state,2.5,-1"
"OnTrigger" "sky_truck,addoutput,solid 6,8,-1"
"OnTrigger" "sky_fire_sound,FadeOut,1,24,-1"
"OnTrigger" "sky_charger_block,Kill,,1,-1"
"OnTrigger" "sky_instructor_run_hint,ShowHint,,25,-1"


}

Marttt 02-29-2024 19:11

Re: L4D2 help making fire burn bots with stripper
 
what do you mean by "can't seem to get the fire to effect the bots"

chunklight 02-29-2024 19:20

Re: L4D2 help making fire burn bots with stripper
 
Quote:

Originally Posted by Marttt (Post 2818825)
what do you mean by "can't seem to get the fire to effect the bots"

So the fire from the gas_explosion_main appear and the trigger_hurt will hurt players, but no infected will actually catch on fire. They just walk through it unaffected

Marttt 02-29-2024 20:24

Re: L4D2 help making fire burn bots with stripper
 
It's because you are using a client filter
"filtername" "sky_filter_survs"
this probably only applies to survivors, try setting it to empty

chunklight 02-29-2024 20:43

Re: L4D2 help making fire burn bots with stripper
 
Thanks, that was it. Using this now they are catching on fire as well. Still new to this stuff so I appreciate the help. Gonna post it incase anyone else finds themselves struggling to understand.

"OnMapSpawn" "sky_fire_hurt_zaddoutputmins 0 0 00-1"
"OnMapSpawn" "sky_fire_hurt_zaddoutputmaxs 260 350 1500-1"
"OnMapSpawn" "sky_fire_hurt_zaddoutputsolid 20-1"

{
"targetname" "sky_filter_zomb"
"classname" "filter_activator_team"
"filterteam" "3"
"Negated" "0"
}
{
"classname" "trigger_hurt"
"thinkalways" "0"
"targetname" "sky_fire_hurt_z"
"filtername" "sky_filter_zomb"
"StartDisabled" "1"
"spawnflags" "3"
"origin" "8464 4608 16"
"nodmgforce" "0"
"damagetype" "8"
"damagemodel" "0"
"damagecap" "20"
"damage" "5"
"OnHurt" "!activator,Ignite,,0.1,-1"
}

"OnTrigger" "sky_fire_hurt_z,Enable,,2.2,-1"
"OnTrigger" "sky_fire_hurt_z,Disable,,25,-1"


All times are GMT -4. The time now is 21:28.

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