Left 4 Dead 2

Left 4 Dead 2

[VScript] Custom Survivor Takeover
Showing 1-10 of 12 entries
< 1  2 >
Update: 21 Jul @ 3:47pm

check if spawned player is survivor first before trying to restore, duuh

Update: 18 Jul @ 11:45pm

I removed the check for cutscene, cuz not working exactly right in l4d1 cutscenes for some reason

Added an option to try again every second, to try takeover/restore if not yet done so.

Update: 17 Jul @ 9:29pm

Not sure how I missed this:
takeover_chance = ["100.0", "100.0", "100.0", "100.0"]

Changed to:
takeover_chance = [100, 100, 100, 100]

im stoopeed

Update: 12 Jul @ 5:01pm

I noticed timer thinker double updates
So switched to gmapscript update, it updates every second, interval not customizable?

Update: 10 Jul @ 10:34pm

Update: 10 Jul @ 9:23pm

Notes for myself:

Change to TimerThinker instead of InvokeUpdate, because InvokeUpdate will stack with each other after restarting map

Make takeover only happen at the very start of the campaign

Before restarting or going to next chapter, record all current custom survivors for later

After restarting or going to next chapter, try restore all previous custom survivor records, because they love to change back to vanilla survivors

needs more testing man idk

Update: 10 Jul @ 9:14am

fix percent chance check

Update: 10 Jul @ 8:59am

Update: 10 Jul @ 8:39am

Update: 10 Jul @ 8:08am

takeover_chance setting