AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D2] Chainsaw Refuelling (https://forums.alliedmods.net/showthread.php?t=121983)

DJ_WEST 03-21-2010 17:20

[L4D2] Chainsaw Refuelling
 
2 Attachment(s)
[L4D2] Chainsaw Refuelling

Version: 1.6



Description:
The plugin allow refuelling of a chainsaw with gascans (not scavenge gascans).

Video

Installation:
1. Download the "l4d2_chainsaw_refuelling.smx" and put into your "addons\sourcemod\plugins" directory.
2. Download the "translations.zip" and extract into your "addons\sourcemod" directory.

Cvars:
l4d2_refuelchainsaw_enabled - plugin status (default: 1).
0 - disable
1 - enable

l4d2_refuelchainsaw_remove - remove a chainsaw if it empty (default: 0).
0 - don't remove
1 - remove

l4d2_refuelchainsaw_mode - allow refuelling of a chainsaw (default: 2).
0 - on the ground
1 - on players
2 - both

l4d2_refuelchainsaw_drop - enable dropping a chainsaw (on reload button) (default: 1).
0 - disable
1 - enable

Translations:
  • en - AtomicStryker
  • ru - DJ_WEST
  • de - AtomicStryker
  • pl - kwski43
  • da - Jo-Barf_Creepy & siangc
  • es - uriel18

Changelog:
Quote:

1.6:
  • Fixed "Entity -1 (-1) is invalid" error (thx siangc)
  • Added the spanish translations
1.5:
  • Fixed bug when the player press use, reload or attack button and can't change a weapon
  • Added the polish translations
1.4:
  • Fixed error when refuelling doesn't work after the plugin is reloaded
  • Updated the translations
1.3:
  • Checking client buttons (OnPlayerRunCmd) works now only on survivors, not owned by the infected
  • Fixed errors with every possible situations spam of pistols
1.2:
  • Fixed error loading of a plugin
  • Added new cvar l4d2_refuelchainsaw_drop
  • Updated the translations
1.1:
  • Fixed bug when chainsaw's fuel doesn't increase
1.0:
  • Initial Release

Views:
Version 1.5 - 2344 views

GanjaStar 03-21-2010 17:57

Re: [L4D2] Chainsaw Refuelling
 
thats a cool plugin. a little gimmicky but very cool. :mrgreen:

IronWarrior 03-21-2010 18:39

Re: [L4D2] Chainsaw Refuelling
 
I like this, would be good for 10vs10. :D

HowGentle 03-21-2010 20:34

Re: [L4D2] Chainsaw Refuelling
 
I summon chainsaw in my dedicate sever. I use chainsaw until out of gas, drop chainsaw and I try to refuel chainsaw by gascan
but can't. (my chr make a refuel motion , but chainsaw's fuel does not increase.)

DJ_WEST 03-22-2010 01:47

Re: [L4D2] Chainsaw Refuelling
 
HowGentle, thanks for report. Try new version 1.1.

alexip121093 03-22-2010 02:19

Re: [L4D2] Chainsaw Refuelling
 
can you add a command to let player drop their chainsaw
or
auto drop(not remove) when run out gas

alexip121093 03-22-2010 04:39

Re: [L4D2] Chainsaw Refuelling
 
1 Attachment(s)
this line cause error

SetEntProp(229, Prop_Data, "m_iClip1", 10)

I just removed it and work great

HowGentle 03-22-2010 06:24

Re: [L4D2] Chainsaw Refuelling
 
1.1 version can not refuel chainsaw's fuel.
I drop chainsaw and try to refuel useing gascan,
but can not.(only throw gascan continually.)
and in spite of "l4d2_refuelchainsaw_remove 0"
when chainsaw's fuel is out, drop it, and disappear.

alexip121093's modified version is works well.:)
thx both of you :)

DJ_WEST 03-22-2010 07:20

Re: [L4D2] Chainsaw Refuelling
 
alexip121093, thanks! I have forgotten to remove the debugging code =)
Quote:

can you add a command to let player drop their chainsaw
Added new cvar l4d2_refuelchainsaw_drop in the new version 1.2.

HowGentle 03-22-2010 07:35

Re: [L4D2] Chainsaw Refuelling
 
Drop function is cool!!
I love it!

