AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] Sky (comp. config), that adds only the additional events to camapigns? (https://forums.alliedmods.net/showthread.php?t=331792)

Proaxel 04-07-2021 14:28

[L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
(Note: This is not to be confused with Sky RPG which seems to be an entirely different thing altogether)

I've noticed some other servers are running this plugin where it has adds additional events to campaigns, like Scavenge events to parts where there clearly weren't before, or additional horde events.

I think I have managed to track this down to Sky, which is a "competitive configuration for Left 4 Dead 2". The list of changes and additions to the campaign levels are detailed on the GitHub page, and they seem to match up to the stuff I have seen.
https://github.com/Attano/Sky

I'd like to try adding this just to see all the changes in the campaigns, but there seems to be a few problems right away:
  • It requires ProMod, the link provided to download it is a 404
  • Both this and ProMod seem to also make a bunch of changes to gameplay and balancing in favor of competitive gameplay, which I am not interested in. I intend to only play this in a casual coop environment.

Is it possible that someone can release a version of this plugin that only contains the additional events to campaigns as well as the random weather? In other words strip out the ProMod requirement, and any competitive gameplay changes, in order to make a "Casual version" that can be played in Coop servers. Or if there is no one that can do it, can someone at least provide instructions on how one can do these themselves.

The closest other thread I could find on the matter is this other person here asking how one adds their own scavenge events like so: https://forums.alliedmods.net/showthread.php?t=320624
Lux, the person replying, said they are using a modified version of this plugin that from the sound of seems to be exactly the things I described above, but the link they provided to it has also since turned into a 404.

Psyk0tik 04-07-2021 17:12

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
You mainly just need Stripper to use the Sky configs. The only plugin really required for these configs is Silvers’ Plane Crash plugin. I modified the configs myself to only use the custom events and completely removed all the competitive balances/fixes.

Marttt 04-07-2021 20:41

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Stripper is enough, most things will work, except some stuff that uses a plugin like "add_canister_points" and "plane crash" (already mentioned by Crasher). Also, there are some events that use plugins to detect if someone is holding a specific item, but you can adapt it all in the stripper. (like the train event or the pipe bomb on dark carnival)

BlackSabbarh 04-12-2021 14:54

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Hi, I have problems with Sky's stripper's C12m2_traintunnel event, how can I fix it?

Marttt 04-12-2021 15:56

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
I "fixed" a long time ago, you can try setting this part here
Actually I just ended up adding:
Code:

"OnTimeUp" "sky_train_button,Unlock"

PHP Code:

{
"classname" "func_button_timed"
"targetname" "sky_train_lever_button"
"origin" "-8090 -6552 5"
"spawnflags" "1025"
"StartDisabled" "0"
"use_string" "Grab train lever!"
"use_sub_string" "Grab train lever!"
"use_time" "1.5"
"OnPressed" "!Zoey,speakresponseconcept,PlayerAlertGiveItem,0,-1"
"OnTimeUp" "sky_propane_spawn,ForceSpawn,,0,-1"
"OnTimeUp" "sky_train_breakable_propanetank,addhealth,99999,0.1,-1"
"OnTimeUp" "sky_pickup_sound,PlaySound,,0,-1"
"OnTimeUp" "sky_train_button_model_b,startglowing,,0,-1"
"OnTimeUp" "sky_train_button_model_a,stopglowing,,0.3,-1"
"OnTimeUp" "!activator,addoutput,targetname player_owner,0,-1"
"OnTimeUp" "sky_train_button_model_a,SetParent,player_owner,0.1,-1"
"OnTimeUp" "sky_train_button_model_a,SetParentAttachment,medkit,0.2,-1"
"OnTimeUp" "sky_train_lever_button_second,unlock"
"OnTimeUp" "sky_instructor_hint,EndHint,,0,-1"
"OnTimeUp" "sky_instructor_hint,Kill,,0.1,-1"
"OnTimeUp" "sky_instructor_hint_second,ShowHint,,0.2,-1"
"OnTimeUp" "sky_train_button,Unlock"
"OnTimeUp" "!self,Kill,,1,-1"



BlackSabbarh 04-12-2021 23:44

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
hi, mmm i think i had a little bug, now i can't remove the lever

jeremyvillanueva 04-14-2021 14:13

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Hi, ProAxel CHEERS!! nice finding
This is the last fork for Promod I think:
https://github.com/SirPlease/L4D2-Competitive-Rework
But maybe ProdigySim could tell us better which is the last branch,
With this we shall enhance the cooperativeness in this game :D!!
BW!

Marttt 04-14-2021 14:18

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
he wants the sky events, L4D2 Competitive Rework has some stuff from the sky stripper but doesn't have most of the extra events.

Quote:

Originally Posted by BlackSabbarh (Post 2743952)
hi, mmm i think i had a little bug, now i can't remove the lever

Maybe you are using the plugin that does specific map events

I think is this one:
https://github.com/Attano/Sky/blob/m...stomization.sp

BlackSabbarh 04-14-2021 17:17

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
hi, mm i don't use that plugin, just add the skymaps stripper. just replace this with this

{
"classname" "func_button_timed"
"targetname" "sky_train_lever_button"
"origin" "-8090 -6552 5"
"spawnflags" "1025"
"StartDisabled" "0"
"use_string" "Grab train lever!"
"use_sub_string" "Grab train lever!"
"use_time" "1.5"
"OnPressed" "!Zoey,speakresponseconcept,PlayerAlertGiveIt em,0,-1"
"OnTimeUp" "sky_propane_spawn,ForceSpawn,,0,-1"
"OnTimeUp" "sky_train_breakable_propanetank,addhealth,99 999,0.1,-1"
"OnTimeUp" "sky_pickup_sound,PlaySound,,0,-1"
"OnTimeUp" "sky_train_button_model_b,startglowing,,0 ,-1"
"OnTimeUp" "sky_train_button_model_a,stopglowing,,0. 3,-1"
"OnTimeUp" "!activator,addoutput,targetname player_owner,0,-1"
"OnTimeUp" "sky_train_button_model_a,SetParent,player_ow ner,0.1,-1"
"OnTimeUp" "sky_train_button_model_a,SetParentAttachment ,medkit,0.2,-1"
"OnTimeUp" "sky_train_lever_button_second,unlock"
"OnTimeUp" "sky_instructor_hint,EndHint,,0,-1"
"OnTimeUp" "sky_instructor_hint,Kill,,0.1,-1"
"OnTimeUp" "sky_instructor_hint_second,ShowHint,,0.2 ,-1"
"OnTimeUp" "sky_train_button,Unlock"
"OnTimeUp" "!self,Kill,,1,-1"
}


{
"classname" "func_button_timed"
"targetname" "sky_train_lever_button"
"origin" "-7590 -6552 5"
"spawnflags" "1025"
"StartDisabled" "0"
"use_string" "Grab train lever!"
"use_sub_string" "Grab train lever!"
"use_time" "1.5"
"OnPressed" "!Zoey,speakresponseconcept,PlayerAlertGiveIt em,0,-1"
"OnTimeUp" "sky_propane_spawn,ForceSpawn,,0,-1"
"OnTimeUp" "sky_train_breakable_propanetank,addhealth,99 999,0.1,-1"
"OnTimeUp" "sky_pickup_sound,PlaySound,,0,-1"
"OnTimeUp" "sky_train_button_model_b,startglowing,,0 ,-1"
"OnTimeUp" "sky_train_button_model_a,stopglowing,,0. 3,-1"
"OnTimeUp" "!activator,addoutput,targetname player_owner,0,-1"
"OnTimeUp" "sky_train_button_model_a,SetParent,player_ow ner,0.1,-1"
"OnTimeUp" "sky_train_button_model_a,SetParentAttachment ,medkit,0.2,-1"
"OnTimeUp" "sky_train_lever_button_second,unlock"
"OnTimeUp" "sky_instructor_hint,EndHint,,0,-1"
"OnTimeUp" "sky_instructor_hint,Kill,,0.1,-1"
"OnTimeUp" "sky_instructor_hint_second,ShowHint,,0.2 ,-1"
"OnTimeUp" "!self,Kill,,1,-1"
}

Proaxel 05-05-2021 14:21

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
So I've tried this on live gameplay for a few weeks now and after many tweaks to the configuration, I think it's in a mostly good spot. There are a few problems I listed below and how I fixed them. There are some problems I've been unable to fix, I've listed at the bottom. If any of you know how to fix these it would be greatly appreciated if you shared how.

All maps
Deleted everything that involves replacing Hunting Rifle spawns or nerfing weapon spawns in general.

Blood Harvest Map 2
Survivors must pick up a lever from a train car and place it on a different train. As mentioned earlier putting the lever on the train car doesn't work, and thus the survivors cannot advance
Fix: See Martt's reply above, thank you!

Dark Carnival Map 3

A similar situation occurs, survivors are tasked with picking up a bomb and using it to blow open a wall at the exit of the tunnel. Setting the bomb on the wall doesn't work, thus survivors cannot advance.

Fix: I applied a similar fix to what Martt mentioned earlier; Add the entry
Code:

"OnTimeUp" "sky_button_01,Unlock"
to func_button_timed, so this looks like so:
PHP Code:

{
    
"classname" "func_button_timed"
    "targetname" "sky_button_02"
    "auto_disable" "1"
    "origin" "-35 3543 2"
    "spawnflags" "1025"
    "use_string" "Search items"
    "use_sub_string" "Search items"
    "use_time" "3"
    "OnTimeUp" "sky_dead_body,stopglowing,,0,-1"
    "OnTimeUp" "sky_pipe_spawn,ForceSpawn,,0,-1"
    "OnTimeUp" "sky_instructor_hint,EndHint,,0,-1"
    "OnTimeUp" "sky_instructor_hint,Kill,,0.1,-1"
    "OnTimeUp" "sky_instructor_hint_plant,ShowHint,,0.2,-1"
    "OnTimeUp" "sky_button_01,Unlock"
    "OnTimeUp" "!self,Kill,,0.1,-1"


The bomb now properly appears on the wall upon interaction and detonates shortly afterward.
(Question: Were these two events broken without this fix because they relied on something else, maybe ProMod? Or is there some other plugin that is missing?)

Dead Center Map 4:
A tank appears as soon as the elevator opens at the bottom floor, then suicides shortly afterward. Examination shows that this tank spawns back at the corridor just outside the safe room. Apparently the AI can't figure out how to get out of there fast enough before it suicides from not seeing any survivors.

Fix: I moved the spawn location somewhere else by changing the "origin" attribute to a place where the AI won't suicide due to not seeing a survivor. In the example below I set it to the very top floor behind the railing that Jimmy's banner is mounted on. The AI still takes a bit of time finding its way down to the bottom floor and will occasionally stop to throw rocks a few times before doing so. This in itself is good as it still gives the survivors time to ready themselves. If you're in a coop only game and still want this tank spawn, then replace the section with this one below.

If you don't want the tank at all, then just delete this entire section.


PHP Code:

; =====================================================
; ================  
PROMOD ELEV TANK  =================
; =====================================================
modify:
{
    
match:
    {
        
"targetname" "button_elev_3rdfloor"
    
}
    
insert:
    {
        
"OnPressed" "promod_tankSpawnZombie29-1"
    
}
}
add:
{
    
"targetname" "promod_tank"
    "origin" "-9293 6344 740"
    "population" "tank"
    "offer_tank" "1"
    "angles" "0 0 0"
    "classname" "info_zombie_spawn"
}
It is very important to leave the timer at 29 secondsThis spawns tank before the finale officially startsfreezing the finale

Map 4 of The Parish
a plywood is blocking the ladder up in the safe room at the end of the level.
https://i.imgur.com/QuW3nQO.png

Fix: Delete the following
PHP Code:

{
    
"classname" "prop_dynamic"
    "angles" "0 270 0"
    "disableshadows" "1"
    "model" "models/props_highway/plywood_02.mdl"
    "rendercolor" "255 255 255"
    "solid" "6"
    "origin" "1590 -3534 448.244"
}
{
; --- 
blocked SI from griefing by going to the top of the end saferoom
    
invisible block to block getting up top
    
"origin" "1474 -3451 681"
    "mins" "-195 -102 -242"
    "maxs" "195 102 242"
    "initialstate" "1"
    "BlockType" "2"
    "classname" "env_physics_blocker"



Map 5 of The Parish:
This was not documented on the GitHub page. When survivors first interact with the radio, before the bridge is even lowered, a tank spawns on the raised part of the bridge, then suicides shortly afterward probably due to lack of sight on survivors. Why would anyone want to fight a tank before the bridge is even lowered? I don't know anything about competitive L4D, Is this some competitive thing that I don't know about?

Fix: I changed the trigger for the tank to spawn from the radio to the actual switch that lowers the bridge. I then set the delay it waits until spawning the tank to 29 seconds, this allows the bridge to lower first. I also changed the spawn location ("origin") to atop one of the semi trucks, this should be far enough to allow survivors to prepare but still allow the tank to see the survivors and thus not suicide. If you're in a Coop only game and still want this tank spawn, then replace that section with this one below.

If you don't want this tank, then delete this section.
PHP Code:

; =====================================================
; ============  
PROMOD EARLY TANK ADDITION  ===========
; =====================================================
modify:
{
    
match:
    {
        
"targetname" "finale"
    
}
    
insert:
    {
        
"UseStart" "zombie_tankSpawnZombie29-1"
    
}
}
add:
{
    
"targetname" "zombie_tank"
    "origin" "-5915 6368 692"
    "population" "tank"
    "offer_tank" "1"
    "angles" "0 0 0"
    "classname" "info_zombie_spawn"


Map 2 of No Mercy:
Quote:

The event area is cleared, Survivors are free to pass through.
I still wanted this event as well as the additional one with the truck crash. I found that deleting the following at the very bottom of the cfg restores this event:

PHP Code:

filter:
    {
    
"hammerid" "8781472"
    
}
    {
    
"hammerid" "8781511"
    
}
    {
    
"hammerid" "8797016"
    
}
    {
    
"hammerid" "8797228"
    
}
    {
    
"hammerid" "8797231"
    
}
    {
    
"hammerid" "8825294"
    
}    
    {
    
"hammerid" "9304951"
    
}
    {
    
"hammerid" "8825297"
    
}
    {
    
"hammerid" "8825300"
    
}
    {
    
"hammerid" "8825616"
    
}
    {
    
"hammerid" "9404514"
    
}
    {
    
"hammerid" "6912133"
    
}
    {
    
"hammerid" "6980665"
    
}    
    {
    
"hammerid" "7119483"
    
}
    {
    
"hammerid" "7160893"
    
}
    {
    
"hammerid" "7416828"
    
}
    {
    
"hammerid" "9256048"
    
}
    {
    
"hammerid" "6912326"
    
}
    {
    
"hammerid" "6967802"
    
}
    {
    
"targetname" "generatorroom_lightshafts"
    
}
    {
    
"targetname" "generatorlamp_spark1"
    
}
    {
    
"targetname" "generator_spark1"
    



No Mercy Map 3:

The config disables opening the warehouse shortcut door.
Fix: If you still want this, delete the following
PHP Code:

; =====================================================
; ================  
PROMOD EVENT BUFF  ================
; =====================================================
; --- 
survivors can no longer open the door below.
modify:
{
    
match:
    {
        
"hammerid" "3901541"
    
}
    
delete:
    {
        
"OnPressed" "door_slidingOpen0-1"
    
}
    
insert:
    {
        
"OnPressed" "door_slidingOpen20-1"
    
}



Dead Air Map 4:
This was not documented on the Github page, the metal detector that triggers the endless horde event was disabled.

Fix: Thankfully this was clearly labelled. If you still want this event, you can simply delete this:
PHP Code:

; =====================================================
; ==================  
EVENT REMOVAL  ==================
; =====================================================

; --- 
Remove the metal detector event and add some changes to compensate for difficulty change

filter
:
{
    
"targetname" "securityalarmtrigger1"
}
{
    
"targetname" "onslaught_hint_trigger"



Death Toll Map 3
The church event is skipped completely in favor of a new event where survivors blow up a gate into the church and hold out until the fire subsides.

If you still want the original event, delete the following:
PHP Code:

    delete:
    {
        
"OnOpen" "spawn_church_zombieSpawnZombie01"
        "OnOpen" "timer_physexp_chuch_zombieDisable01"
        "OnOpen" "churchguySpeakResponseConceptchurchguy_door_opened whodidit:!Activator01"
    
}
}
{
    
match:
    {
        
"hammerid" "2157553"
    
}
    
delete:
    {
        
"OnPanicEventFinished" "relay_enable_chuch_zombie_loopTrigger0-1"
    
}
}
filter:
    {
    
"hammerid" "2212773"
    
}
    {
    
"hammerid" "3037422"
    
}
    {
    
"hammerid" "3076175"
    
}
    {
    
"hammerid" "2566253"
    
}
    {
    
"hammerid" "2570933"
    
}
    {
    
"hammerid" "3194111"
    
}
    {
    
"hammerid" "2737009"
    
}
    {
    
"hammerid" "3194082"
    
}
    {
    
"hammerid" "2998100"
    
}
    {
    
"hammerid" "2998103"
    
}
    {
    
"hammerid" "2998112"
    
}
    {
    
"hammerid" "2998115"
    
}
    {
    
"hammerid" "3115355"
    
}
    {
    
"hammerid" "2736951"
    
}
    {
    
"hammerid" "2717089"
    
}
    {
    
"hammerid" "2736982"
    
}
    {
    
"hammerid" "2736821"
    


Optional but still recommended:
Since there is still the church event, you may want to adjust the time in the following line in "sky_oxygentank_path2" for the sake of game balance:
HTML Code:

"OnPass" "sky_oxygentank_path_relay_b,Trigger,,65,-1"
With "65" being how long you want the holdout event to last until the fire dies down.

Also, delete the following line in "sky_toll_horde_relay":
HTML Code:

"OnTrigger" "@director,BeginScript,sky_events_c10m3_ranchhouse_front.nut,105,-1"
To stop the endless horde from occurring after the fire dies down.

You should also delete the following if you do not have ProMod:
PHP Code:

; =====================================================
; ================  
PROMOD ONSLAUGHT  =================
; =====================================================

modify:
{
    
match:
    {
        ; 
train engine relay
        
"hammerid" "2029608"
    
}
    
delete:
    {
        
"OnTrigger" "directorBeginScriptc12m3_onslaught0-1"
    
}
    
insert:
    {
        
"OnTrigger" "directorBeginScriptc12m3_onslaught_promod0-1"
    
}


As far as I can tell, the VScript this section replaces with does not come with Sky and thus it effectively does nothing.

Maps with added Scavenge events
Dark Carnival Map 2, Swamp Fever Map 1, Hard Rain Map 2, Death Toll Map 2, Death Air Map 4

On these maps, I found that a logic_auto entity is setting convars so that fires from molotovs and gas cans are heavilly nerfed, in that they only last 2.5 sec and their range is significantly shorter.

Fix: In each of these maps' cfgs, delete the following lines from the logic_auto entry.
PHP Code:

    "OnMultiNewRound" "directorBeginScriptsky_scavenge_cans_cvars.nut0-1"
    "OnMapSpawn" "directorBeginScriptsky_scavenge_cans_cvars.nut0-1" 

Alternatively, you may also delete sky_scavenge_cans_cvars.nut from your server's vscripts folder, however I am not sure what may happen when the entity tries to run the script only for it to not be found.
============================================= ================
Unsolved Problems:
Map 4 of Blood Harvest:
Quote:

Tank spawn will be static at 21%. The Tank spawns in one of the Trucks and has to hit the explosive barrels inside, this will send the Tank flying to the Survivors location, Everyone will see the cut-scene from the Tank's Point of View!
I tried this about half a dozen times, only once did the tank actually trigger the explosion and the cutscene. He didn't even go flying. All the other times, the tank would just stand there doing nothing in the truck and eventually suicide for being stuck. It's obvious this was meant for a human player only.

I have zero knowledge how these scripted sequences work, so I have no clue on how to fix. Perhaps there is a way to force the explosion to happen shortly after the tank spawn is triggered? Then it's just a matter of making sure the AI tank actually flies to where the survivors triggered it.

The Parish Map 3:
Quote:

The route through the Cemetery is modified to be longer.
Roughly 90% of the time, all the entrances are blocked, thus survivors are unable to proceed.
https://i.imgur.com/2l54Ei6.png

I'm unable to determine what is causing this issue. I can't find any entry or comment in the cfg that suggests what may be causing this.
The closest lead I have is that deleting everything in the section labelled "Sky.cfg by: Electrik, JaneDoe, Visor, vintik" seems to stop this from happening, but that also deletes the exploding barrels event as well. But it's reason to believe the cause is somewhere in that section.

Dead Center Map 3:
The config seems to be forcing the map to spawn with the lower route with the emergency exit doors. I tried deleting various parts with the goal of returning it to default behavior of randomly picking between that route and the route where you shoot out the glass in the toy store, but I always seemed to get broken results with whatever I tried deleting; examples include both routes ending up blocked, or the lower route is open but the emergency exit doors are locked. Deleting the "All Changes" section seems to return it, but I do like the harder escalator placement just before the safe room and doing that gets rid of that too.

Marttt 05-05-2021 15:58

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Some events are hard-coded and plugin-dependent like this one:

https://github.com/Attano/Sky/blob/m...stomization.sp

If you search for "iComplexEventID" you will find both maps mentioned above that had to add the "unlock" line.

The rest I didn't read, too much information.

Tank Rush 05-05-2021 20:00

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by Proaxel (Post 2746039)
Maps with added Scavenge events
Dark Carnival Map 2, Swamp Fever Map 1, Hard Rain Map 2, Death Toll Map 2, Death Air Map 4

On these maps, I found that a logic_auto entity is setting convars so that fires from molotovs and gas cans are heavilly nerfed, in that they only last 2.5 sec and their range is significantly shorter.

Fix: In each of these maps' cfgs, delete the following lines from the logic_auto entry.
PHP Code:

    "OnMultiNewRound" "directorBeginScriptsky_scavenge_cans_cvars.nut0-1"
    "OnMapSpawn" "directorBeginScriptsky_scavenge_cans_cvars.nut0-1" 

Alternatively, you may also delete sky_scavenge_cans_cvars.nut from your server's vscripts folder, however I am not sure what may happen when the entity tries to run the script only for it to not be found.
============================================= ================

I also noticed this recently and didn't know how to fix it, the molotovs only lasted 2.5 seconds. Thank you very much for sharing this solution :)

Here is my work, it was one of my first coca events, I created it based on the sky event c8m4_interior :3
PHP Code:

; ===============================================================
; ====== 
EVENTO DE BUSQUEDA DE BOTELLAS DE COLABy Source ======
; ===============================================================
add:
{
    
"classname" "logic_auto"
    "OnMapSpawn" "elevator_number03_leftDisable0-1"
    "OnMapSpawn" "sky_mob_blockeraddoutputmins -155 -300 -820-1"
    "OnMapSpawn" "sky_mob_blockeraddoutputmaxs 155 300 820-1"
    "OnMapSpawn" "sky_mob_blockeraddoutputsolid 20-1"
    "OnMapSpawn" "sky_whitaker_saferoom_hurtaddoutputmins -155 -300 -820-1"
    "OnMapSpawn" "sky_whitaker_saferoom_hurtaddoutputmaxs 155 300 820-1"
    "OnMapSpawn" "sky_whitaker_saferoom_hurtaddoutputsolid 20-1"
    "OnMapSpawn" "sky_intercom_buttonaddoutputmins -8 -8 -80-1"
    "OnMapSpawn" "sky_intercom_buttonaddoutputmaxs 8 8 80-1"
    "OnMapSpawn" "sky_intercom_buttonaddoutputsolid 20-1"
}
; ======= 
NO TOCAR
{
    
"classname" "func_timescale"
    "minBlendRate" "2"
    "desiredTimescale" "0.2"
    "blendDeltaMultiplier" "3.0"
    "acceleration" "0.05"
    "targetname" "sky_timescale"
}
{
    
"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"
}
{
    
"classname" "point_servercommand"
    "targetname" "sky_servercommander"
}
; ========== 
BLOQUES INVISIBLES
sobre barricada y cerco largo
{
    
"origin" "656.219116 3748.716797 445.031311"
    "angles" "0 0.000001 0"    
    "mins" "-590 -5 -350"
    "maxs" "590 5 250"
    "boxmins" "-590 -5 -350"
    "boxmaxs" "590 5 250"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
sobre cerco que esta debajo de la casa de whitaker
{
    
"origin" "1255.878418 3861.517578 445.031281"
    "angles" "0 0.000001 0"    
    "mins" "-5 -110 -250"
    "maxs" "5 110 250"
    "boxmins" "-5 -110 -250"
    "boxmaxs" "5 110 250"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
sobre cerco que esta detras de la casa de whitaker
{
    
"origin" "1832.537231 4588.987305 398.281250"
    "angles" "0 0.000001 0"    
    "mins" "-165 -5 -200"
    "maxs" "165 5 200"
    "boxmins" "-165 -5 -200"
    "boxmaxs" "165 5 200"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
sobre alero del techo en el balcon de la casa de whitaker
{
    
"origin" "1299.625488 3998.468994 361.554260"
    "angles" "0 0.000001 0"    
    "mins" "-55 -25 -15"
    "maxs" "55 25 15"
    "boxmins" "-55 -25 -15"
    "boxmaxs" "55 25 15"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
sobre alero del techo de la casa de whitaker
{
    
"origin" "1461.120239 4317.912598 553.304321"
    "angles" "0 0.000001 0"    
    "mins" "-230 -340 -170"
    "maxs" "230 340 170"
    "boxmins" "-230 -340 -170"
    "boxmaxs" "230 340 170"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
sobre el techo de galeria semi-cubierto de la casa de whitaker
{
    
"origin" "1144.899414 4452.299805 568.866211"
    "angles" "0 0.000001 0"    
    "mins" "-75 -165 -200"
    "maxs" "75 165 200"
    "boxmins" "-75 -165 -200"
    "boxmaxs" "75 165 200"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
    "targetname" "sky_invisible_block_surv"
}
; ========== 
CERCOS AL OTRO LADO DE LA CALLE
{
    
"solid" "6"
    "origin" "193 3748 96"
    "angles" "0 90 0"
    "model"     "models/props_urban/wood_fence002_256.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "704 3748 96"
    "angles" "0 90 0"
    "model"     "models/props_urban/wood_fence002_256.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "449 3748 96"
    "angles" "0 90 0"
    "model"     "models/props_urban/wood_fence002_256.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
; ========== 
CERCOS DEBAJO DE LA CASA DE WHITAKER
{
    
"solid" "6"
    "origin" "1252 3866 91"
    "angles" "0 180 0"
    "model"     "models/props_urban/wood_fence001_256.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "1256 4458 91"
    "angles" "0 180 0"
    "model"     "models/props_urban/wood_fence001_256.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "1256 4191 92"
    "angles" "0 180 0"
    "model"     "models/props_urban/wood_fence001_256.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "1256 4037 91"
    "angles" "0 180 0"
    "model"     "models/props_urban/wood_fence001_64.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
; ========== 
CERCOS EN EL BALCON
{
    
"solid" "6"
    "origin" "1300 3974 215"
    "angles" "0 90 0"
    "model"     "models/props_urban/wood_fence002_128.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "1239 4104 215"
    "angles" "0 0 0"
    "model"     "models/props_urban/wood_fence002_256.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "1360 4002 215"
    "angles" "0 180 0"
    "model"     "models/props_urban/wood_fence002_64.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
; ========== 
BARRICADA A LOS COSTADOS DE LA BARRICADA ROMPIBLE
{
    
"solid" "6"
    "origin" "1106 3751 97"
    "angles" "0 90 0"
    "model"     "models/props_fortifications/barricade001_128_reference.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "1203 3751 98"
    "angles" "0 90 0"
    "model"     "models/props_fortifications/barricade001_128_reference.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
{
    
"solid" "6"
    "origin" "882 3751 96"
    "angles" "0 90 0"
    "model"     "models/props_fortifications/barricade001_128_reference.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
; ====== 
MESITA DONDE ESTA UNA DE LAS BOTELLAS
{
    
"solid" "6"
    "origin" "970 7013 224"
    "angles" "0 0 0"
    "model"     "models/props_interiors/table_picnic.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
; ====== 
CAMARA DE VIGILANCIA
{
    
"solid" "6"
    "origin" "1347 4142 347"
    "angles" "0 90 0"
    "model"     "models/props/cs_assault/camera.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
; ====== 
INTERCOMUNICADOR DENTRO DE LA CASA DE WHITAKER
{
    
"solid" "6"
    "origin" "1480 4040 270"
    "angles" "0 90 0"
    "model"     "models/props_equipment/intercom.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"
}
; ====== 
PUERTA DE LA CASA LADO INTERIOR
{
    
"solid" "6"
    "origin" "1355 4257 217"
    "angles" "0 180 0"
    "model"     "models/props_downtown/door_interior_112_01.mdl"
    "classname"    "prop_dynamic"
    "disableshadows" "1"

; ====== 
MARCA ROJA -oNO PASAR (va detras de la barricada)
{
    
"classname"    "prop_dynamic"
    "targetname" "sky_visual_tank_block"
    "solid" "0"
    "origin" "995 3738 96"
    "angles" "0 90 0"
    "model"    "models/props_placeable/wrong_way.mdl"
    "disableshadows" "1"
}
; ======== 
PUERTA DE WHITAKER DONDE DEBEMOS ENTREGARLE LAS BOTELLAS DE COLA
{
    
"classname"    "prop_dynamic"
    "targetname" "sky_cola_door"
    "glowcolor" "0 255 0"
    "glowstate" "0"
    "solid" "6"
    "origin" "1349 4230 217"
    "angles" "0 180 0"
    "model"    "models/props_doors/gun_store_door.mdl"
    "disableshadows" "1"
}
activador glow de la puerta
{
    
"classname" "logic_timer"
    "targetname" "sky_door_glow_timer"
    "UseRandomTime" "0"
    "StartDisabled" "1"
    "spawnflags" "0"
    "RefireTime" "1"
    "origin" "12280 13070 430"
    "OnTimer" "sky_cola_door,StartGlowing,,0,-1"
    "OnTimer" "sky_cola_door,StopGlowing,,0.5,-1"
}
; ======== 
BARRICADA 
{
    
"classname"    "prop_dynamic"
    "targetname" "sky_barricade_board"
    "solid" "6"
    "origin" "994 3743 96"
    "angles" "0 180 0"
    "model"     "models/props_unique/wooden_barricade.mdl"
    "disableshadows" "1"
}
{
    
"classname"    "prop_physics_override"
    "targetname" "sky_barricade_board"
    "spawnflags" "8"
    "origin" "994 3743 96"
    "angles" "0 180 0"
    "model"    "models/props_unique/wooden_barricade_break1.mdl"
    "disableshadows" "1"
}
{
    
"classname"    "prop_physics_override"
    "targetname" "sky_barricade_board"
    "spawnflags" "8"
    "origin" "994 3743 96"
    "angles" "0 180 0"
    "model"    "models/props_unique/wooden_barricade_break2.mdl"
    "disableshadows" "1"
}
{
    
"classname"    "prop_physics_override"
    "targetname" "sky_barricade_board"
    "spawnflags" "8"
    "origin" "994 3743 96"
    "angles" "0 180 0"
    "model"    "models/props_unique/wooden_barricade_break3.mdl"
    "disableshadows" "1"
}
; ======== 
INTERCOMUNICADOR DE VOZ PARA HABLAR CON WHITAKER
{
    
"classname"    "prop_dynamic"
    "targetname" "sky_intercom_model"
    "glowcolor" "0 255 0"
    "glowstate" "3"
    "glowrange" "800"
    "solid" "0"
    "origin" "1347 4287 275"
    "angles" "0 180 0"
    "model"    "models/props_equipment/intercom.mdl"
    "disableshadows" "1"
}
; ======== 
WHITAKER
{
    
"classname"    "prop_dynamic"
    "targetname" "sky_whitaker"
    "solid" "6"
    "origin" "1490 4063 217"
    "angles" "0 -153 0"
    "model"    "models/deadbodies/chm_fallensurvivor.mdl"
    "disableshadows" "1"
}
; ========= 
BOTELLAS DE COLA (cantidad6 botellas)
{
    
"classname" "point_template"
    "spawnflags" "2"
    "targetname" "sky_cola_spawn"
    "Template01" "sky_cola"
}
{
    
"classname" "prop_physics" (1)
    
"targetname" "sky_cola"
    "spawnflags" "257"
    "glowstate" "3"
    "glowcolor" "255 153 0"
    "model" "models/w_models/weapons/w_cola.mdl"
    "origin" "-177 5697 140"
    "disableshadows" "1"
    "OnPlayerPickup" "sky_door_glow_timer,Enable,,0,-1"
    "OnPlayerPickup" "sky_whitaker_put_the_cola,PlaySound,,0,-1"
}
{
    
"classname" "prop_physics" (2)
    
"targetname" "sky_cola"
    "spawnflags" "257"
    "glowstate" "3"
    "glowcolor" "255 153 0"
    "model" "models/w_models/weapons/w_cola.mdl"
    "origin" "1435 6186 190"
    "disableshadows" "1"
    "OnPlayerPickup" "sky_door_glow_timer,Enable,,0,-1"
    "OnPlayerPickup" "sky_whitaker_put_the_cola,PlaySound,,0,-1"
}
{
    
"classname" "prop_physics" (3)
    
"targetname" "sky_cola"
    "spawnflags" "257"
    "glowstate" "3"
    "glowcolor" "255 153 0"
    "model" "models/w_models/weapons/w_cola.mdl"
    "origin" "-30 4648 140"
    "disableshadows" "1"
    "OnPlayerPickup" "sky_door_glow_timer,Enable,,0,-1"
    "OnPlayerPickup" "sky_whitaker_put_the_cola,PlaySound,,0,-1"
}
{
    
"classname" "prop_physics" (4)
    
"targetname" "sky_cola"
    "spawnflags" "257"
    "glowstate" "3"
    "glowcolor" "255 153 0"
    "model" "models/w_models/weapons/w_cola.mdl"
    "origin" "-562 6434 304"
    "disableshadows" "1"
    "OnPlayerPickup" "sky_door_glow_timer,Enable,,0,-1"
    "OnPlayerPickup" "sky_whitaker_put_the_cola,PlaySound,,0,-1"
}
{
    
"classname" "prop_physics" (5)
    
"targetname" "sky_cola"
    "spawnflags" "257"
    "glowstate" "3"
    "glowcolor" "255 153 0"
    "model" "models/w_models/weapons/w_cola.mdl"
    "origin" "971 7015 258"
    "disableshadows" "1"
    "OnPlayerPickup" "sky_fridge,addoutput,solid 6,0,-1"
    "OnPlayerPickup" "sky_door_glow_timer,Enable,,0,-1"
    "OnPlayerPickup" "sky_whitaker_put_the_cola,PlaySound,,0,-1"
}
{
    
"classname" "prop_physics" (6)
    
"targetname" "sky_cola"
    "spawnflags" "257"
    "glowstate" "3"
    "glowcolor" "255 153 0"
    "model" "models/w_models/weapons/w_cola.mdl"
    "origin" "1093 4985 171"
    "disableshadows" "1"
    "OnPlayerPickup" "sky_door_glow_timer,Enable,,0,-1"
    "OnPlayerPickup" "sky_whitaker_put_the_cola,PlaySound,,0,-1"
}
; ======== 
WHITAKER HABLANDOTODOS CON EL MISMO ORIGEN (este tambien debe tener el mismo origen del intercomunicador)
"whitaker: muy buenas"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/comeupstairslongerd01.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_hello"
    "origin" "1347 4287 275"
}
"whitaker: me he atrincherado en el tejado con provisiones de sobra"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/wayblockedlongere01.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_i_am_barricade"
    "origin" "1347 4287 275"
}
"whitaker: pero me olvide los refrescos"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/wayblockedlongere02.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_forget_cola"
    "origin" "1347 4287 275"
}
"whitaker: necesito unas cocas, y no abrire la barricada hasta que no las tenga"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/wayblockedlongerk02.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_bring_the_cola"
    "origin" "1347 4287 275"
}
"whitaker: pon las latas en la ranura!"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/missioncompleted01.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_put_the_cola"
    "origin" "1347 4287 275"
}
"whitaker: muy agradecido, ahora a tomarmelo adentro no pienso ayudarlos jajaja ahh solo queria ver que caras pondriais.. alla vamos!!"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/missioncompleted12.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_joke"
    "origin" "1347 4287 275"
}
"whitaker: espero que no sean lights, tapaos los oidos, se va liar un buen estruendo"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/missioncompleted09.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_diet_cola"
    "origin" "1347 4287 275"
}
"whitaker: en cantando de averlos conocido"
{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "npc/whitaker/defendchatter15.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "1500"
    "spawnflags" "48"
    "targetname" "sky_whitaker_warning"
    "origin" "1347 4287 275"
}
; ======== 
EFECTOS DE EXPLOSION EN LA BARRICADA
en la parte superior de la barricada
{
    
"classname" "info_particle_system"
    "effect_name" "weapon_grenadelauncher_dirt"
    "targetname" "sky_particle_explode"
    "origin" "1050 3746 226"
}
{
    
"classname" "info_particle_system"
    "effect_name" "weapon_grenadelauncher_dirt"
    "targetname" "sky_particle_explode"
    "origin" "946 3746 226"
}
en la parte inferior de la barricada
{
    
"classname" "info_particle_system"
    "effect_name" "weapon_grenadelauncher_dirt"
    "targetname" "sky_particle_explode"
    "origin" "946 3746 110"
}
{
    
"classname" "info_particle_system"
    "effect_name" "weapon_grenadelauncher_dirt"
    "targetname" "sky_particle_explode"
    "origin" "1050 3746 110"
}
detras de la barricada sobre el sueloa un metro 
{
    
"classname" "info_particle_system"
    "effect_name" "weapon_grenadelauncher_dirt"
    "targetname" "sky_particle_explode"
    "origin" "996 3658 102"
}
en el medio de la barricadalos dos con el mismo origenigual origen del latido de corazon 
{
    
"classname" "info_particle_system"
    "effect_name" "weapon_grenadelauncher_dirt"
    "targetname" "sky_particle_explode"
    "origin" "994 3746 161"
}
{
    
"classname" "env_explosion"
    "fireballsprite" "sprites/zerogxplode.spr"
    "iMagnitude" "180"
    "iRadiusOverride" "150"
    "rendermode" "5"
    "spawnflags" "1852"
    "targetname" "sky_grenade_launcher_explode"
    "origin" "994 3746 161"
}
sonido de latido de corazon
{
    
"classname" "ambient_generic"
    "health" "8"
    "message" "player/heartbeatloop.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "5555"
    "spawnflags" "49"
    "targetname" "sky_heart_sound"
    "origin" "994 3746 161"
}
; ======== 
INSTRUCTOR DEL EVENTOLOS DOS CON EL MISMO ORIGEN (mismo origen del intercomunicador)
{
    
"classname" "env_instructor_hint"
    "targetname" "sky_instructor_cola_hint"
    "hint_target" "sky_instructor_cola_target"
    "hint_caption" "Encuentra los paquetes de coca-cola para Whitaker!"
    "hint_timeout" "7"
    "hint_range" "5000"
    "hint_auto_start" "0"
    "hint_icon_onscreen" "icon_alert_red"
    "hint_icon_offscreen" "icon_alert"
    "hint_allow_nodraw_target" "1"
    "hint_color" "255 255 255"
    "hint_static" "0"
    "hint_shakeoption" "0"
    "hint_pulseoption" "0"
    "hint_nooffscreen" "0"
    "hint_icon_offset" "0"
    "hint_forcecaption" "0"
    "hint_alphaoption" "0"
    "origin" "1347 4287 275"
}
{
    
"classname" "info_target"
    "targetname" "sky_instructor_cola_target"
    "spawnflags" "1"
    "origin" "1347 4287 275"
}
; ======== 
NO TOCAR
{
    
"targetname" "sky_filter_survs"
    "classname" "filter_activator_team"
    "filterteam" "2"
    "Negated" "0"
}
{
    
"targetname" "sky_filter_mobs"
    "classname" "filter_activator_class"
    "filterclass" "infected"
    "Negated" "0"
}
;========
LANZAGRANDAS DE WHITAKER
{
    
"classname"    "prop_dynamic"
    "targetname" "sky_launcher_grenade"
    "parentname" "sky_he_grenade_tracktrain"
    "renderamt" "0"
    "rendercolor" "255 255 255"
    "rendermode" "1"
    "solid" "0"
    "angles" "19 333 0"
    "origin" "1462.534302 4051.657715 255.304245"
    "model"    "models/w_models/weapons/w_he_grenade.mdl"
    "disableshadows" "1"
}
; ======== 
EFECTO DE HUMO EN EL LANZAGRANDAS DE QUE LLEVA WHITAKER (el mismo origen del lanzagranadas)
{
    
"classname" "info_particle_system"
    "effect_name" "weapon_muzzle_flash_shotgun"
    "targetname" "sky_particle_grenade_smoke"
    "origin" "1462.534302 4051.657715 255.304245"
}
; ======== 
EFECTO DE SONIDO CUANDO SE USA EL LANZAGRANADAS (el mismo origen del lanzagranadas)
{
    
"classname" "func_tracktrain"
    "targetname" "sky_he_grenade_tracktrain"
    "target" "sky_he_grenade_path1"
    "orientationtype" "0"
    "spawnflags" "539"
    "height" "0"
    "StartSound" "weapons/grenade_launcher/grenadefire/grenade_launcher_fire_1.wav"
    "StopSound" "weapons/hegrenade/explode4.wav"
    "startspeed" "300"
    "velocitytype" "0"
    "volume" "10"
    "wheels" "10"
    "origin" "1462.534302 4051.657715 255.304245"
}
; ======== 
ESTE ES EL RECORRIDO DEL DISPARO DEL LANZAGRANADAS
empieza aqui (el mismo origen del lanzagranadas
{
    
"classname" "path_track"
    "targetname" "sky_he_grenade_path1"
    "target" "sky_he_grenade_path2"
    "orientationtype" "0"
    "origin" "1462.534302 4051.657715 255.304245"
}
termina aqui en el suelo (el mismo origen de efecto de explosion detras de la barricada a un metro)
{
    
"classname" "path_track"
    "targetname" "sky_he_grenade_path2"
    "orientationtype" "0"
    "origin" "996 3658 102"
}
; ======== 
CON ESTO EVITARAS QUE LOS INFECTADOS ENTREN AL REFUGIO DE WHITAKER 
{
    
"classname" "trigger_hurt"
    "thinkalways" "0"
    "targetname" "sky_whitaker_saferoom_hurt"
    "filtername" "sky_filter_mobs"
    "StartDisabled" "0"
    "spawnflags" "3"
    "origin" "1507.890015 4335.212891 297.012390"
    "nodmgforce" "0"
    "damagetype" "0"
    "damagemodel" "0"
    "damagecap" "20"
    "damage" "5000"
}
{
    
"classname" "func_nav_attribute_region"
    "targetname" "sky_mob_blocker"
    "spawnflags" "8194"
    "origin" "1507.890015 4335.212891 297.012390"
}
{
    
"targetname" "sky_filter_mobs"
    "classname" "filter_activator_class"
    "filterclass" "infected"
    "Negated" "0"
}
; ======== 
ACTIVADOR DEL EVENTOEL MISMO ORIGEN DEL INTERCOMUNICADOR
{
    
"classname" "func_button"
    "targetname" "sky_intercom_button"
    "origin" "1347 4287 275"
    "spawnflags" "1025"
    "speed" "5"
    "OnPressed" "sky_whitaker_gift_items_spawn,ForceSpawn,,0,-1"
    "OnPressed" "sky_intercom_model,stopglowing,,0,-1"
    "OnPressed" "sky_elevator_crowbar,startglowing,,0,-1"
    "OnPressed" "sky_whitaker_speech_relay,Trigger,,0,-1"
    "OnPressed" "sky_cola_relay,Trigger,,9.9,-1"
    "OnPressed" "!self,Kill,,0.1,-1"
}
{
    
"classname" "logic_relay"
    "origin" "1347 4287 275"
    "targetname" "sky_whitaker_speech_relay"
    "StartDisabled" "0"
    "spawnflags" "0"
    "OnTrigger" "sky_whitaker_hello,PlaySound,,0,-1"
    "OnTrigger" "!activator,speakresponseconcept,ScenarioJoin,0.3,-1"
    "OnTrigger" "sky_whitaker_i_am_barricade,PlaySound,,0.6,-1"
    "OnTrigger" "sky_whitaker_i_am_barricade,FadeOut,1,1.4,-1"
    "OnTrigger" "sky_whitaker_forget_cola,PlaySound,,2,-1"
    "OnTrigger" "sky_whitaker_bring_the_cola,PlaySound,,5.7,-1"
    "OnTrigger" "!activator,speakresponseconcept,SurvivorBotYesReady,9.8,-1"
}
; ======== 
ACTIVADOR PARA ECHAR LAS BOTELLASACERCATE A LA PUERTA Y TOMAR ESE ORIGEN
{
    
"classname" "point_prop_use_target"
    "nozzle" "sky_cola_door"
    "origin" "1331.608398 4227.569336 279.304260"
    "spawnflags" "2"
    "targetname" "sky_cola_target"
    "OnUseCancelled" "sky_cola_door,SetAnimation,gun_store_door_idle,0,-1"
    "OnUseStarted" "sky_cola_door,SetAnimation,gun_store_door_open,0,-1"
    "OnUseFinished" "sky_cola_door,SetAnimation,gun_store_door_close,0,-1"
    "OnUseFinished" "sky_servercommander,command,sm_add_canister_points 12,0,6"
    "OnUseFinished" "sky_cola_display_1,Add,1,0,-1"
    "OnUseFinished" "sky_cola_display_2,Add,1,0,-1"
    "OnUseFinished" "sky_cola_display_3,Add,1,0,-1"
    "OnUseFinished" "sky_cola_display_4,Add,1,0,-1"
    "OnUseFinished" "sky_cola_display_5,Add,1,0,-1"
    "OnUseFinished" "sky_cola_display_6,Add,1,0,-1"
    "OnUseFinished" "sky_cola_counter,Add,1,0,-1"
}
{
    
"classname" "math_counter"
    "max" "6"
    "targetname" "sky_cola_counter"
    "OnHitMax" "sky_scavenge_mission_completed_relay,Trigger,,0,-1"
    "OnHitMax" "sky_whitaker_help_relay,Trigger,,20,-1"
    "OnHitMax" "sky_instructor_explosion_hint,ShowHint,,17,-1"
}
; ======== 
ACA ESTAN LAS VOCES
{
    
"classname" "logic_relay"
    "origin" "1347 4287 288"
    "targetname" "sky_scavenge_mission_completed_relay"
    "StartDisabled" "0"
    "spawnflags" "0"
    "OnTrigger" "sky_whitaker_fake_cola,ForceSpawn,,0,-1"
    "OnTrigger" "sky_whitaker_joke,PlaySound,,0,-1"
    "OnTrigger" "sky_whitaker_diet_cola,PlaySound,,14,-1"
    "OnTrigger" "sky_cola_door,stopglowing,,1,-1"
    "OnTrigger" "sky_door_glow_timer,Kill,,0,-1"
    "OnTrigger" "sky_cola_target,Kill,,0,-1"
}
; ======== 
TRIGGERS
{
    
"classname" "logic_relay"
    "origin" "1347 4287 288"
    "targetname" "sky_whitaker_help_relay"
    "StartDisabled" "0"
    "spawnflags" "0"
    "OnTrigger" "director,BeginScript,sky_events_silent.nut,2,-1"
    "OnTrigger" "director,EndScript,sky_events_silent.nut,6,-1"
    "OnTrigger" "sky_launcher_grenade,Alpha,255,0,-1"
    "OnTrigger" "sky_launcher_grenade,Kill,,0.3,-1"
    "OnTrigger" "sky_visual_tank_block,Kill,,0.3,-1"
    "OnTrigger" "sky_whitaker_saferoom_door,Open,,0,-1"
    "OnTrigger" "sky_whitaker_saferoom_door,Close,,1.5,-1"
    "OnTrigger" "sky_whitaker_saferoom_door,startglowing,,1.7,-1"
    "OnTrigger" "sky_instructor_explosion_hint,EndHint,,0.3,-1"
    "OnTrigger" "sky_instructor_explosion_hint,Kill,,0.4,-1"
    "OnTrigger" "sky_instructor_saferoom_hint,ShowHint,,1.7,-1"
    "OnTrigger" "sky_he_grenade_tracktrain,StartForward,,0.2,-1"
    "OnTrigger" "sky_barricade_door,SetBreakable,,0.2,-1"
    "OnTrigger" "sky_grenade_launcher_explode,Explode,,0.3,-1"
    "OnTrigger" "sky_particle_grenade_smoke,Start,,0.3,-1"
    "OnTrigger" "sky_particle_explode,Start,,0.3,-1"
    "OnTrigger" "sky_barricade_board,Break,,0.3,-1"
    "OnTrigger" "sky_timescale,Start,,0.2,-1"
    "OnTrigger" "sky_timescale,Stop,,1.1,-1"
    "OnTrigger" "sky_bt_colorcorrect,Enable,,0.2,-1"
    "OnTrigger" "sky_bt_colorcorrect,Disable,,1.1,-1"
    "OnTrigger" "sky_heart_sound,PlaySound,,0.2,-1"
    "OnTrigger" "sky_heart_sound,FadeOut,4,1.1,-1"
    "OnTrigger" "sky_whitaker_warning,PlaySound,,0.3,-1"
    "OnTrigger" "sky_invisible_block_surv,kill,,0.3,-1"
}
; ======= 
PUERTA ELIMINADA DE WHITAKER
filter
:
{
"hammerid" "1483922"


https://i.imgur.com/6RiN1Wm.jpg

The event works fine, but I have a little problem in this section:
PHP Code:

; ======== CON ESTO EVITARAS QUE LOS INFECTADOS ENTREN AL REFUGIO DE WHITAKER 
{
    
"classname" "trigger_hurt"
    "thinkalways" "0"
    "targetname" "sky_whitaker_saferoom_hurt"
    "filtername" "sky_filter_mobs"
    "StartDisabled" "0"
    "spawnflags" "3"
    "origin" "1507.890015 4335.212891 297.012390"
    "nodmgforce" "0"
    "damagetype" "0"
    "damagemodel" "0"
    "damagecap" "20"
    "damage" "5000"
}
{
    
"classname" "func_nav_attribute_region"
    "targetname" "sky_mob_blocker"
    "spawnflags" "8194"
    "origin" "1507.890015 4335.212891 297.012390"
}
{
    
"targetname" "sky_filter_mobs"
    "classname" "filter_activator_class"
    "filterclass" "infected"
    "Negated" "0"


I understand that with this I can prevent special or common infected from entering Whitaker's safe room, but it seems to be not working well or maybe it is badly done or something else needs to be added.
If anyone knows how to solve this, do not hesitate to reply to this thread.

Balloons 05-06-2021 04:48

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by Proaxel (Post 2746039)
...

First, you're an MVP for going through all of these map cfgs omg.
Second, Have you encountered any issues with the starting safe room door having an invisible wall on some maps?

Proaxel 05-06-2021 17:56

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by Balloons (Post 2746087)
First, you're an MVP for going through all of these map cfgs omg.
Second, Have you encountered any issues with the starting safe room door having an invisible wall on some maps?

We have had no issues with safe rooms, but I did notice these entries in some config files have this under the "exploits blocked" category.

This specific one was taken from c2m2_fairgrounds:
PHP Code:

add:
; --- 
block saferoom trigger bounds (fixes versus start before saferoom opened)
{
    ; 
invisible block inside saferoom door
    
"targetname" "block_versus_start_checkpoint"
    "origin" "1742 2568 0"
    "mins" "-8 0 0"
    "maxs" "0 430 128"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
}

; <
remove block as soon as door is opened>
modify:
{
    
match:
    {
        
"targetname" "checkpoint_exit"
    
}
    
insert:
    {
        
"OnOpen" "block_versus_start_checkpointKill0-1"
    
}


Perhaps something on your server like a plugin is preventing this from being run properly. Maybe try deleting every occurrence of this in each cfg file and see if the issue still occurs. I'm not even sure the exploit that this entry is supposed to fix is still present as of the TLS update anyway.

For those that still didn't read my entire last post because it was too long, here is an excerpt describing problems I still need help with:
Quote:

Unsolved Problems:
Map 4 of Blood Harvest:
Quote:

Tank spawn will be static at 21%. The Tank spawns in one of the Trucks and has to hit the explosive barrels inside, this will send the Tank flying to the Survivors location, Everyone will see the cut-scene from the Tank's Point of View!
I tried this about half a dozen times, only once did the tank actually trigger the explosion and the cutscene. He didn't even go flying. All the other times, the tank would just stand there doing nothing in the truck and eventually suicide for being stuck. It's obvious this was meant for a human player only.

I have zero knowledge how these scripted sequences work, so I have no clue on how to fix. Perhaps there is a way to force the explosion to happen shortly after the tank spawn is triggered? Then it's just a matter of making sure the AI tank actually flies to where the survivors triggered it.

The Parish Map 3:
Quote:

The route through the Cemetery is modified to be longer.
Roughly 90% of the time, all the entrances are blocked, thus survivors are unable to proceed.
https://i.imgur.com/2l54Ei6.png

I'm unable to determine what is causing this issue. I can't find any entry or comment in the cfg that suggests what may be causing this.
The closest lead I have is that deleting everything in the section labelled "Sky.cfg by: Electrik, JaneDoe, Visor, vintik" seems to stop this from happening, but that also deletes the exploding barrels event as well. But it's reason to believe the cause is somewhere in that section.

Dead Center Map 3:
The config seems to be forcing the map to spawn with the lower route with the emergency exit doors. I tried deleting various parts with the goal of returning it to default behavior of randomly picking between that route and the route where you shoot out the glass in the toy store, but I always seemed to get broken results with whatever I tried deleting; examples include both routes ending up blocked, or the lower route is open but the emergency exit doors are locked. Deleting the "All Changes" section seems to return it, but I do like the harder escalator placement just before the safe room and doing that gets rid of that too.

HarryPotter 05-08-2021 10:17

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by Proaxel (Post 2746039)

The Parish Map 3:

Roughly 90% of the time, all the entrances are blocked, thus survivors are unable to proceed.
https://i.imgur.com/2l54Ei6.png

delete this line I think
PHP Code:

"OnMapSpawn" "template_Path_DForceSpawn0-1" 


HarryPotter 05-08-2021 10:34

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by Tank Rush (Post 2746058)
Here is my work, it was one of my first coca events, I created it based on the sky event c8m4_interior :3

I copy your work and test, it seems that
you forgot to add
PHP Code:

{
    
"classname" "logic_relay"
    "origin" "1347 4287 280"
    "targetname" "sky_cola_relay"
    "StartDisabled" "0"
    "spawnflags" "0"
    "OnTrigger" "sky_instructor_cola_hint,ShowHint,,0,-1"
    "OnTrigger" "sky_cola_spawn,ForceSpawn,,0,-1"


anyway, good job

Proaxel 05-13-2021 14:43

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by HarryPotter (Post 2746275)
delete this line I think
PHP Code:

"OnMapSpawn" "template_Path_DForceSpawn0-1" 


This seems to be working, thanks! I reloaded the map at least a dozen times just to make sure.

AlexAlcala 05-15-2021 21:25

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
I have modifications on my server, new things, I can help you create your ideas, I will also finish some "strippers" to share with the community :wink:


a small contribution: :bee:

"c4m5_milltown_escape"

PHP Code:

modify:

{    
    {
        
match:
        {
            
"targetname" "radio"
        
}
        
insert:
        {
            
"startdisabled" "1"
        
}
    }
    
        {    
        
match:
        {
            
"hammerid" "12253"
        
}
        
insert:
        {
        
"OnOpen" "!Rochelle,speakresponseconcept,_c4m1Intro10,0,1"
        "OnOpen" "gascans,TurnGlowsOn,,0,1"
        "OnOpen" "prop_gas_nozzle,startglowing,,0,1"
        "OnOpen" "scavenge_display,TurnOn,,0,1"
        "OnOpen" "!self,Kill,,20,1"    
        "OnOpen" "director,PanicEvent,,1,-1"    
        
}
    }
}


add:

{
    
"classname" "point_servercommand"
    "targetname" "servercommander"
}

{
    
"classname" "point_prop_use_target"
    "nozzle" "prop_gas_nozzle"
    "origin" "-5469.31 6770.03 161.82"
    "spawnflags" "1"
    "targetname" "gas_target"
    "OnUseFinished" "gas_counter,Add,1,0,-1"
    "OnUseFinished" "servercommander,command,sm_add_canister_points 12,0,6"
}


{
    
"classname" "game_scavenge_progress_display"
    "targetname" "scavenge_display"
    "max" "5"
}
{
    
"classname" "math_counter"
    "max" "5"
    "targetname" "gas_counter"
    "OnHitMax" "relay,Trigger,,0,-1"
}


{
    
"classname" "logic_relay"
    "targetname" "relay"
    "OnTrigger" "radio,Enable,,0,-1"
    "OnTrigger" "scavenge_display,TurnOff,,0,-1"
    "OnTrigger" "prop_gas_nozzle,stopglowing,,0,-1"
    "OnTrigger" "gas_target,Kill,,0,-1"
    "OnTrigger" "generator_sound,PlaySound,,0,-1"
}



add:

{
    
"classname" "prop_dynamic"
    "angles" "0.00 233.65 23.00"
    "model" "models/props_vehicles/radio_generator_fillup.mdl"
    "glowcolor" "255 0 0"
    "glowstate" "0"
    "glowrange" "1500"
    "solid" "6"
    "targetname" "prop_gas_nozzle"
    "origin" "-5412.58 6733.34 126.15"
}


{
    
"classname" "weapon_scavenge_item_spawn"
    "angles" "0 0 0"
    "glowstate" "0"
    "solid" "6"
    "spawnflags" "1"
    "targetname" "gascans"
    "origin" "-5339.86 6994.24 131.00"
}
{
    
"classname" "weapon_scavenge_item_spawn"
    "angles" "0 0 0"
    "glowstate" "0"
    "solid" "6"
    "spawnflags" "1"
    "targetname" "gascans"
    "origin" "-5339.86 6994.24 131.00"
}
{
    
"classname" "weapon_scavenge_item_spawn"
    "angles" "0 0 0"
    "glowstate" "0"
    "solid" "6"
    "spawnflags" "1"
    "targetname" "gascans"
    "origin" "-5339.86 6994.24 131.00"
}
{
    
"classname" "weapon_scavenge_item_spawn"
    "angles" "0 0 0"
    "glowstate" "0"
    "solid" "6"
    "spawnflags" "1"
    "targetname" "gascans"
    "origin" "-5339.86 6994.24 131.00"
}
{
    
"classname" "weapon_scavenge_item_spawn"
    "angles" "0 0 0"
    "glowstate" "0"
    "solid" "6"
    "spawnflags" "1"
    "targetname" "gascans"
    "origin" "-5339.86 6994.24 131.00"
}


{
    
"classname" "ambient_generic"
    "health" "10"
    "message" "ambient/generator/generator_start_run_loop.wav"
    "pitch" "100"
    "pitchstart" "100"
    "radius" "2500"
    "spawnflags" "48"
    "targetname" "generator_sound"
    "origin" "-5412.58 6733.34 126.15"



AlexAlcala 05-16-2021 00:17

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by Tank Rush (Post 2746058)
The event works fine, but I have a little problem in this section:
PHP Code:

; ======== CON ESTO EVITARAS QUE LOS INFECTADOS ENTREN AL REFUGIO DE WHITAKER 
{
    
"classname" "trigger_hurt"
    "thinkalways" "0"
    "targetname" "sky_whitaker_saferoom_hurt"
    "filtername" "sky_filter_mobs"
    "StartDisabled" "0"
    "spawnflags" "3"
    "origin" "1507.890015 4335.212891 297.012390"
    "nodmgforce" "0"
    "damagetype" "0"
    "damagemodel" "0"
    "damagecap" "20"
    "damage" "5000"
}
{
    
"classname" "func_nav_attribute_region"
    "targetname" "sky_mob_blocker"
    "spawnflags" "8194"
    "origin" "1507.890015 4335.212891 297.012390"
}
{
    
"targetname" "sky_filter_mobs"
    "classname" "filter_activator_class"
    "filterclass" "infected"
    "Negated" "0"


I understand that with this I can prevent special or common infected from entering Whitaker's safe room, but it seems to be not working well or maybe it is badly done or something else needs to be added.
If anyone knows how to solve this, do not hesitate to reply to this thread.



PHP Code:

{
    
"targetname" "sky_filter_mobs"
    "classname" "filter_activator_class"
    "filterteam" "3"
    "Negated" "0"



user2000 05-16-2021 01:17

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2746914)
I have modifications on my server, new things, I can help you create your ideas, I will also finish some "strippers" to share with the community :wink:


a small contribution: :bee:

"c4m5_milltown_escape"

thanks for sharing :)

AlexAlcala 05-16-2021 03:14

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by user2000 (Post 2746927)
thanks for sharing :)


no problem, I still have more to share, if you want me to make any special changes, let me know :bee:

marki89 05-16-2021 11:21

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2746932)
no problem, I still have more to share, if you want me to make any special changes, let me know :bee:


Hi, how are you? Do you have an event for The Last Stand? :cry:

AlexAlcala 05-16-2021 14:53

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2746981)
Hi, how are you? Do you have an event for The Last Stand? :cry:

sure yes, like 15 new events, but I have to separate them

Test:
https://youtu.be/UFd1T5qGO2Q

marki89 05-16-2021 15:08

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2746998)
sure yes, like 15 new events, but I have to separate them

Test:
https://youtu.be/UFd1T5qGO2Q

events for each chapter, I saw that you have a boomer with a heli can it be? I think I saw it in the first map, that of the plane is very good!

AlexAlcala 05-17-2021 08:39

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747000)
events for each chapter, I saw that you have a boomer with a heli can it be? I think I saw it in the first map, that of the plane is very good!

hahahaha, if I have a helicopter with 2 boomers firing, I also have an event to drive a boat to a speedboat and build the generator at the end :bee:


https://i.ibb.co/ZxPz3Rj/eventos.jpg

these are some of the events that I have :bacon:

marki89 05-17-2021 09:15

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2747057)
hahahaha, if I have a helicopter with 2 boomers firing, I also have an event to drive a boat to a speedboat and build the generator at the end :bee:


https://i.ibb.co/ZxPz3Rj/eventos.jpg

these are some of the events that I have :bacon:


this very good! could you pass them to me :cry: :oops: :shock:

AlexAlcala 05-17-2021 12:05

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747061)
this very good! could you pass them to me :cry: :oops: :shock:

At the moment I have it privately, I will contribute little by little when my events are 100% :bee:

marki89 05-17-2021 18:00

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2747082)
At the moment I have it privately, I will contribute little by little when my events are 100% :bee:

ok, sorry for taking your time, greetings from Argentina :up:

marki89 05-18-2021 20:25

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
someone from here has an event in dead center ( c1m3_mall )

AlexAlcala 05-19-2021 12:59

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747242)
someone from here has an event in dead center ( c1m3_mall )


Something small :bee:

PHP Code:

{
"origin" "5384 -2624 384"
"angles" "0 0 0"
"model" "*148"
"spawnflags" "1"
"filtername" "filter_survivor"
"classname" "trigger_once"
"OnTrigger" "!activator,speakresponseconcept,PlayerWarnCareful,0,1"

"OnTrigger" "director,PanicEvent,,2.5,-1"
"OnTrigger" "trigger_camara1*,Enable,,0,-1"
"OnTrigger" "camara1*,StartGlowing,,0,-1"
"OnTrigger" "camara1a,SetAnimation,ref,0,-1"
}

{
"targetname" "aviso_camara1"
"hint_caption" "ĄDispara, de muy cerca, a los objetos de silueta roja brillante!"
"hint_icon_onscreen" "icon_tip"
"hint_color" "249 247 151"
"hint_static" "1"
"classname" "env_instructor_hint"
}
{
"targetname" "filtro_boton_camara1"
"damagetype" "2"
"Negated" "0"
"classname" "filter_damage_type"
}

{
"origin" "5328 -3487.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1a"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1a,Unlock,,0,-1"
"OnEndTouch" "boton_camara1a,Lock,,0,-1"
}
{
"origin" "5328 -3487.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1a"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
"OnAnimationBegun" "aviso_camara1,ShowHint,,0,-1"
}
{
"origin" "5328 -3487.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1a"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1a,Kill,,0,-1"
"OnPressed" "camara1a,Kill,,0,-1"
"OnPressed" "trigger_camara1a,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6031.6 -3328.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1b"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1b,Unlock,,0,-1"
"OnEndTouch" "boton_camara1b,Lock,,0,-1"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1b"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1b"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1b,Kill,,0,-1"
"OnPressed" "camara1b,Kill,,0,-1"
"OnPressed" "trigger_camara1b,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6031.6 -3328.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1c"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1c,Unlock,,0,-1"
"OnEndTouch" "boton_camara1c,Lock,,0,-1"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1c"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1c"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1c,Kill,,0,-1"
"OnPressed" "camara1c,Kill,,0,-1"
"OnPressed" "trigger_camara1c,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7503.2 -3488.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1d"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1d,Unlock,,0,-1"
"OnEndTouch" "boton_camara1d,Lock,,0,-1"
}
{
"origin" "7503.2 -3488.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1d"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7503.2 -3488.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1d"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1d,Kill,,0,-1"
"OnPressed" "camara1d,Kill,,0,-1"
"OnPressed" "trigger_camara1d,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6448 -2943.6 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1e"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1e,Unlock,,0,-1"
"OnEndTouch" "boton_camara1e,Lock,,0,-1"
}
{
"origin" "6448 -2943.6 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1e"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6448 -2943.6 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1e"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1e,Kill,,0,-1"
"OnPressed" "camara1e,Kill,,0,-1"
"OnPressed" "trigger_camara1e,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7184 -3007.8 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1f"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1f,Unlock,,0,-1"
"OnEndTouch" "boton_camara1f,Lock,,0,-1"
}
{
"origin" "7184 -3007.8 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1f"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7184 -3007.8 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1f"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1f,Kill,,0,-1"
"OnPressed" "camara1f,Kill,,0,-1"
"OnPressed" "trigger_camara1f,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5615.7 -2568.2 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1g"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1g,Unlock,,0,-1"
"OnEndTouch" "boton_camara1g,Lock,,0,-1"
}
{
"origin" "5615.7 -2568.2 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1g"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "5615.7 -2568.2 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1g"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1g,Kill,,0,-1"
"OnPressed" "camara1g,Kill,,0,-1"
"OnPressed" "trigger_camara1g,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7504.3 -2624.3 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1h"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1h,Unlock,,0,-1"
"OnEndTouch" "boton_camara1h,Lock,,0,-1"
}
{
"origin" "7504.3 -2624.3 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1h"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7504.3 -2624.3 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1h"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1h,Kill,,0,-1"
"OnPressed" "camara1h,Kill,,0,-1"
"OnPressed" "trigger_camara1h,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5551.3 -1824.4 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1i"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1i,Unlock,,0,-1"
"OnEndTouch" "boton_camara1i,Lock,,0,-1"
}
{
"origin" "5551.3 -1824.4 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1i"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "5551.3 -1824.4 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1i"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1i,Kill,,0,-1"
"OnPressed" "camara1i,Kill,,0,-1"
"OnPressed" "trigger_camara1i,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6319.9 -1823.7 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1j"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1j,Unlock,,0,-1"
"OnEndTouch" "boton_camara1j,Lock,,0,-1"
}
{
"origin" "6319.9 -1823.7 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1j"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6319.9 -1823.7 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1j"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1j,Kill,,0,-1"
"OnPressed" "camara1j,Kill,,0,-1"
"OnPressed" "trigger_camara1j,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6831.7 -1888.4 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1k"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1k,Unlock,,0,-1"
"OnEndTouch" "boton_camara1k,Lock,,0,-1"
}
{
"origin" "6831.7 -1888.4 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1k"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6831.7 -1888.4 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1k"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1k,Kill,,0,-1"
"OnPressed" "camara1k,Kill,,0,-1"
"OnPressed" "trigger_camara1k,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5298 -2880 312"
"targetname" "laser1a"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1a"
"LightningEnd" "target_laser1a"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 312"
"angles" "0 0 0"
"targetname" "target_laser1a"
"classname" "info_target"
}
{
"origin" "5298 -2880 344"
"targetname" "laser1b"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1b"
"LightningEnd" "target_laser1b"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 344"
"angles" "0 0 0"
"targetname" "target_laser1b"
"classname" "info_target"
}
{
"origin" "5298 -2880 376"
"targetname" "laser1c"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1c"
"LightningEnd" "target_laser1c"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 376"
"angles" "0 0 0"
"targetname" "target_laser1c"
"classname" "info_target"
}
{
"origin" "5298 -2880 408"
"targetname" "laser1d"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1d"
"LightningEnd" "target_laser1d"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 408"
"angles" "0 0 0"
"targetname" "target_laser1d"
"classname" "info_target"
}
{
"origin" "5298 -2880 440"
"targetname" "laser1e"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1e"
"LightningEnd" "target_laser1e"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 440"
"targetname" "target_laser1e"
"spawnflags" "0"
"classname" "info_target"
}

{
"origin" "5299 -2624 384"
"angles" "0 0 0"
"model" "*148"
"targetname" "hurt_laser1"
"spawnflags" "67"
"damagetype" "8"
"damagecap" "4"
"damage" "4"
"classname" "trigger_hurt"
}
{
    
"origin" "5294 -2624 326"
    "targetname" "block_laser1"
    "mins" "0 -236  0"
    "maxs" "0 236 114"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_player_blocker"
}

{
"targetname" "contador_laser1"
"max" "11"
"classname" "math_counter"
"OnHitMax" "aviso_camara1,EndHint,,0,-1"
"OnHitMax" "aviso_camara1,Kill,,0.1,-1"

"OnHitMax" "evento_laser1,Trigger,,0,-1"
}
{
"targetname" "evento_laser1"
"classname" "logic_relay"
"OnTrigger" "laser1*,TurnOff,,0.1,-1"
"OnTrigger" "target_laser1*,Kill,,0,-1"
"OnTrigger" "hurt_laser1,Kill,,0,-1"
"OnTrigger" "block_laser1,Kill,,0,-1"

"OnTrigger" "director,PanicEvent,,0,-1"



marki89 05-19-2021 16:11

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2747290)
Something small :bee:

PHP Code:

{
"origin" "5384 -2624 384"
"angles" "0 0 0"
"model" "*148"
"spawnflags" "1"
"filtername" "filter_survivor"
"classname" "trigger_once"
"OnTrigger" "!activator,speakresponseconcept,PlayerWarnCareful,0,1"

"OnTrigger" "director,PanicEvent,,2.5,-1"
"OnTrigger" "trigger_camara1*,Enable,,0,-1"
"OnTrigger" "camara1*,StartGlowing,,0,-1"
"OnTrigger" "camara1a,SetAnimation,ref,0,-1"
}

{
"targetname" "aviso_camara1"
"hint_caption" "ĄDispara, de muy cerca, a los objetos de silueta roja brillante!"
"hint_icon_onscreen" "icon_tip"
"hint_color" "249 247 151"
"hint_static" "1"
"classname" "env_instructor_hint"
}
{
"targetname" "filtro_boton_camara1"
"damagetype" "2"
"Negated" "0"
"classname" "filter_damage_type"
}

{
"origin" "5328 -3487.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1a"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1a,Unlock,,0,-1"
"OnEndTouch" "boton_camara1a,Lock,,0,-1"
}
{
"origin" "5328 -3487.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1a"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
"OnAnimationBegun" "aviso_camara1,ShowHint,,0,-1"
}
{
"origin" "5328 -3487.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1a"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1a,Kill,,0,-1"
"OnPressed" "camara1a,Kill,,0,-1"
"OnPressed" "trigger_camara1a,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6031.6 -3328.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1b"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1b,Unlock,,0,-1"
"OnEndTouch" "boton_camara1b,Lock,,0,-1"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1b"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1b"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1b,Kill,,0,-1"
"OnPressed" "camara1b,Kill,,0,-1"
"OnPressed" "trigger_camara1b,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6031.6 -3328.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1c"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1c,Unlock,,0,-1"
"OnEndTouch" "boton_camara1c,Lock,,0,-1"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1c"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1c"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1c,Kill,,0,-1"
"OnPressed" "camara1c,Kill,,0,-1"
"OnPressed" "trigger_camara1c,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7503.2 -3488.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1d"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1d,Unlock,,0,-1"
"OnEndTouch" "boton_camara1d,Lock,,0,-1"
}
{
"origin" "7503.2 -3488.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1d"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7503.2 -3488.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1d"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1d,Kill,,0,-1"
"OnPressed" "camara1d,Kill,,0,-1"
"OnPressed" "trigger_camara1d,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6448 -2943.6 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1e"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1e,Unlock,,0,-1"
"OnEndTouch" "boton_camara1e,Lock,,0,-1"
}
{
"origin" "6448 -2943.6 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1e"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6448 -2943.6 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1e"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1e,Kill,,0,-1"
"OnPressed" "camara1e,Kill,,0,-1"
"OnPressed" "trigger_camara1e,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7184 -3007.8 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1f"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1f,Unlock,,0,-1"
"OnEndTouch" "boton_camara1f,Lock,,0,-1"
}
{
"origin" "7184 -3007.8 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1f"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7184 -3007.8 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1f"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1f,Kill,,0,-1"
"OnPressed" "camara1f,Kill,,0,-1"
"OnPressed" "trigger_camara1f,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5615.7 -2568.2 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1g"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1g,Unlock,,0,-1"
"OnEndTouch" "boton_camara1g,Lock,,0,-1"
}
{
"origin" "5615.7 -2568.2 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1g"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "5615.7 -2568.2 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1g"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1g,Kill,,0,-1"
"OnPressed" "camara1g,Kill,,0,-1"
"OnPressed" "trigger_camara1g,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7504.3 -2624.3 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1h"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1h,Unlock,,0,-1"
"OnEndTouch" "boton_camara1h,Lock,,0,-1"
}
{
"origin" "7504.3 -2624.3 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1h"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7504.3 -2624.3 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1h"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1h,Kill,,0,-1"
"OnPressed" "camara1h,Kill,,0,-1"
"OnPressed" "trigger_camara1h,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5551.3 -1824.4 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1i"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1i,Unlock,,0,-1"
"OnEndTouch" "boton_camara1i,Lock,,0,-1"
}
{
"origin" "5551.3 -1824.4 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1i"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "5551.3 -1824.4 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1i"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1i,Kill,,0,-1"
"OnPressed" "camara1i,Kill,,0,-1"
"OnPressed" "trigger_camara1i,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6319.9 -1823.7 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1j"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1j,Unlock,,0,-1"
"OnEndTouch" "boton_camara1j,Lock,,0,-1"
}
{
"origin" "6319.9 -1823.7 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1j"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6319.9 -1823.7 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1j"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1j,Kill,,0,-1"
"OnPressed" "camara1j,Kill,,0,-1"
"OnPressed" "trigger_camara1j,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6831.7 -1888.4 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1k"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1k,Unlock,,0,-1"
"OnEndTouch" "boton_camara1k,Lock,,0,-1"
}
{
"origin" "6831.7 -1888.4 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1k"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6831.7 -1888.4 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1k"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1k,Kill,,0,-1"
"OnPressed" "camara1k,Kill,,0,-1"
"OnPressed" "trigger_camara1k,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5298 -2880 312"
"targetname" "laser1a"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1a"
"LightningEnd" "target_laser1a"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 312"
"angles" "0 0 0"
"targetname" "target_laser1a"
"classname" "info_target"
}
{
"origin" "5298 -2880 344"
"targetname" "laser1b"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1b"
"LightningEnd" "target_laser1b"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 344"
"angles" "0 0 0"
"targetname" "target_laser1b"
"classname" "info_target"
}
{
"origin" "5298 -2880 376"
"targetname" "laser1c"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1c"
"LightningEnd" "target_laser1c"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 376"
"angles" "0 0 0"
"targetname" "target_laser1c"
"classname" "info_target"
}
{
"origin" "5298 -2880 408"
"targetname" "laser1d"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1d"
"LightningEnd" "target_laser1d"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 408"
"angles" "0 0 0"
"targetname" "target_laser1d"
"classname" "info_target"
}
{
"origin" "5298 -2880 440"
"targetname" "laser1e"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1e"
"LightningEnd" "target_laser1e"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 440"
"targetname" "target_laser1e"
"spawnflags" "0"
"classname" "info_target"
}

{
"origin" "5299 -2624 384"
"angles" "0 0 0"
"model" "*148"
"targetname" "hurt_laser1"
"spawnflags" "67"
"damagetype" "8"
"damagecap" "4"
"damage" "4"
"classname" "trigger_hurt"
}
{
    
"origin" "5294 -2624 326"
    "targetname" "block_laser1"
    "mins" "0 -236  0"
    "maxs" "0 236 114"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_player_blocker"
}

{
"targetname" "contador_laser1"
"max" "11"
"classname" "math_counter"
"OnHitMax" "aviso_camara1,EndHint,,0,-1"
"OnHitMax" "aviso_camara1,Kill,,0.1,-1"

"OnHitMax" "evento_laser1,Trigger,,0,-1"
}
{
"targetname" "evento_laser1"
"classname" "logic_relay"
"OnTrigger" "laser1*,TurnOff,,0.1,-1"
"OnTrigger" "target_laser1*,Kill,,0,-1"
"OnTrigger" "hurt_laser1,Kill,,0,-1"
"OnTrigger" "block_laser1,Kill,,0,-1"

"OnTrigger" "director,PanicEvent,,0,-1"





Hello, how are you doing, thanks for giving me a small event, I ask you a question, I have that cfg but I don't know how to put it, I just started with the events, I am a little noob in this :oops:


; ============================================= ========
; ========= PROMOD HUNTINGRIFLE REPLACEMENT =========
; ============================================= ========
; remove hrs since both are at ammo piles / gun spawns. replace tier2any with tier1any
filter:
{
"classname" "weapon_hunting_rifle_spawn"
}
filter:
{
"classname" "weapon_sniper_military_spawn"
}
filter:
{
"weapon_selection" "any_sniper_rifle"
}
filter:
{
"weapon_selection" "weapon_hunting_rifle"
}
filter:
{
"weapon_selection" "weapon_sniper_military"
}
; ============================================= ========
; ================ EXPLOITS BLOCKED =================
; ============================================= ========
add:
; --- block jesus shelf at top of escalators
{
; invisible block above shelf
"origin" "7216 -2432 448"
"mins" "-36 -112 -40"
"maxs" "36 112 40"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block jesus shelves on opposite side of escalators
{
; invisible block above shelf
"origin" "5362 -2403 449"
"angles" "0 -15 0"
"mins" "-18 -110 -39"
"boxmins" "-18 -110 -39"
"maxs" "18 110 39"
"boxmaxs" "18 110 39"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; invisible block above info display
"origin" "5286 -2554 436"
"angles" "0 29 0"
"mins" "-36 -14 -52"
"boxmins" "-36 -14 -52"
"maxs" "36 14 52"
"boxmaxs" "36 14 52"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
; --- block shortcut to end saferoom
{
; invisible block between shortcut
"origin" "-1630 -4520 540"
"mins" "-210 0 0"
"maxs" "0 30 235"
"initialstate" "1"
"BlockType" "1"
"classname" "env_player_blocker"
}
; ============================================= ========


; ============================================= ========
; =================== GLITCH FIX ====================
; ============================================= ========
modify:
; --- move impossible to reach weapon_item_spawn inside clip to nearby countertop
{
match:
{
"hammerid" "8442701"
}
replace:
{
"origin" "6096 -1808 78"
}
}
; ============================================= ========


; ============================================= ========
; ================ NUISANCE CHANGES =================
; ============================================= ========
modify:
; --- make better tank path for event tank
; <remove relay links from glass to breakwall>
{
match:
{
"targetname" "relay_breakglass"
;"hammerid" "8572560"
}
delete:
{
"OnTrigger" "breakwall_bathroom_navblockerUnblockNav 0-1"
"OnTrigger" "breakwall_bathroom_triggerEnable0-1"
}
insert:
{
"OnTrigger" "block_early_eventskipKill10-1"
}
}
; <make wall breakable at all times, by tank only (punch)>
{
match:
{
"hammerid" "328396"
}
replace:
{
"health" "10"
"spawnflags" "0"
"BreakableType" "2"
}
}
; <visuals for breakable wall>
add:
{
; visual breakable wall (static)
"solid" "6"
"origin" "236.91 -2504.87 348"
"angles" "0 -45 0"
"model" "models/props_interiors/breakwall_interior_noboards.mdl"
"disableshadows" "1"
"classname" "prop_dynamic"
}
{
; visual breakable wall (with glow)
"solid" "6"
"origin" "236.91 -2504.87 348"
"angles" "0 -45 0"
"model" "models/props_interiors/breakwall_interior_noboards.mdl"
"disableshadows" "1"
"spawnflags" "256"
"classname" "prop_physics_override"
}
{
; visual - doorframe fix (left side)
"solid" "6"
"origin" "302 -2458 248"
"angles" "0 45 0"
"model" "models/props_mall/column_01.mdl"
"rendercolor" "210 210 210"
"disableshadows" "1"
"classname" "prop_dynamic"
}
{
; visual - doorframe fix (right side)
"solid" "6"
;"origin" "192 -2552 362"
"origin" "189 -2552 362"
"angles" "0 45 0"
"model" "models/props/de_train/de_train_ibeam_02.mdl"
"rendercolor" "210 210 210"
"disableshadows" "1"
"classname" "prop_dynamic"
}
{
; visual - silly floor fix
"solid" "6"
"origin" "278 -2465.5 276"
"angles" "0 -45 0"
"model" "models/props_mill/beam_01.mdl"
"rendercolor" "230 230 230"
"disableshadows" "1"
"classname" "prop_dynamic"
}
{
; visual - ceiling fix
"solid" "6"
"origin" "278 -2465.5 425"
"angles" "0 -45 0"
"model" "models/props_mill/beam_01.mdl"
"rendercolor" "230 230 230"
"disableshadows" "1"
"classname" "prop_dynamic"
}
{
; visual - glowing crack (oversized, but hey, it's there)
"origin" "275.4 -2473.4 312"
"texture" "effects/tankwall"
"angles" "0 0 0"
"classname" "infodecal"
}
; <blocking to prevent survivors from using tank-hole to skip glass break event>
add:
{
; invisible block wall along boxes
"targetname" "block_early_eventskip"
"origin" "244 -2392 395"
"angles" "0 -45 0"
"mins" "-66 -30 -117"
"boxmins" "-66 -30 -117"
"maxs" "66 30 117"
"boxmaxs" "66 30 117"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}
{
; visual boxes to show blocked area
"solid" "6"
"origin" "240 -2404 278"
"angles" "0 -50 0"
"model" "models/props/cs_militia/boxes_frontroom.mdl"
"disableshadows" "1"
"classname" "prop_dynamic"
}
; <smooth tank-path up a bit: pre-open bathroom door>
modify:
{
match:
{
"hammerid" "1569658"
}
replace:
{
"spawnpos" "1"
}
}
; ============================================= ========
; =================== ALL CHANGES =====================
; ============================================= ========

; -------------------------------------------
; LOWER LEVEL DETOUR FIX
; -- remove items from toy-shop route
; -------------------------------------------
filter:
; early rooms / bathrooms
; --------------------------
{
"hammerid" "1551926"
}
{
"hammerid" "1551939"
}
{
"hammerid" "321236"
}
{
"hammerid" "321238"
}
{
"hammerid" "321240"
}
{
"hammerid" "321242"
}
{
"hammerid" "321244"
}
{
"hammerid" "321246"
}
{
"hammerid" "321310"
}
{
"hammerid" "321312"
}
{
"hammerid" "321314"
}
{
"hammerid" "321316"
}
{
"hammerid" "321318"
}

; room with pill cabinet
; --------------------------
{
"hammerid" "8569911"
}
{
"hammerid" "8569913"
}
{
"hammerid" "8569915"
}
{
; gun on floor
"hammerid" "8574798"
}
{
; cabinet
"hammerid" "354419"
}

; room further down hall from pill-room
; --------------------------
{
"hammerid" "1549729"
}
{
"hammerid" "1549741"
}


; toy store
; --------------------------
{
; blue door in pills-room (ajar)
"hammerid" "118980"
}
{
; white door in pills-room
"hammerid" "8569680"
}
{
"hammerid" "8569694"
}
{
"hammerid" "8569708"
}
{
"hammerid" "8571147"
}


; navblocking storefront
; ------
{
"hammerid" "8569722"
}
{
; bullet filter?
"hammerid" "8572745"
}
{
; brush (white wall)
"hammerid" "8572916"
}
{
"hammerid" "8572952"
}

; windowpanes
; --
{
"hammerid" "8575211"
}
{
"hammerid" "8575215"
}
{
"hammerid" "8575219"
}
{
"hammerid" "8575223"
}
{
"hammerid" "8575227"
}
{
"hammerid" "8575231"
}

{
"hammerid" "8575423"
}

{
"hammerid" "8588825"
}
{
"hammerid" "8588798"
}
{
"hammerid" "8589927"
}
{
"hammerid" "8589970"
}
; --------------------------------
; (end of lower route item fix)
; --------------------------------

; -- hardcoded DeC3 version ---
; --- for v7 version.. strip all AI-director stuff and hardcode path escalators
; - disadvantage: AI doesn't know where to go.
; info:
;--------------------------
; "hammerid" "1310374"
; dit is "logic_auto" die iets doet met elevator 04
; "hammerid" "245737"
; ook een logic_auto, voor "nav emergency door blocker"
; "hammerid" "253923"
; dit is relay setpaths iets

filter:
; -- logic relays/triggers/ai-director pathing
{
; remove setpaths logic relays (so we can just use the onMap of the logic_relay below)
"hammerid" "253923"
}
{
; remove query director logic for selecting either stairway or hallway (shop) route
"hammerid" "196274"
}
{
; remove logic comparison for selecting either stairway or hallway (shop) route
"hammerid" "196297"
}
{
; remove automatic navblocker for "emergency door"
"hammerid" "245737"
}
; -- glass in the way of new escalator position
{
; remove glass part for new escalator -- func breakable 1 (replaced final escalator, lower)
"hammerid" "661312"
}
{
; remove glass part for new escalator -- func breakable 1 (replaced final escalator, upper)
"hammerid" "661724"
}

modify:
{
; the end escalator -- move it to new position (and remove nav stuff)
match:
{
; this is the versus standard escalator
"hammerid" "1310378"
}
delete:
{
"OnUser1" "escalator_upper_04-railing_breakableKill0-1"
"OnUser1" "escalator_upper_04-navblockerUnblockNav0-1"
"OnUser1" "escalator_upper_04-railingDisable0-1"
"OnUser1" "escalator_upper_04-liftEnableCollision0-1"
"OnUser1" "escalator_upper_04-navblocker_blockBlockNav0-1"
"OnUser1" "escalator_04-brush_lift_collisionEnable0-1"
}
replace:
{
"origin" "-1407 -4250 382"
"angles" "0 0 0"
}
}
{
; make logic_auto pick one path
match:
{
"hammerid" "1310374"
}
delete:
{
"OnMapSpawn" "escalator_upper_04-navblockerBlockNav0-1"
"OnMapSpawn" "escalator_upper_04-liftDisableCollision0-1"
"OnMapSpawn" "escalator_upper_04-navblocker_blockUnblockNav0-1"
}
insert:
{
; force path 02
"OnMapSpawn" "relay_elevator_path_02Trigger0-1"
; force lower route
"OnMapSpawn" "relay_hallway_closeTrigger0-1"
}
}
{
; change path 02 to be like path 01 for first escalators
match:
{
"hammerid" "253931"
}
delete:
{
"OnTrigger" "escalator_upper_02*FireUser10-1"
}
insert:
{
"OnTrigger" "escalator_upper_01*FireUser10-1"
; also add second escalator to lower level, to make it very slightly easier
"OnTrigger" "escalator_lower_02*FireUser10-1"
}
}
; ----------- pre-place chair near door-choke
{
match:
{
"hammerid" "1553193"
}
replace:
{
"origin" "1599 -1010 298"
"angles" "-90 0 90"
}
}
; -------------


add:
{
"classname" "prop_dynamic"
"angles" "0 270 0"
"disableshadows" "1"
"model" "models/props_mall/mall_kioskc.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "2268.59 -1627.82 280.25"
}
{
"classname" "prop_dynamic"
"angles" "0 90 0"
"disableshadows" "1"
"model" "models/props_mall/mall_kioskc.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "2268.59 -1513.82 280.25"
}
{
"classname" "prop_dynamic"
"angles" "0 90 0"
"disableshadows" "1"
"model" "models/props_mall/mall_display_07.mdl"
"rendercolor" "255 255 255"
"solid" "6"
"origin" "1856.65 -1294.79 280.25"
}
{
; block top of pre-door drop kiosks
"origin" "2267 -1570.75 280"
"mins" "-45 -110 0"
"maxs" "45 110 500"
"initialstate" "1"
"BlockType" "1"
"classname" "env_physics_blocker"
}

; --------- block easy path to final escalator
{
; fences to block path right - left
"solid" "6"
"origin" "-1120 -3958 280"
"angles" "0 0 0"
"disableshadows" "1"
"model" "models/props_fortifications/barricade001_128_reference.mdl"
"classname" "prop_dynamic"
}
{
; fences to block path right - middle
"solid" "6"
"origin" "-1116 -3876 280"
"angles" "0 1 0"
"disableshadows" "1"
"model" "models/props_fortifications/barricade001_64_reference.mdl"
"classname" "prop_dynamic"
}
{
; fences to block path right - right
"solid" "6"
"origin" "-1110 -3794 280"
"angles" "0 5 0"
"disableshadows" "1"
"model" "models/props_fortifications/barricade001_128_reference.mdl"
"classname" "prop_dynamic"
}

; -- invisible blocks to make visuals work
{
; invisible block to avoid jumping in from the left, past the fence
; must also block jump from construction lift!
"origin" "-1116 -4022 280"
"mins" "-128 0 0"
"maxs" "0 8 120"
"initialstate" "1"
"BlockType" "1"
"classname" "env_player_blocker"
}

; --------- added kiosks on route to final escalator
{
; first corner
"solid" "6"
"origin" "-2080 -4560 280"
"angles" "0 90 0"
"disableshadows" "1"
"model" "models/props_mall/mall_kiosk.mdl"
"classname" "prop_dynamic"
}
{
; second corner
"solid" "6"
"disableshadows" "1"
"origin" "-2050 -3900 280"
"angles" "0 -90 0"
"model" "models/props_mall/mall_kioskc.mdl"
"classname" "prop_dynamic"
}
; --------- added kiosks near end saferoom for LOS block
{
; right in front of saferoom
"solid" "6"
"origin" "-2100 -4210 536"
"angles" "0 0 0"
"disableshadows" "1"
"model" "models/props_mall/mall_kiosk.mdl"
"classname" "prop_dynamic"
}
{
; right after escalator
"solid" "6"
"disableshadows" "1"
"origin" "-496 -4208 536"
"angles" "0 90 0"
"model" "models/props_mall/mall_kioskc.mdl"
"classname" "prop_dynamic"
}
; ============================================= ========
; ========== CORRECCION DE BUGS: MUROS NEGROS =========
; ============================================= ========
filter:
;{
;"model" "models/props/cs_assault/handtruck.mdl"
;}
;{
;"model" "models/props/cs_office/Fire_Extinguisher.mdl"
;}
{
"model" "models/props/cs_office/chair_office.mdl"
}
{
"model" "models/props/cs_office/coffee_mug.mdl"
}
{
"model" "models/props/cs_office/computer_caseb.mdl"
}
{
"model" "models/props/cs_office/computer_mouse.mdl"
}
{
"model" "models/props/cs_office/trash_can.mdl"
}
{
"model" "models/props_debris/paintbucket01.mdl"
}
;{
;"model" "models/props_equipment/snack_machine_glass.mdl"
;}
{
"model" "models/props_fairgrounds/alligator.mdl"
}
{
"model" "models/props_fairgrounds/elephant.mdl"
}
{
"model" "models/props_fairgrounds/giraffe.mdl"
}
{
"model" "models/props_fairgrounds/snake.mdl"
}
{
"model" "models/props_interiors/chair_cafeteria.mdl"
}
{
"model" "models/props_interiors/chair_office2.mdl"
}
{
"model" "models/props_interiors/computer_keyboard.mdl"
}
{
"model" "models/props_interiors/paper_tray.mdl"
}
{
"model" "models/props_junk/metalbucket01a.mdl"
}
{
"model" "models/props_mall/mall_mannequin_base.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_base.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_larm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_larm2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_lleg.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_rarm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_rarm2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_torso1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_torso2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_torso3.mdl"
}
{
"model" "models/props_mall/mall_mannequin_larm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_larm2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_lhand.mdl"
}
{
"model" "models/props_mall/mall_mannequin_lleg.mdl"
}
{
"model" "models/props_mall/mall_mannequin_rarm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_rhand.mdl"
}
{
"model" "models/props_mall/mall_mannequin_torso1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_torso2.mdl"
}
{
"model" "models/props_office/computer_monitor_01.mdl"
}
{
"model" "models/props_unique/mopbucket01.mdl"
}
{
"model" "models/props_urban/big_wheel001.mdl"
}

AlexAlcala 05-19-2021 18:31

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747301)
Hello, how are you doing, thanks for giving me a small event, I ask you a question, I have that cfg but I don't know how to put it, I just started with the events, I am a little noob in this :oops:

PHP Code:

; =====================================================
; =========  
PROMOD HUNTINGRIFLE REPLACEMENT  =========
; =====================================================
remove hrs since both are at ammo piles gun spawnsreplace tier2any with tier1any
filter
:
{
    
"classname" "weapon_hunting_rifle_spawn"
}
filter:
{
    
"classname" "weapon_sniper_military_spawn"
}
filter:
{
    
"weapon_selection" "any_sniper_rifle"
}
filter:
{
    
"weapon_selection" "weapon_hunting_rifle"
}
filter:
{
    
"weapon_selection" "weapon_sniper_military"
}
; =====================================================
; ================  
EXPLOITS BLOCKED  =================
; =====================================================
add:
; --- 
block jesus shelf at top of escalators
{
    ; 
invisible block above shelf
    
"origin" "7216 -2432 448"
    "mins" "-36 -112 -40"
    "maxs" "36 112 40"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
}
; --- 
block jesus shelves on opposite side of escalators
{
    ; 
invisible block above shelf
    
"origin" "5362 -2403 449"
    "angles" "0 -15 0"
    "mins" "-18 -110 -39"
    "boxmins" "-18 -110 -39"
    "maxs" "18 110 39"
    "boxmaxs" "18 110 39"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
}
{
    ; 
invisible block above info display
    
"origin" "5286 -2554 436"
    "angles" "0 29 0"
    "mins" "-36 -14 -52"
    "boxmins" "-36 -14 -52"
    "maxs" "36 14 52"
    "boxmaxs" "36 14 52"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
}
; --- 
block shortcut to end saferoom
{
    ; 
invisible block between shortcut
    
"origin" "-1630 -4520 540"
    "mins" "-210 0 0"
    "maxs" "0 30 235"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_player_blocker"
}
; =====================================================


; =====================================================
; ===================  
GLITCH FIX  ====================
; =====================================================
modify:
; --- 
move impossible to reach weapon_item_spawn inside clip to nearby countertop
{
    
match:
    {
        
"hammerid" "8442701"
    
}
    
replace:
    {
        
"origin" "6096 -1808 78"
    
}
}
; =====================================================


; =====================================================
; ================  
NUISANCE CHANGES  =================
; =====================================================
modify:
; --- 
make better tank path for event tank
; <remove relay links from glass to breakwall>
{
    
match:
    {
        
"targetname" "relay_breakglass"
        
;"hammerid" "8572560"
    
}
    
delete:
    {
        
"OnTrigger" "breakwall_bathroom_navblockerUnblockNav0-1"
        "OnTrigger" "breakwall_bathroom_triggerEnable0-1"
    
}
    
insert:
    {
        
"OnTrigger" "block_early_eventskipKill10-1"
    
}
}
; <
make wall breakable at all timesby tank only (punch)>
{
    
match:
    {
        
"hammerid" "328396"
    
}
    
replace:
    {
        
"health" "10"
        "spawnflags" "0"
        "BreakableType" "2"
    
}
}
; <
visuals for breakable wall>
add:
{
    ; 
visual breakable wall (static)
    
"solid" "6"
    "origin" "236.91 -2504.87 348"
    "angles" "0 -45 0"
    "model" "models/props_interiors/breakwall_interior_noboards.mdl"
    "disableshadows" "1"
    "classname" "prop_dynamic"
}
{
    ; 
visual breakable wall (with glow)
    
"solid" "6"
    "origin" "236.91 -2504.87 348"
    "angles" "0 -45 0"
    "model" "models/props_interiors/breakwall_interior_noboards.mdl"
    "disableshadows" "1"
    "spawnflags" "256"
    "classname" "prop_physics_override"
}
{
    ; 
visual doorframe fix (left side)
    
"solid" "6"
    "origin" "302 -2458 248"
    "angles" "0 45 0"
    "model" "models/props_mall/column_01.mdl"
    "rendercolor" "210 210 210"
    "disableshadows" "1"
    "classname" "prop_dynamic"
}
{
    ; 
visual doorframe fix (right side)
    
"solid" "6"
    
;"origin" "192 -2552 362"
    "origin" "189 -2552 362"
    "angles" "0 45 0"
    "model" "models/props/de_train/de_train_ibeam_02.mdl"
    "rendercolor" "210 210 210"
    "disableshadows" "1"
    "classname" "prop_dynamic"
}
{
    ; 
visual silly floor fix
    
"solid" "6"
    "origin" "278 -2465.5 276"
    "angles" "0 -45 0"
    "model" "models/props_mill/beam_01.mdl"
    "rendercolor" "230 230 230"
    "disableshadows" "1"
    "classname" "prop_dynamic"
}
{
    ; 
visual ceiling fix
    
"solid" "6"
    "origin" "278 -2465.5 425"
    "angles" "0 -45 0"
    "model" "models/props_mill/beam_01.mdl"
    "rendercolor" "230 230 230"
    "disableshadows" "1"
    "classname" "prop_dynamic"
}
{
    ; 
visual glowing crack (oversizedbut heyit's there)
    "origin" "275.4 -2473.4 312"
    "texture" "effects/tankwall"
    "angles" "0 0 0"
    "classname" "infodecal"
}
; <blocking to prevent survivors from using tank-hole to skip glass break event>
add:
{
    ; invisible block wall along boxes
    "targetname" "block_early_eventskip"
    "origin" "244 -2392 395"
    "angles" "0 -45 0"
    "mins" "-66 -30 -117"
    "boxmins" "-66 -30 -117"
    "maxs" "66 30 117"
    "boxmaxs" "66 30 117"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
}
{
    ; visual boxes to show blocked area
    "solid" "6"
    "origin" "240 -2404 278"
    "angles" "0 -50 0"
    "model" "models/props/cs_militia/boxes_frontroom.mdl"
    "disableshadows" "1"
    "classname" "prop_dynamic"
}
; <smooth tank-path up a bit: pre-open bathroom door>
modify:
{
    match:
    {
        "hammerid" "1569658"
    }
    replace:
    {
        "spawnpos" "1"
    }
}
; =====================================================
; =================== ALL CHANGES =====================
; =====================================================

; -------------------------------------------
; LOWER LEVEL DETOUR FIX
; -- remove items from toy-shop route
; ------------------------------------------- 
filter:
; early rooms / bathrooms
; --------------------------
{
    "hammerid" "1551926"
}
{
    "hammerid" "1551939"
}
{
    "hammerid" "321236"
}
{
    "hammerid" "321238"
}
{
    "hammerid" "321240"
}
{
    "hammerid" "321242"
}
{
    "hammerid" "321244"
}
{
    "hammerid" "321246"
}
{
    "hammerid" "321310"
}
{
    "hammerid" "321312"
}
{
    "hammerid" "321314"
}
{
    "hammerid" "321316"
}
{
    "hammerid" "321318"
}

; room with pill cabinet
; --------------------------
{
    "hammerid" "8569911"
}
{
    "hammerid" "8569913"
}
{
    "hammerid" "8569915"
}
{
    ; gun on floor
    "hammerid" "8574798"
}
{
    ; cabinet
    "hammerid" "354419"
}

; room further down hall from pill-room
; --------------------------
{
    "hammerid" "1549729"
}
{
    "hammerid" "1549741"
}


; toy store
; --------------------------
{
    ; blue door in pills-room (ajar)
    "hammerid" "118980"
}
{
    ; white door in pills-room
    "hammerid" "8569680"
}
{
    "hammerid" "8569694"
}
{
    "hammerid" "8569708"
}
{
    "hammerid" "8571147"
}


; navblocking storefront
; ------
{
    "hammerid" "8569722"
}
{
    ; bullet filter?
    "hammerid" "8572745"
}
{
    ; brush (white wall)
    "hammerid" "8572916"
}
{
    "hammerid" "8572952"
}

; windowpanes
; --
{
    "hammerid" "8575211"
}
{
    "hammerid" "8575215"
}
{
    "hammerid" "8575219"
}
{
    "hammerid" "8575223"
}
{
    "hammerid" "8575227"
}
{
    "hammerid" "8575231"
}

{
    "hammerid" "8575423"
}

{
    "hammerid" "8588825"
}
{
    "hammerid" "8588798"
}
{
    "hammerid" "8589927"
}
{
    "hammerid" "8589970"
}
; --------------------------------
; (end of lower route item fix)
; --------------------------------

; -- hardcoded DeC3 version ---
; --- for v7 version.. strip all AI-director stuff and hardcode path escalators
;       - disadvantage: AI doesn'
t know where to go.
info:
;--------------------------
"hammerid" "1310374"
;       dit is "logic_auto"     die iets doet met elevator 04
"hammerid" "245737"
;       ook een logic_autovoor "nav emergency door blocker"
"hammerid" "253923"
;       dit is relay setpaths iets

filter
:
; -- 
logic relays/triggers/ai-director pathing
{
    ; 
remove setpaths logic relays (so we can just use the onMap of the logic_relay below)
    
"hammerid" "253923"  
}
{
    ; 
remove query director logic for selecting either stairway or hallway (shoproute
    
"hammerid" "196274"
}
{
    ; 
remove logic comparison for selecting either stairway or hallway (shoproute
    
"hammerid" "196297"
}
{
    ; 
remove automatic navblocker for "emergency door"
    "hammerid" "245737"
}
; -- 
glass in the way of new escalator position
{
    ; 
remove glass part for new escalator -- func breakable 1 (replaced final escalatorlower)
    
"hammerid" "661312"
}
{
    ; 
remove glass part for new escalator -- func breakable 1 (replaced final escalatorupper)
    
"hammerid" "661724"
}

modify:
{
    ; 
the end escalator -- move it to new position (and remove nav stuff)
    
match:
    {
        ; 
this is the versus standard escalator
        
"hammerid" "1310378"
    
}
    
delete:
    {
        
"OnUser1" "escalator_upper_04-railing_breakableKill0-1"
        "OnUser1" "escalator_upper_04-navblockerUnblockNav0-1"
        "OnUser1" "escalator_upper_04-railingDisable0-1"
        "OnUser1" "escalator_upper_04-liftEnableCollision0-1"
        "OnUser1" "escalator_upper_04-navblocker_blockBlockNav0-1"
        "OnUser1" "escalator_04-brush_lift_collisionEnable0-1"
    
}
    
replace:
    {
        
"origin" "-1407 -4250 382"
        "angles" "0 0 0"
    
}
}
{
    ; 
make logic_auto pick one path
    match
:
    {
        
"hammerid" "1310374"
    
}
    
delete:
    {
        
"OnMapSpawn" "escalator_upper_04-navblockerBlockNav0-1"
        "OnMapSpawn" "escalator_upper_04-liftDisableCollision0-1"
        "OnMapSpawn" "escalator_upper_04-navblocker_blockUnblockNav0-1"
    
}
    
insert:
    {
        ; 
force path 02
        
"OnMapSpawn" "relay_elevator_path_02Trigger0-1"
        
force lower route
        
"OnMapSpawn" "relay_hallway_closeTrigger0-1"
    
}
}
{
    ; 
change path 02 to be like path 01 for first escalators
    match
:
    {
        
"hammerid" "253931"
    
}
    
delete:
    {
        
"OnTrigger" "escalator_upper_02*FireUser10-1"
    
}
    
insert:
    {
        
"OnTrigger" "escalator_upper_01*FireUser10-1"
        
also add second escalator to lower levelto make it very slightly easier
        
"OnTrigger" "escalator_lower_02*FireUser10-1"
    
}
}
; ----------- 
pre-place chair near door-choke
{
    
match:
    {
        
"hammerid" "1553193"
    
}
    
replace:
    {
        
"origin" "1599 -1010 298"
        "angles" "-90 0 90" 
    
}
}
; -------------
    

add:
{
    
"classname" "prop_dynamic"
    "angles" "0 270 0"
    "disableshadows" "1"
    "model" "models/props_mall/mall_kioskc.mdl"
    "rendercolor" "255 255 255"
    "solid" "6"
    "origin" "2268.59 -1627.82 280.25"
}
{
    
"classname" "prop_dynamic"
    "angles" "0 90 0"
    "disableshadows" "1"
    "model" "models/props_mall/mall_kioskc.mdl"
    "rendercolor" "255 255 255"
    "solid" "6"
    "origin" "2268.59 -1513.82 280.25"
}
{
    
"classname" "prop_dynamic"
    "angles" "0 90 0"
    "disableshadows" "1"
    "model" "models/props_mall/mall_display_07.mdl"
    "rendercolor" "255 255 255"
    "solid" "6"
    "origin" "1856.65 -1294.79 280.25"
}
{
    ; 
block top of pre-door drop kiosks
    
"origin" "2267 -1570.75 280"
    "mins" "-45 -110 0"
    "maxs" "45 110 500"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_physics_blocker"
}

; --------- 
block easy path to final escalator
{
        ; 
fences to block path right left
    
"solid" "6"
    "origin" "-1120 -3958 280"
    "angles" "0 0 0"
    "disableshadows" "1"
    "model" "models/props_fortifications/barricade001_128_reference.mdl"
    "classname" "prop_dynamic"
}
{
     ; 
fences to block path right middle
    
"solid" "6"
    "origin" "-1116 -3876 280"
    "angles" "0 1 0"
    "disableshadows" "1"
    "model" "models/props_fortifications/barricade001_64_reference.mdl"
    "classname" "prop_dynamic"
}
{
    ; 
fences to block path right right
    
"solid" "6"
    "origin" "-1110 -3794 280"
    "angles" "0 5 0"
    "disableshadows" "1"
    "model" "models/props_fortifications/barricade001_128_reference.mdl"
    "classname" "prop_dynamic"
}

;       -- 
invisible blocks to make visuals work
{
    ; 
invisible block to avoid jumping in from the leftpast the fence
    
;   must also block jump from construction lift!
    
"origin" "-1116 -4022 280"
    "mins" "-128 0 0"
    "maxs" "0 8 120"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_player_blocker"
}

; --------- 
added kiosks on route to final escalator
{
    ; 
first corner
    
"solid" "6"
    "origin" "-2080 -4560 280"
    "angles" "0 90 0"
    "disableshadows" "1"
    "model" "models/props_mall/mall_kiosk.mdl"
    "classname" "prop_dynamic"
}
{
    ; 
second corner
    
"solid" "6"
    "disableshadows" "1"
    "origin" "-2050 -3900 280"
    "angles" "0 -90 0"
    "model" "models/props_mall/mall_kioskc.mdl"
    "classname" "prop_dynamic"
}
; --------- 
added kiosks near end saferoom for LOS block
{
    ; 
right in front of saferoom
    
"solid" "6"
    "origin" "-2100 -4210 536"
    "angles" "0 0 0"
    "disableshadows" "1"
    "model" "models/props_mall/mall_kiosk.mdl"
    "classname" "prop_dynamic"
}
{
    ; 
right after escalator
    
"solid" "6"
    "disableshadows" "1"
    "origin" "-496 -4208 536"
    "angles" "0 90 0"
    "model" "models/props_mall/mall_kioskc.mdl"
    "classname" "prop_dynamic"
}
; =====================================================
; ========== 
CORRECCION DE BUGSMUROS NEGROS =========
; =====================================================
filter:
;{
;
"model" "models/props/cs_assault/handtruck.mdl"
;}
;{
;
"model" "models/props/cs_office/Fire_Extinguisher.mdl"
;}
{
"model" "models/props/cs_office/chair_office.mdl"
}
{
"model" "models/props/cs_office/coffee_mug.mdl"
}
{
"model" "models/props/cs_office/computer_caseb.mdl"
}
{
"model" "models/props/cs_office/computer_mouse.mdl"
}
{
"model" "models/props/cs_office/trash_can.mdl"
}
{
"model" "models/props_debris/paintbucket01.mdl"
}
;{
;
"model" "models/props_equipment/snack_machine_glass.mdl"
;}
{
"model" "models/props_fairgrounds/alligator.mdl"
}
{
"model" "models/props_fairgrounds/elephant.mdl"
}
{
"model" "models/props_fairgrounds/giraffe.mdl"
}
{
"model" "models/props_fairgrounds/snake.mdl"
}
{
"model" "models/props_interiors/chair_cafeteria.mdl"
}
{
"model" "models/props_interiors/chair_office2.mdl"
}
{
"model" "models/props_interiors/computer_keyboard.mdl"
}
{
"model" "models/props_interiors/paper_tray.mdl"
}
{
"model" "models/props_junk/metalbucket01a.mdl"
}
{
"model" "models/props_mall/mall_mannequin_base.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_base.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_larm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_larm2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_lleg.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_rarm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_rarm2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_torso1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_torso2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_female_torso3.mdl"
}
{
"model" "models/props_mall/mall_mannequin_larm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_larm2.mdl"
}
{
"model" "models/props_mall/mall_mannequin_lhand.mdl"
}
{
"model" "models/props_mall/mall_mannequin_lleg.mdl"
}
{
"model" "models/props_mall/mall_mannequin_rarm1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_rhand.mdl"
}
{
"model" "models/props_mall/mall_mannequin_torso1.mdl"
}
{
"model" "models/props_mall/mall_mannequin_torso2.mdl"
}
{
"model" "models/props_office/computer_monitor_01.mdl"
}
{
"model" "models/props_unique/mopbucket01.mdl"
}
{
"model" "models/props_urban/big_wheel001.mdl"



I don't know what you want me to do with this cfg

marki89 05-21-2021 22:31

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2747290)
Something small :bee:

PHP Code:

{
"origin" "5384 -2624 384"
"angles" "0 0 0"
"model" "*148"
"spawnflags" "1"
"filtername" "filter_survivor"
"classname" "trigger_once"
"OnTrigger" "!activator,speakresponseconcept,PlayerWarnCareful,0,1"

"OnTrigger" "director,PanicEvent,,2.5,-1"
"OnTrigger" "trigger_camara1*,Enable,,0,-1"
"OnTrigger" "camara1*,StartGlowing,,0,-1"
"OnTrigger" "camara1a,SetAnimation,ref,0,-1"
}

{
"targetname" "aviso_camara1"
"hint_caption" "ĄDispara, de muy cerca, a los objetos de silueta roja brillante!"
"hint_icon_onscreen" "icon_tip"
"hint_color" "249 247 151"
"hint_static" "1"
"classname" "env_instructor_hint"
}
{
"targetname" "filtro_boton_camara1"
"damagetype" "2"
"Negated" "0"
"classname" "filter_damage_type"
}

{
"origin" "5328 -3487.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1a"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1a,Unlock,,0,-1"
"OnEndTouch" "boton_camara1a,Lock,,0,-1"
}
{
"origin" "5328 -3487.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1a"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
"OnAnimationBegun" "aviso_camara1,ShowHint,,0,-1"
}
{
"origin" "5328 -3487.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1a"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1a,Kill,,0,-1"
"OnPressed" "camara1a,Kill,,0,-1"
"OnPressed" "trigger_camara1a,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6031.6 -3328.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1b"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1b,Unlock,,0,-1"
"OnEndTouch" "boton_camara1b,Lock,,0,-1"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1b"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1b"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1b,Kill,,0,-1"
"OnPressed" "camara1b,Kill,,0,-1"
"OnPressed" "trigger_camara1b,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6031.6 -3328.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1c"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1c,Unlock,,0,-1"
"OnEndTouch" "boton_camara1c,Lock,,0,-1"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1c"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6031.6 -3328.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1c"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1c,Kill,,0,-1"
"OnPressed" "camara1c,Kill,,0,-1"
"OnPressed" "trigger_camara1c,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7503.2 -3488.5 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1d"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1d,Unlock,,0,-1"
"OnEndTouch" "boton_camara1d,Lock,,0,-1"
}
{
"origin" "7503.2 -3488.5 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1d"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7503.2 -3488.5 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1d"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1d,Kill,,0,-1"
"OnPressed" "camara1d,Kill,,0,-1"
"OnPressed" "trigger_camara1d,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6448 -2943.6 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1e"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1e,Unlock,,0,-1"
"OnEndTouch" "boton_camara1e,Lock,,0,-1"
}
{
"origin" "6448 -2943.6 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1e"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6448 -2943.6 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1e"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1e,Kill,,0,-1"
"OnPressed" "camara1e,Kill,,0,-1"
"OnPressed" "trigger_camara1e,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7184 -3007.8 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1f"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1f,Unlock,,0,-1"
"OnEndTouch" "boton_camara1f,Lock,,0,-1"
}
{
"origin" "7184 -3007.8 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1f"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7184 -3007.8 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1f"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1f,Kill,,0,-1"
"OnPressed" "camara1f,Kill,,0,-1"
"OnPressed" "trigger_camara1f,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5615.7 -2568.2 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1g"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1g,Unlock,,0,-1"
"OnEndTouch" "boton_camara1g,Lock,,0,-1"
}
{
"origin" "5615.7 -2568.2 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1g"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "5615.7 -2568.2 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1g"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1g,Kill,,0,-1"
"OnPressed" "camara1g,Kill,,0,-1"
"OnPressed" "trigger_camara1g,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "7504.3 -2624.3 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1h"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1h,Unlock,,0,-1"
"OnEndTouch" "boton_camara1h,Lock,,0,-1"
}
{
"origin" "7504.3 -2624.3 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1h"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "7504.3 -2624.3 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1h"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1h,Kill,,0,-1"
"OnPressed" "camara1h,Kill,,0,-1"
"OnPressed" "trigger_camara1h,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5551.3 -1824.4 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1i"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1i,Unlock,,0,-1"
"OnEndTouch" "boton_camara1i,Lock,,0,-1"
}
{
"origin" "5551.3 -1824.4 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1i"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "5551.3 -1824.4 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1i"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1i,Kill,,0,-1"
"OnPressed" "camara1i,Kill,,0,-1"
"OnPressed" "trigger_camara1i,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6319.9 -1823.7 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1j"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1j,Unlock,,0,-1"
"OnEndTouch" "boton_camara1j,Lock,,0,-1"
}
{
"origin" "6319.9 -1823.7 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1j"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6319.9 -1823.7 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1j"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1j,Kill,,0,-1"
"OnPressed" "camara1j,Kill,,0,-1"
"OnPressed" "trigger_camara1j,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "6831.7 -1888.4 336"
"angles" "0 0 0"
"model" "*161"
"targetname" "trigger_camara1k"
"spawnflags" "1"
"StartDisabled" "1"
"entireteam" "2"
"allowincap" "1"
"classname" "trigger_multiple"
"OnStartTouch" "boton_camara1k,Unlock,,0,-1"
"OnEndTouch" "boton_camara1k,Lock,,0,-1"
}
{
"origin" "6831.7 -1888.4 488"
"angles" "0 0 0"
"model"    "models/props_urban/ceiling_bubble001.mdl"
"targetname" "camara1k"
"disableshadows" "1"
"glowcolor" "255 0 0"
"glowbackfacemult" "1.0"
"classname" "prop_dynamic"
}
{
"origin" "6831.7 -1888.4 488"
"angles" "0 0 0"
"model" "*28"
"targetname" "boton_camara1k"
"spawnflags" "2561"
"damagefilter" "filtro_boton_camara1"
"classname" "func_button"
"OnPressed" "boton_camara1k,Kill,,0,-1"
"OnPressed" "camara1k,Kill,,0,-1"
"OnPressed" "trigger_camara1k,Kill,,0,-1"

"OnPressed" "contador_laser1,Add,1,0,-1"

"OnPressed" "director,PanicEvent,,2.5,-1"
}

{
"origin" "5298 -2880 312"
"targetname" "laser1a"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1a"
"LightningEnd" "target_laser1a"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 312"
"angles" "0 0 0"
"targetname" "target_laser1a"
"classname" "info_target"
}
{
"origin" "5298 -2880 344"
"targetname" "laser1b"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1b"
"LightningEnd" "target_laser1b"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 344"
"angles" "0 0 0"
"targetname" "target_laser1b"
"classname" "info_target"
}
{
"origin" "5298 -2880 376"
"targetname" "laser1c"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1c"
"LightningEnd" "target_laser1c"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 376"
"angles" "0 0 0"
"targetname" "target_laser1c"
"classname" "info_target"
}
{
"origin" "5298 -2880 408"
"targetname" "laser1d"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1d"
"LightningEnd" "target_laser1d"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 408"
"angles" "0 0 0"
"targetname" "target_laser1d"
"classname" "info_target"
}
{
"origin" "5298 -2880 440"
"targetname" "laser1e"
"texture" "sprites/laserbeam.spr"
"LightningStart" "laser1e"
"LightningEnd" "target_laser1e"
"spawnflags" "1"
"rendercolor" "255 0 0"
"renderamt" "255"
"NoiseAmplitude" "0.1"
"Radius" "2"
"TextureScroll" "35"
"life" "0.2"
"HDRColorScale" "1.0"
"BoltWidth" "2"
"classname" "env_beam"
}
{
"origin" "5298 -2368 440"
"targetname" "target_laser1e"
"spawnflags" "0"
"classname" "info_target"
}

{
"origin" "5299 -2624 384"
"angles" "0 0 0"
"model" "*148"
"targetname" "hurt_laser1"
"spawnflags" "67"
"damagetype" "8"
"damagecap" "4"
"damage" "4"
"classname" "trigger_hurt"
}
{
    
"origin" "5294 -2624 326"
    "targetname" "block_laser1"
    "mins" "0 -236  0"
    "maxs" "0 236 114"
    "initialstate" "1"
    "BlockType" "1"
    "classname" "env_player_blocker"
}

{
"targetname" "contador_laser1"
"max" "11"
"classname" "math_counter"
"OnHitMax" "aviso_camara1,EndHint,,0,-1"
"OnHitMax" "aviso_camara1,Kill,,0.1,-1"

"OnHitMax" "evento_laser1,Trigger,,0,-1"
}
{
"targetname" "evento_laser1"
"classname" "logic_relay"
"OnTrigger" "laser1*,TurnOff,,0.1,-1"
"OnTrigger" "target_laser1*,Kill,,0,-1"
"OnTrigger" "hurt_laser1,Kill,,0,-1"
"OnTrigger" "block_laser1,Kill,,0,-1"

"OnTrigger" "director,PanicEvent,,0,-1"



Hey Alex, how are you?
I copy the little event you passed me and paste it in the c1m3_mall.cfg
I go into the game and it doesn't seem like anything :shock:

user2000 05-21-2021 23:04

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747451)
Hey Alex, how are you?
I copy the little event you passed me and paste it in the c1m3_mall.cfg
I go into the game and it doesn't seem like anything :shock:


write "add:" at the beginning of the line

example:

Quote:

add:
{
"origin" "5384 -2624 384"
"angles" "0 0 0"
"model" "*148"
"spawnflags" "1"
"filtername" "filter_survivor"
"classname" "trigger_once"
"OnTrigger" "!activator,speakresponseconcept,PlayerWarnCa reful,0,1"

"OnTrigger" "director,PanicEvent,,2.5,-1"
"OnTrigger" "trigger_camara1*,Enable,,0,-1"
"OnTrigger" "camara1*,StartGlowing,,0,-1"
"OnTrigger" "camara1a,SetAnimation,ref,0,-1"
}

marki89 05-22-2021 10:35

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by user2000 (Post 2747453)
write "add:" at the beginning of the line

example:

thank you very much, it worked for me :up::up:

AlexAlcala 05-22-2021 14:25

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747487)
thank you very much, it worked for me :up::up:

It is not only copy and paste or download and paste, you have to see what you are copying or downloading and if something is missing add it, not everything will be ready for you :bee:

marki89 05-22-2021 15:19

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2747510)
It is not only copy and paste or download and paste, you have to see what you are copying or downloading and if something is missing add it, not everything will be ready for you :bee:


if that is true, what happens that I just started with the modifications of the maps, but thanks for the event you gave me, greetings :wink: :up:

AlexAlcala 05-22-2021 20:12

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747523)
if that is true, what happens that I just started with the modifications of the maps, but thanks for the event you gave me, greetings :wink: :up:

Okay well ... I never understood what you wanted me to do with your stripper, I tried it and I see no difference :bee:

marki89 05-22-2021 20:30

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by AlexAlcala (Post 2747545)
Okay well ... I never understood what you wanted me to do with your stripper, I tried it and I see no difference :bee:

What I wanted to do is combine your event with my file that I already had, but I didn't really know how to put it, that's why the other user helped me and now I understand, can I ask you something? , I saw on your youtube channel how you put dead center at night? do you need the silvers plugin to change the weather?

AlexAlcala 05-23-2021 04:04

Re: [L4D2] Sky (comp. config), that adds only the additional events to camapigns?
 
Quote:

Originally Posted by marki89 (Post 2747546)
What I wanted to do is combine your event with my file that I already had, but I didn't really know how to put it, that's why the other user helped me and now I understand, can I ask you something? , I saw on your youtube channel how you put dead center at night? do you need the silvers plugin to change the weather?

everything was with "stripper" :bee:


All times are GMT -4. The time now is 12:57.

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