Left 4 Dead 2

Left 4 Dead 2

Simple Chainsaw Refuel Script
43 条留言
Geebanger0  [作者] 9 月 21 日 下午 11:43 
honestly i thought this one already worked like that
Jeremessiah 9 月 21 日 下午 11:40 
could u make a version where you have to hold r with the chainsaw to refuel it?
Geebanger0  [作者] 8 月 16 日 下午 11:32 
Yes you still lose the chainsaw when it reaches 0 fuel. You might be able to get another mod to prevent that though
Poofy 8 月 16 日 下午 8:42 
Oh but question! Is the chainsaw still dropped and lost after reaching 0 fuel?
Hes a casual player and might not be able to watch his fuel usage very well.
Poofy 8 月 16 日 下午 8:39 
Thank you so much! I have a friend who really like using the melee weapons and he was really upset the the chainsaw broke after like 2 rooms of use, I was looking for something like being able to restock the chainsaw at ammo piles but this is a much better idea! :D Now he can carry spare gascans with us and keep the shredding fun going.
maiaterix 7 月 19 日 下午 7:33 
Muy bueno :steamthumbsup:
Get Off My Lawn 7 月 13 日 上午 8:33 
Chainsaws are two stoke engines.... ya'll gonna destroy that saw.
Geebanger0  [作者] 7 月 7 日 上午 3:40 
:Eddie:
Wooky 7 月 6 日 下午 9:52 
thanks, i wasn't reading at first
Geebanger0  [作者] 7 月 6 日 下午 9:49 
It says in the description
Wooky 7 月 6 日 下午 8:14 
how do i refuel chainsaw?
Geebanger0  [作者] 6 月 25 日 上午 3:30 
It won't cause a crash. The script is triggered when you or any player shoves something. If the script can't retrieve the model of what you shoved (such as a wall or floor) it ends early and prints a message.
TofuDelivery 6 月 25 日 上午 1:52 
mod is good on gameplay, bad thing is that in console theres a nonstop error message about this mod, that could lead to a crash
WAALLLLLLLLLLLLTAHWHITE 6 月 21 日 下午 12:25 
no im ellis
Cheety 6 月 20 日 下午 7:46 
Mandela effect
galesdeloscien 6 月 20 日 上午 3:20 
Yeah
Subby 6 月 19 日 下午 9:37 
I remember the first time I played L4D2, I thought I could refuel the chainsaws with gascans in some way. I mean, it should be a vanilla thing in the game, right?
jh7thesped 6 月 2 日 下午 1:29 
I was so disappointed that this wasn't in the vanilla game when I first played on the 360 lmao. This is definitely gonna one I can't live without
PEACEandLOVE 4 月 23 日 下午 5:22 
Should be base game feature.
Geebanger0  [作者] 4 月 23 日 上午 4:14 
chainsaws have 30 seconds worth of fuel. If you configured it to only refuel 20%, then you're getting 6 seconds of fuel per can. its basically pointless.
HLRaven 4 月 23 日 上午 4:01 
gascans are plentiful in alot of maps so is there a chance for a config where you can configure how much gas you get in the chainsaw? like it fills up 20%
Geebanger0  [作者] 4 月 22 日 下午 12:28 
@Ajiliffe well I am literally Ellis
=_X_=™© 4 月 22 日 上午 8:29 
now that my friend is a handy mod , well done
Ajiliffe 4 月 22 日 上午 7:08 
i will never unhear ellis's voice in geebanger's speech
时空之轨迹 4 月 22 日 上午 12:15 
:steamthumbsup::steamthumbsup::steamthumbsup:
Geebanger0  [作者] 4 月 21 日 下午 11:58 
ok i updated it, its fixed now
Geebanger0  [作者] 4 月 21 日 下午 11:56 
NAHHHHHHHHHH i figured it out, its cause i had ";" at the end of the line so it was literally just ignoring it mb all
Geebanger0  [作者] 4 月 21 日 下午 11:44 
what you suggested should work though since thats what ive done in past scripts that needed to check the current weapon
Geebanger0  [作者] 4 月 21 日 下午 11:41 
@kurochama didn't work. I don't see why it would be triggering like that anyway though? It should only give you a new chainsaw if activeweapon is already chainsaw, but its like its just ignoring that and doing it anyway
kurochama 4 月 21 日 下午 11:21 
@Geebanger , after checking the scripts, I found something that can be the clue. "GetActiveWeapon()" is used to point to an entity, but not to point the classname of the entity. Probably you need to change the "if" to:
if(playerweapon.GetClassname() == "weapon_chainsaw")
Geebanger0  [作者] 4 月 21 日 下午 10:53 
yeah it shouldnt be doing that, it only triggers if youre holding a chainsaw, idk why thats happening
Geebanger0  [作者] 4 月 21 日 下午 10:52 
well ok, it shouldnt be doing that
时空之轨迹 4 月 21 日 下午 10:15 
I can get chainsaws by shoving gas cans with anything.
Geebanger0  [作者] 4 月 21 日 下午 7:13 
Yes it deletes your current chainsaw and gives you a new one
4 月 21 日 下午 6:10 
chainsaw spawns when shoving a gas can
Freak Johnson 4 月 21 日 下午 1:05 
i feel like this is gonna be in the front page soon
Miyu 4 月 21 日 上午 4:56 
finally My favorite special melee weapons, Thanks You
Prudent _Reika-Vortex 4 月 20 日 下午 11:32 
now this makes more sense than the ammo piles, thank you!
Geebanger0  [作者] 4 月 20 日 下午 11:17 
thats a good point regardless. If you find red cans during a scavenge segment, make sure you dont shove them while holding a chainsaw unless youre fine with not having them available to fuel up whatever the finale is
uronga 4 月 20 日 下午 5:04 
one is gas and the other is diesel
Geebanger0  [作者] 4 月 20 日 下午 5:01 
they're yellow
时空之轨迹 4 月 20 日 下午 5:01 
But the gas cans at Dead Center are red.