Raised This Month: $ Target: $400
 0% 

L4D2 - With summoning a tank and a witch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AsphyxiaJLSA
Member
Join Date: Oct 2021
Location: Lima,Perú
Old 10-06-2021 , 19:06   L4D2 - With summoning a tank and a witch
Reply With Quote #1

good based on
the sky stripper, I managed to create the c2m2_fairgrounds barricade but on the c14m1_junkyard map my question is how can I summon tank and witch after filling the entire barricade and it's on fire.
Could someone give me an example of how to do it so that I can locate the origins myself?

Due to time constraints, I have not yet been able to add the gasoline cans, but I can.


PHP Code:
gas event
; ===================== Proceso para Quemar la Barricada. (NO MODIFICAR)
add:
{
    
"classname" "logic_auto"
    "OnMultiNewRound" "@directorBeginScriptsky_scavenge_cans_cvars.nut0-1"
    "OnMapSpawn" "@directorBeginScriptsky_scavenge_cans_cvars.nut0-1"
    "OnMapSpawn" "sky_gascansTurnGlowsOff0-1"
    "OnMapSpawn" "sky_scavenge_carnivaladdoutputmins -25 -25 00-1"
    "OnMapSpawn" "sky_scavenge_carnivaladdoutputmaxs 300 300 1000-1"
    "OnMapSpawn" "sky_scavenge_carnivaladdoutputsolid 20-1"
    "OnMapSpawn" "sky_objects_glowingaddoutputmins -25 -25 00-1"
    "OnMapSpawn" "sky_objects_glowingaddoutputmaxs 300 300 1000-1"
    "OnMapSpawn" "sky_objects_glowingaddoutputsolid 20-1"
    "OnMapSpawn" "sky_ragdoll_stress_serveraddoutputmins -200 -200 00-1"
    "OnMapSpawn" "sky_ragdoll_stress_serveraddoutputmaxs 10 10 1000-1"
    "OnMapSpawn" "sky_ragdoll_stress_serveraddoutputsolid 20-1"
}
{
    
"classname" "point_servercommand"
    "targetname" "sky_servercommander"
}
{
    
"classname" "func_timescale"
    "minBlendRate" "2"
    "desiredTimescale" "0.2"
    "blendDeltaMultiplier" "3.0"
    "acceleration" "0.05"
    "targetname" "sky_timescale"
}
; ===================== 
Bloque Invisible en la Barricada para que no pasen los supervivientes.
{
    
"origin" "-1651 -5013 -304"
    "angles" "0 4 0"
    "maxs" "0 132.618164 170"
    "mins" "-20 -0 -0"
    "boxmaxs" "0 132.618164 170"
    "boxmins" "-20 0 0"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
{
    
"origin" "-1651 -5013 -304"
    "angles" "0 4 0"
    "maxs" "0 132.618164 170"
    "mins" "0 0 0"
    "boxmaxs" "0 132.618164 170"
    "boxmins" "-20 -0 -0"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
; ===================== 
Bloque Invisible cerca a la Barricada para que no tiren las latas en sitios inalcanzables.

; ===================== 
Correcion de Colores
{
    
"classname" "color_correction"
    "fadeInDuration" "1.0"
    "fadeOutDuration" "2.0"
    "filename" "materials/correction/el_timescale.raw"
    "maxfalloff" "-1"
    "maxweight" "0.9"
    "minfalloff" "-1"
    "spawnflags" "0"
    "StartDisabled" "1"
    "targetname" "sky_bt_colorcorrect"
}
 
; ===================== 
Evento ActivadorAparece Brillo de las Latas y Contador de Latas
{
    
"classname" "trigger_multiple"
    "targetname" "sky_objects_glowing"
    "filtername" "sky_filter_survs"
    "spawnflags" "1"
    "startdisabled" "0"
    "origin" "-2574 -5724 -360"
    "OnTrigger" "sky_cotton_candy_spawn,ForceSpawn,,0,1"
    "OnTrigger" "sky_cotton_candy_gate,startglowing,,0,1"
    "OnTrigger" "sky_cotton_candy_gate,stopglowing,,10,1"
    "OnTrigger" "!self,Kill,,20,1"
}
{
    
"classname" "trigger_multiple"
    "targetname" "sky_scavenge_carnival"
    "filtername" "sky_filter_survs"
    "spawnflags" "1"
    "startdisabled" "0"
    "origin" "-2574 -5724 -360"
    "OnTrigger" "!Rochelle,speakresponseconcept,_c4m1Intro10,0,1"
    "OnTrigger" "sky_scavenge_display,TurnOn,,0,1"
    "OnTrigger" "sky_gascans,TurnGlowsOn,,0,1"
    "OnTrigger" "sky_burn_barricade,startglowing,,0,1"
    "OnTrigger" "!self,Kill,,20,1"
}
; ===================== 
Evento Latas de GasolinaSitio donde podran ser llenadaspara colocarlo debes pegarte adelante de la barricada y colocar el origen ensima de la barricada y mirando afuera ahi.
{
    
"classname" "point_prop_use_target"
    "nozzle" "sky_burn_barricade"
    "origin" "-1666 -4981 -222"
    "angles" "990 4 0"
    "spawnflags" "1"
    "targetname" "sky_gas_target"
    "OnUseFinished" "sky_gas_counter,Add,1,0,-1"
    "OnUseFinished" "sky_servercommander,command,sm_add_canister_points 12,0,6"
}
; ===================== 
Cantidad Maxima de Gasolinas en el Contador
{
    
"classname" "game_scavenge_progress_display"
    "targetname" "sky_scavenge_display"
    "max" "10"
}
{
    
"classname" "math_counter"
    "max" "10"
    "targetname" "sky_gas_counter"
    "OnHitMax" "sky_relay_barricade,Trigger,,0,-1"
}
{
    
"classname" "logic_relay"
    "targetname" "sky_relay_barricade"
    "OnTrigger" "!Rochelle,speakresponseconcept,PlayerMoveOn,70,-1"
    "OnTrigger" "director,PanicEvent,,2.5,-1"
    "OnTrigger" "sky_scavenge_display,TurnOff,,0,-1"
    "OnTrigger" "sky_burn_barricade,stopglowing,,0,-1"
    "OnTrigger" "sky_burn_barricade,DisableCollision,,0,-1"
    "OnTrigger" "sky_fire_barricade_1,Start,,0,-1"
    "OnTrigger" "sky_fire_barricade_2,Start,,38,-1"
    "OnTrigger" "sky_fire_barricade_1,Stop,,70,-1"
    "OnTrigger" "sky_fire_barricade_2,Stop,,70,-1"
    "OnTrigger" "sky_barricade_sound,PlaySound,,0,-1"
    "OnTrigger" "sky_barricade_sound,FadeOut,1,66,-1"
    "OnTrigger" "sky_phy_clip,kill,,0,-1"
    "OnTrigger" "sky_gas_target,Kill,,0,-1"
    "OnTrigger" "sky_invisible_block,kill,,0,-1"
    "OnTrigger" "sky_burn_barricade,kill,,25,-1"
    "OnTrigger" "sky_burn_barricade1,kill,,50,-1"
    "OnTrigger" "sky_burn_barricade2,kill,,70,-1"
    "OnTrigger" "sky_charger_block,Kill,,70,-1"
    "OnTrigger" "sky_invisible_block_surv,kill,,70,-1"
}
; =====================
Posicion de la Barricada (Todo lo demas debe tener la misma posicion)
{
    
"classname" "info_particle_system"
    "effect_name" "barricade_fire"
    "targetname" "sky_fire_barricade_1"
    "angles" "0 -88 0"
    "origin" "-1653 -4983 -295"
}
{
    
"classname" "info_particle_system"
    "effect_name" "fire_medium_03"
    "targetname" "sky_fire_barricade_1"
    "origin" "-1653 -4983 -295"
}
{
    
"classname" "info_particle_system"
    "effect_name" "barricade_fire"
    "targetname" "sky_fire_barricade_2"
    "angles" "0 -88 0"
    "origin" "-1653 -4983 -295"
}
{
    
"classname" "ambient_generic"
    "health" "9"
    "message" "ambient/fire/fire_med_loop1.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "4000"
    "spawnflags" "48"
    "targetname" "sky_barricade_sound"
    "origin" "-1653 -4983 -295"
}
{
    
"classname" "prop_dynamic"
    "targetname" "sky_burn_barricade"
    "glowcolor" "255 0 0"
    "glowstate" "0"
    "glowrange" "1500"
    "solid" "0"
    "model"  "models/props_unique/wooden_barricade.mdl"
    "angles" "0 -88 0"
    "origin" "-1653 -4983 -295"
    "disableshadows" "1"
}
{
    
"classname" "prop_dynamic"
    "targetname" "sky_burn_barricade1"
    "solid" "0"
    "model"  "models/props_unique/wooden_barricade_break1.mdl"
    "angles" "0 -88 0"
    "origin" "-1653 -4983 -295"
    "disableshadows" "1"
}
{
    
"classname" "prop_dynamic"
    "targetname" "sky_burn_barricade2"
    "solid" "0"
    "model"  "models/props_unique/wooden_barricade_break2.mdl"
    "angles" "0 -88 0"
    "origin" "-1653 -4983 -295"
    "disableshadows" "1"
}
{
    
"classname" "prop_dynamic"
    "targetname" "sky_burn_barricade3"
    "solid" "0"
    "model"  "models/props_unique/wooden_barricade_break3.mdl"
    "angles" "0 -88 0"
    "origin" "-1653 -4983 -295"
    "disableshadows" "1"
}
; ===================== 
No Modificar
{
    
"targetname" "sky_filter_survs"
    "classname" "filter_activator_team"
    "filterteam" "2"
    "Negated" "0"
}
modify:
{
    
match:
    {
        
"hammerid" "86322"
    
}
    
replace:
    {
        
"spawnflags" "526336"
        "spawnpos" "0"
    
}
    
insert:
    {
        
"targetname" "sky_door"
    
}

Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	45
Size:	96.2 KB
ID:	191737   Click image for larger version

Name:	2.png
Views:	46
Size:	94.7 KB
ID:	191738  

Last edited by AsphyxiaJLSA; 10-06-2021 at 19:10.
AsphyxiaJLSA is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-06-2021 , 19:28   Re: L4D2 - With summoning a tank and a witch
Reply With Quote #2

try using a info_zombie_spawn entity.

{
"origin" "2466 -2191 -2"
"targetname" "tankspawn1"
"population" "Tank"
"offer_tank" "1"
"angles" "0 94 0"
"classname" "info_zombie_spawn"
"hammerid" "4744574"
}

To trigger just use something like "tankspawn1,SpawnZombie,,0,1"
__________________
Marttt is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-06-2021 , 21:01   Re: L4D2 - With summoning a tank and a witch
Reply With Quote #3

probably, actually, population is a file that you can find inside the pak01_dir.vpk, in scripts folder (population.txt)
Attached Files
File Type: txt population.txt (7.4 KB, 35 views)
__________________
Marttt is offline
Reply


Thread Tools
Display Modes

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 08:36.


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