Comments (14)
I suspect this has to do with the plugin that makes alarms consistent between teams. Need to find a better implementation of changing the car colors
from l4d2-comp-stripper-rework.
Re-opened until the new colors are re-implemented
from l4d2-comp-stripper-rework.
l4d_equalise_alarm_cars does the job, but it features both EnableCar and DisableCar. Maybe reversing the changes when -relay_caralarm_on is triggered can help. 😃
from l4d2-comp-stripper-rework.
Target5150/MoYu_Server_Stupid_Plugins@8631260
give it a try? Seems work for me. Still unaware of whether there's side effect and what it is,
from l4d2-comp-stripper-rework.
For plugins you should try https://github.com/SirPlease/L4D2-Competitive-Rework or contacting server owners, I don't have any control over which versions of plugins servers use so I can't test this.
I might have a solution to fix this, but it would be good to fix that plugin if there is an issue with it also.
from l4d2-comp-stripper-rework.
Should be fixed now, needs testing on a Zonemod server though.
from l4d2-comp-stripper-rework.
Round 1
Round 2
from l4d2-comp-stripper-rework.
Were the alarmed cars the same (correct colors)? I see the far left one might not be, but the colours will be different each round.
from l4d2-comp-stripper-rework.
Nope. Those not painted red (orange) were consistent off-alarm cars. Al least, on 1st round the middle and the left ones are on, and the next round they were disabled.
Edit: The config "purely" bases Competitive Rework and your repo (as well as some customized plugins).
from l4d2-comp-stripper-rework.
Opened again as this isssue is still not fixed, in the meantime this feature has been removed (again).
Using logic_versus_random COULD fix the issue but sadly does not has it doesn't support PickRandomShuffle, so that we can ensure there are always 4 alarm cars.
This works fine for vanilla without using l4d_equalise_alarm_cars
, but with that plugin the wrong cars get colored, even though the correct cars are alarmed.
This isn't the plugin's fault (though if it hooked in a slightly different way it might bypass the issue), the way the map determines which cars are alarmed is quite unique and happens slightly after the round starts.
from l4d2-comp-stripper-rework.
My solution would be this:
; --- Make both teams have the same alarms
modify:
{
match:
{
"targetname" "case_random_alarm_disable"
}
replace:
{
"classname" "logic_versus_random"
}
delete:
{
"OnCase01" "alarm1-relay_caralarm_off�Trigger��0�-1"
"OnCase02" "alarm2-relay_caralarm_off�Trigger��0�-1"
"OnCase03" "alarm3-relay_caralarm_off�Trigger��0�-1"
"OnCase04" "alarm4-relay_caralarm_off�Trigger��0�-1"
"OnCase05" "alarm5-relay_caralarm_off�Trigger��0�-1"
"OnCase06" "alarm6-relay_caralarm_off�Trigger��0�-1"
"OnCase07" "alarm7-relay_caralarm_off�Trigger��0�-1"
"OnCase08" "alarm8-relay_caralarm_off�Trigger��0�-1"
}
insert:
{
"OnRandom01" "alarm1-relay_caralarm_off,Trigger,,0,-1"
"OnRandom02" "alarm2-relay_caralarm_off,Trigger,,0,-1"
"OnRandom03" "alarm3-relay_caralarm_off,Trigger,,0,-1"
"OnRandom04" "alarm4-relay_caralarm_off,Trigger,,0,-1"
"OnRandom05" "alarm5-relay_caralarm_off,Trigger,,0,-1"
"OnRandom06" "alarm6-relay_caralarm_off,Trigger,,0,-1"
"OnRandom07" "alarm7-relay_caralarm_off,Trigger,,0,-1"
"OnRandom08" "alarm8-relay_caralarm_off,Trigger,,0,-1"
}
}
To get this to work without the support of PickRandomShuffle
on logic_versus_random, the info_gamemode entity that fires these random events would need to be modified to use PickRandom
instead. However this wouldn't guarantee that 4 cars are always active, as the same random value could be picked more than once, producing fewer alarm cars.
from l4d2-comp-stripper-rework.
Tried debugging the plugin, and found it failing to actually enable disabled cars, even no error occurs during the whole process.
As it seems struggling via Stripper, how about script a plugin replacing this? Added that even though the previous solution had worked, the colors of disabled cars would have varied between rounds (tiny but here it is).
A few advantages are:
- Global hook and color changes for alarm cars, as long as they are using the car model and with correctly formated targetname of logic_relay.
- Colors of cars can be stored if changes applied, so consistency is guaranteed.
from l4d2-comp-stripper-rework.
I would like to avoid creating plugins for solving problems on specific maps like this where Stripper can and should be used instead, as this is one of the goals of this repo to remove some of those plugins.
I think the current alarm car plugin could just store the rendercolor
of the alarm cars when it checks them on the first round, then apply them on the 2nd round.
These specific cars get set AFTER round_start is called I think though, I'm not too sure what the issue is. But regardless this is something I'm not going to come back to for a while, but if you want to try making a plugin feel free.
from l4d2-comp-stripper-rework.
That case car color logic is on almost every map that has a car alarm. Maybe should be better to set a default color to all cars and remove all logic cases, both on stripper.
from l4d2-comp-stripper-rework.
Related Issues (20)
- Some glitch spots for carried off/Open roads/DC:Remix
- Maybe one issue in C1M3 HOT 1
- C4M5 "pre_event_tank_trigger" can trigger by alive Infected HOT 2
- RNG weapon skin makes guns not absorbed by nearby spawners HOT 2
- [REQ] White forest map 3 fix HOT 3
- Angled clips block hittables
- c5m3 sewer fall damage HOT 2
- Death Toll map 1 SI ladder not work on round 2 HOT 2
- c1m2 func_clip_vphysics does not cover some areas
- [REQ] Dniepr balance patch
- Some unbreakable door on map HOT 1
- dark carnival billboard glitch
- C3M4 syntax error
- C4M1 syntax error
- Dead Before Dawn M5 Block Ceiling
- the parish map3(c5m3) shortcut glitch HOT 2
- The passing(map1) glitch HOT 1
- C6M1 syntax
- some bugs on "No Mercy: Rehab" HOT 2
- Dead before Dawn small QoL Improvements HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from l4d2-comp-stripper-rework.