AtomicStryker 03-22-2010 07:58

Re: [L4D2] Chainsaw Refuelling
 
Heh, it didnt occur to me chainsaw fuel is simply 'weapon ammo'.

Nifty execution, with the fake gas nozzle.

Herokim 03-22-2010 16:16

I am not able to refill friends chainsaw.

IronWarrior 03-22-2010 16:45

Re: [L4D2] Chainsaw Refuelling
 
This will use up the Gas Can right?

I want to keep balance on the server, so I like players to decide if to use the Gas Can as defence, like set it on fire or use it to rearm the Chainsaw.

Can this be added as a option please?

AtomicStryker 03-22-2010 17:24

Re: [L4D2] Chainsaw Refuelling
 
You need more checks around the Pistol Spawning.

For some reason an Infected Player crapped 200 Pistols all of the sudden, almost crashing the server.

No errors or anything logged.

DJ_WEST 03-22-2010 20:14

Re: [L4D2] Chainsaw Refuelling
 
Quote:

For some reason an Infected Player crapped 200 Pistols all of the sudden, almost crashing the server.
It occurs when the survivors tries to drop chainsaw when they are owned by the infected (hunter, smoker, charger, jockey).

New version 1.3 is released with fixes.

Acecombat2 03-23-2010 07:38

Re: [L4D2] Chainsaw Refuelling
 
cool when you die the plugin stop working!

AtomicStryker 03-23-2010 08:04

Re: [L4D2] Chainsaw Refuelling
 
Fixed up your translations a bit

PHP Code:

"Phrases"
{
    
"Information"
    
{
        
"en"    "Hint"
        "ru"    "Информация"
        "de"    "Tipp"
    
}
    
"Refuelling"
    
{
        
"en"    "You can refuel dropped or teammates chainsaws, aim for it and press m1 while carrying a gastank"
        "ru"    "Вы можете заправить бензопилу с помощью канистры"
        "de"    "Man kann die Kettensäge mit Benzin nachtanken, mit Tank in der Hand auf Säge zielen und 'Schiessen' drücken"
    
}
    
"Full"
    
{
        
"en"    "Chainsaw tank is already full"
        "ru"    "Бензопила уже полностью заправлена"
        "de"    "Kettensäge ist vollgetankt"
    
}
    
"Drop"
    
{
        
"en"    "You can drop a chainsaw by pressing the reload button"
        "ru"    "Вы можете выбросить бензопилу, нажав клавишу перезарядки"
        "de"    "Man kann die Kettensäge fallenlassen - drück NACHLADEN"
    
}



DJ_WEST 03-23-2010 08:18

Re: [L4D2] Chainsaw Refuelling
 
Quote:

cool when you die the plugin stop working!
What do you mean? When you died the plugin stop checking only you, but if you revived by defibrillator it start checking you again.

AtomicStryker, thank you very much! It will work, if all languages in one file?

IronWarrior 03-23-2010 10:03

Re: [L4D2] Chainsaw Refuelling
 
DJ West, this will use up the GasCan after using it for the Chainsaw correct?

DJ_WEST 03-23-2010 11:05

Re: [L4D2] Chainsaw Refuelling
 
Quote:

DJ West, this will use up the GasCan after using it for the Chainsaw correct?
Yes.

kwski43 03-23-2010 14:31

Re: [L4D2] Chainsaw Refuelling
 
You just won with this plugin :D

Jo-Barf_Creepy 03-23-2010 14:58

Re: [L4D2] Chainsaw Refuelling
 
If you wanna add German translation, I have the translation here:


"Phrases"
{
"Information"
{
"de" "Information"
}
"Refuelling"
{
"de" "Ihr könnt eine Kettensäge mit einer Gasflasche nachfüllen"
}
"Full"
{
"de" "Die Kettensäge is bereits voll"
}
"Drop"
{
"de" "Ihr könnt eine Kettensäge fallen lassen wenn ihr die Nachladentaste drückt."
}
}




I copy-pasted it, and there are missing spaces.

Skorpion1976 03-23-2010 16:42

Re: [L4D2] Chainsaw Refuelling
 
Gascan means in german a "Benzinkanister".
Propane tank is the "Gasflasche" you are talking about :)

