Left 4 Dead 2

Left 4 Dead 2

38 ratings
Lil Gnome Warrior (Vscript)
   
Award
Favorite
Favorited
Unfavorite
Game Content: Items, Scripts
Game Modes: Single Player, Co-op
Items: Other
File Size
Posted
Updated
79.818 KB
Jan 15 @ 1:13pm
Jan 17 @ 12:28pm
7 Change Notes ( view )

Subscribe to download
Lil Gnome Warrior (Vscript)

In 1 collection by kurochama
Unique Weapons with Special Features
41 items
Description
The day for revenge has come. After the gnome rescue mission in "Dark Carnival", gnome folks made an oath to pay for kindness two folds, & evil deeds seven folds. All gnome warriors then went to where zombie apocalypse took place, to help survivors exterminate zombies who had almost killed one of their folks in "Dark Carnival". & then the tale about survivor heroes and gnome warriors against army of zombies under Tank Demon Lord begins...

& yeah, it's another crazy idea again... This was made based on "Survivor's Light Guardian" (that mod was the predecessor & prototype for this one)., & "Melee Sharpshooting" for the attack effects.

Q: "What does this mod do on gnome then?"
This gnome is a sentry type. Gnome now can be deployed. When deployed, he will go into "Gnome Warrior Mode" that attacks any zombies getting close to the survivor he's protecting. & here are the animated previews:





Info: On the animated previews, I used mode 2 of "Gnome Attack Type", set the "Gnome Attack Damage" to 600, & enabled "Gore Mode".


List of features available on "gnome warrior.txt" cfg file:
  1. Gnome Attack Type: What kind of lightning bolt attack type the gnome will use. There are 7 attack types, from value no. 0 to 6. 0= normal bolt, 1= burning bolt, 2= shockwave bolt, 3= combo of no.1+2, 4= critical bolt (25% critical chance), 5= vampire/ health drain bolt, 6= powerful bolt (knockback on SI & tank, stumble on CI & witch).

  2. Gnome Attack Damage: How much attack damage per lightning bolt attack. Min= 1, max= no limit.

  3. Gnome Attack Range: How far the attack range is. Default is 300. Min= 1, max= no limit.

  4. Gnome Gore Mode: When enabled, common infected will be dismembered when killed with gnome's lightning bolt.

  5. Convert To Gnome: When enabled, medical cabinets will be converted to special gnome folks. This gnome folks are one-time-use ammo piles that give ammo & gnome when picked before disappearing.

  6. Allow Only Admin: When it's set to 1, only host/ admin is able to spawn "Gnome Warrior".

  7. Allow Bots To Spawn Gnome: When it's set to 1, bots can spawn "Gnome Warrior" automatically when they pick gnome or gnome arms dealer. But bot's gnome will disappear on the next chapter/ round.

  8. Extra Effects: This is enabled by default. This controls whether the effects like shockwave, blood splatters, fire walls etc will show up or not when lightning bolt hits a zombie. If this is disabled, only the lightning bolt is visible.

Mechanisms of "Gnome Warrior":
  • When holding a gnome, press "CTRL (Crouch) + SHOVE" & shove any objects to deploy "Gnome Warrior".

  • To pick "Gnome Warrior", press "TAB (Score) + SHOVE" & shove any objects. Only the owner can pick the gnome warrior.

  • Each survivor can only pick & spawn one gnome. So, even if you spawn many gnomes via cvar commands to deploy them, only one gnome warrior will show up.

  • When the owner is dead, the "Gnome Warrior" will stop moving. He will warp & move again when the owner is revived or rescued from closet.

  • "Gnome Warrior" can attack every 0.5 second. Attack damage is based on "Gnome Attack Damage" (you can make him simply just a support unit that helps you attack zombies with small damage, or a strong bodyguard that kills all zombies for you).

  • "Gnome Warrior" will actively attack any zombies nearby.

  • "Gnome Warrior" will prioritize in attacking special infected that's using special ability (tongue/ pounce ride/ charge) to pin/ capture the owner, no matter how far the special infected is (vanilla bots are losers, but "Gnome Warrior" is a trained elite warrior :D ).

  • "Gnome Warrior" won't attack a witch except if she starts chasing a survivor (the video preview was made before adding this feature). A warrior doesn't attack women unless he's attacked first. Gnome's warrior chivalry, lol :D .

  • "Gnome Warrior" also won't attack a boomer/ boomette when he/ she's too close.

  • "Gnome Warrior" will automatically change back to normal gnome when the owner enters a saferoom.


So, now it's no longer a war between humans & zombies, as it's also a war for a payback to avenge, seven folds...


Upcoming features: "Gnome Magic Uses Ammo".


NOTES:
  • A videe preview will be added later.
  • A known bug: When killing a special infected or tank, gnome will still keep attacking the dead special infected/ tank at least for 2-3 seconds.
  • This mod is compatible with any special gnome mods, like my "Gnome Magic Turret" & gnome buffs from my "Item Buffs" mod.
  • If you also use my "Item Drop Bonus" mod, killing tank or witch will drop gnome arms dealer, that when combined with this mod, can also give gnome to any survivor picking it.
77 Comments
L_M Apr 30 @ 6:44pm 
i see

gonna organize some mod again
kurochama  [author] Apr 30 @ 2:52pm 
@L_M , afaik, this one only remove the ammo piles with gnome skin that's spawned when using "Convert To Gnome", but it won't remove the real gnome. Probably a mod conflict with that mod.
As for ammo, the value is how much ammo is consumed per lightning that gnome uses. For example, if you set it to 10, 10 ammo will be consumed each time the gnome attacks.
L_M Apr 30 @ 11:11am 
ah one more
how "gnomeMagicAmmo" works, its use our reserve ammo or the gnome have ammo itself?

bcs i already turn it on, it still like nothing happen to my ammo
L_M Apr 30 @ 11:09am 
hmm its kinda hard find gnome if i didnt turn on that "convertToGnome", any way to making it drop 50/50?

oh and i try this plugin CSO Supply Box [github.com], it can drop gnome too, but whenever i try pick it up, its dissapear. maybe bcs the conflict mod of it?
Sieg Rem Mar 4 @ 2:50pm 
@kurochama thanks
kurochama  [author] Mar 3 @ 8:54am 
@Sieg Rem , the cfg file is located in "ems" folder in your L4D2 game folder. It's named "lil gnome warrior". As for gnome spawn on the medkit box, yes, if you set "Convert To Gnome" to 1.
Sieg Rem Mar 3 @ 8:49am 
You can only spawn/get Lil Gnome Warrior from the medkit box showed in the video right? Sorry that I have asked too many questions
Sieg Rem Mar 3 @ 8:43am 
Can I ask where do I find gnome warrior.txt cfg file?
Sieg Rem Mar 2 @ 9:12pm 
Thanks
kurochama  [author] Mar 2 @ 4:13pm 
@Sieg Rem , Lil Gnome Warrior has better performance & optimization. The Survivor's Light Guardian is the prototype of this mod, so it still needs some updates for optimization.