1) 1) Download and place the l4d2_luffy.smx into addons/sourcemod/plugins.
if you wish to compile it yourself, the include file in the zip.
2) Download the zip file, extract the luffy_models.vpk to your l4d2 addons client game directory.
Note: Place the vpk in your actual client game, the l4d2 game, not server. Note: DO NOT USE the luffy_models folder. Its there to full fill alliedmoder requirement.
3) For pure l4d2 no custom ingame model, download the l4d2_luffy.sp, open it with notepad editor and change the global virable g_bWithCustomModel = true to g_bWithCustomModel = false;
the variable is heavily commented, should be easy to notice which one.
4) If you have installed the previous model folder manualy, please delete it.
If you cant find which one, delete the entire folder and verify your game file.
For Online Hosting Sever:
5) you may need to set the varible g_bWithCustomModel = false if you do not wish to ask your client to download them manualy;
Please do take a moment to read the change log at second post v0.9.1 to give you some idea what new bug feature i have invented in case something wrong happen in game before you reporting any issue.
If your server stuck and spawn in the wrong place, please read the server console what script run long that causing it. I have checked and re-do almost everything from scratch and i found none that causing the server to loading asset in a loop. With or without SM and MM installed, my local server get stuck sometime.. this is a positive indication no bad plugins causing the error.
I have the plugin heavily commented, some may acurate, some may not. Keep in mind my last coding was 8 years ago and havent see any ever since.
It should be easy for anybody to modify and tweak for you own version and taste.
I only tested this on my local server. no actual online server..
Please ignore the developer 18+ comment in the plugins. Its still in beta and i need to read it for reminder what changes/should change.
I ll upload the rpg version if i m still alive a couple of years from now.
l4d2_luffy_rpg contain only Airstrike and Homing missile.
v0.8 Last edited by GsiX; 11-08-2012 at 03:29: 31k dn
Some description below may no longer accurate due to heavy changes.. i ll correct it if i found an appropriate time to do so. older description
Spoiler
This plugin developed from scratch base on my plugin for CS:S. Since the file size reaching 10MB, i decide to not release it (well sever side download problem).
What this things does?
When Special Infected death, they drop random Lyffy items. If player pick that item, player will get reward base on the model they pick.
Available level
* strength - Player can jump higher, create diferent color spark when shooting SI. Small chance to gain small amount of HP. Chance SI death result in explosion.
* health - Player gain max HP thru level.
* agility - Player move much faster.
* endurance - Player take less damage.
- luck - Ton of benefit.
* point-- - If you unlucky, point will --
This plugin developed from scratch base on my plugin for CS:S. Since the file size reaching 10MB, i decide to not release it (well sever side download problem).
What this things does?
When Special Infected death, they drop random Lyffy items. If player pick that item, player will get reward base on the model they pick.
PHP Code:
Red star = Clock Device - make player immune to any damage for few seconds base on setting.
Yellow Star = Super Speed - make player run faster for few seconds base on setting.
Turtle = Super Strength - make player able to jump higher and make a unique shooting result for few seconds base on setting.
Mushroom = Player regenerate HP.
White star = Give random weapon.
Black star = lolx... give player a witch.
Big head = hmmm... give player a tank.
Cross = Punish player.
F18 = Launch air strike.
Be careful.. you may have a chance getting random model changing.
Special credit to:
- credit to Bacardi for the beam problem.
- Credit to Powerload for the scrip explaination.
- Credit to FaTonny for the cookie step by step guide.
- Credit to berni for the assistance.
- Credit to Dr.McKay for the assistance.
- Credit to 11530 for the assistance.
- Credit to MasterMind420 for the client side issue.
- Credit to MPQC for the teleport hint.
- Credit to Mitchell and thetwistedpanda for the coordinate calculation.
- Credit to S-Slow for the awesome model.
Installation:
- For Multi Player sever, proper file upload to client side (if you wish to use l4d2_luffy.smx) check this tutorial on how to set the file up.
Sorry for the picture with all the model facing against me. They are rotating. lolx..
Last edited by GsiX; 10-30-2020 at 13:03.
Reason: Uploading new fix