so the correct german translation is:

"Refuelling"
{
"de" "Ihr könnt eine Kettensäge mit einem Benzinkanister nachfüllen"
}

DJ_WEST 03-23-2010 18:10

Re: [L4D2] Chainsaw Refuelling
 
Quote:

If you wanna add German translation, I have the translation here
Thanks, but AtomicStryker is already post "de" translation.

help_im_upside_down 03-23-2010 19:58

Re: [L4D2] Chainsaw Refuelling
 
Someone told me to look at this plugin.

-Downloaded

-Tested

So far everyone on my server loves it!

Verdict on this plugin: EPIC!

crazytina 03-24-2010 02:26

Re: [L4D2] Chainsaw Refuelling
 
nice mod works nice thank ya

Acecombat2 03-24-2010 05:21

Re: [L4D2] Chainsaw Refuelling
 
I mean I die after the next map stop working. If die and revive me not test yet.

Tried Unload and load or Reload still not work.

DJ_WEST 03-24-2010 07:04

Re: [L4D2] Chainsaw Refuelling
 
New version 1.4.

Acecombat2, try the new version.

Acecombat2 03-24-2010 16:59

Re: [L4D2] Chainsaw Refuelling
 
nice, its works fine for now... normally

thresh0ld 03-26-2010 10:44

Re: [L4D2] Chainsaw Refuelling
 
You are full of WIN sir!

ghosthunterfool 03-26-2010 11:06

Re: [L4D2] Chainsaw Refuelling
 
can u make the oxygen tank to have the same effect as the pipe bomb???

DJ_WEST 03-26-2010 13:14

Re: [L4D2] Chainsaw Refuelling
 
Quote:

can u make the oxygen tank to have the same effect as the pipe bomb???
What for? 0_O

ghosthunterfool 03-26-2010 21:31

Re: [L4D2] Chainsaw Refuelling
 
since oxygen tank is quite useless... ppl see it just ignore it! so if u can make a plugin that the oxygen tank when shot the horde will go to the oxygen tank like the pipe bomb since oxygen tank also produce the loud sound when shot and it takes like a few seconds to explode like the pipe bomb!

Blakeocity 03-26-2010 22:24

Re: [L4D2] Chainsaw Refuelling
 
The Oxygen Tank is really ment to be used for stumbling the tank.

However since L4D2 that stumble time on the tank is now practically non-existent. Better idea would be to to stumble the tank for a longer time.

Not sure what that had to do with Chainsaw Refueling but anyway..

Tested and working fine, thanks! :D

DJ_WEST 03-27-2010 06:06

Re: [L4D2] Chainsaw Refuelling
 
Quote:

since oxygen tank is quite useless... ppl see it just ignore it! so if u can make a plugin that the oxygen tank when shot the horde will go to the oxygen tank like the pipe bomb since oxygen tank also produce the loud sound when shot and it takes like a few seconds to explode like the pipe bomb!
Wrong plugin thread.

ghosthunterfool 03-27-2010 07:30

Re: [L4D2] Chainsaw Refuelling
 
its just a request bt in a wrong thread >..< i knew u made good plugin so hope u read this and make the one i requested >.< Thx

DJ_WEST 03-27-2010 11:28

Re: [L4D2] Chainsaw Refuelling
 
New version 1.5.

kwski43 03-27-2010 12:59

Re: [L4D2] Chainsaw Refuelling
 
Would be cool if you could do a cvar to switch between chat hints and hintbox hints. For your other plugins too :D

Acecombat2 03-27-2010 21:01

Re: [L4D2] Chainsaw Refuelling
 
May i know whats the problem? about changing weapons. I don't get it. This a request when you try to re-fuel the chainsaw. someone gonna steal it from you if play with "Real" players. and thats totally lame. I hope theres a another feature that can be refuel without stealing by someone else. For example, Make the dropping chainsaw has delay seconds before someone else can take the previous owner dropped chainsaw.

Jo-Barf_Creepy 04-06-2010 10:47

Re: [L4D2] Chainsaw Refuelling
 
Quote:

Originally Posted by DJ_WEST (Post 1126835)
Thanks, but AtomicStryker is already post "de" translation.

I did not see that. Sorry.


All times are GMT -4. The time now is 02:54.

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