Raised This Month: $68 Target: $400
 17% 

[L4D2] Weapon Unlock v0.8.1


Post New Thread Reply   
 
Thread Tools Display Modes
ScaredKid
Member
Join Date: Apr 2010
Location: Ohio
Old 04-28-2010 , 22:00   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #501

hey can you make a verison of this so you can lock and unlock all weapons, and edit dmg??
ScaredKid is offline
DarrenToh
Member
Join Date: Mar 2010
Old 04-29-2010 , 10:00   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #502

Edit:
I attatched a modified version of l4d2_WeaponUnlock,now it precaches the cs knife and the m60. It also disables the BOOST for the snipers.

Now heres how to enable the knife...

Open up left4dead2\bin\server.dll and CTRL + F for knife.
Change the first thing you see to 'knifa' and restart the server.
Now it works.
Try typing give knife, or sm_gw @all knife(if you have weapon spawner) and you shall have it.
PROVEN TO WORK.

Since I have pre-ordered the game, I can't test the baseball bat since it unlocks for me,so i decided that you guys should do the job. But I think it's obvious enough for what you guys have to do to unlock the bbb as well. You also have to precache it to avoid crashes btw.
Valve has made the game not recognise the commands give baseball_bat and give knife if server.dll has the EXACT names. So all you have to do is change them to enable them.

Credits
-------
Code taken from AtomicStyker and the Author of this plugin.

To tell you the truth, I don't even have a single clue on how to code, lol.
All I did was see all the precache codes and followed excatly XD
-------

Oh.. and one final note, incase you guys were wondering, YES, the knife is added to the NORMAL spawns, and you should be see-ing them around without any plugin spawning them for you.
I used http://forums.alliedmods.net/showthread.php?t=125164 (MELEE IN SAFE ROOM) to help spawn the weapons since I want to use them all the time XD

CVAR (http://forums.alliedmods.net/showthread.php?t=125164):
l4d2_MITSR_Weapon knife

Heres a video:
http://forums.alliedmods.net/showpos...&postcount=499
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_WeaponUnlock.sp - 1287 views - 20.7 KB)

Last edited by DarrenToh; 04-29-2010 at 11:58. Reason: Posted Full Tutorial
DarrenToh is offline
DarrenToh
Member
Join Date: Mar 2010
Old 04-29-2010 , 11:58   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #503

Uploaded a video for gameplay:
http://www.youtube.com/watch?v=puAjIMjwvts
DarrenToh is offline
cigs
Senior Member
Join Date: Jul 2006
Old 04-29-2010 , 14:09   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #504

But the server needs sv_consistency 0 to allow other players to join it, right?
__________________
cigs is offline
HolyZealage
Junior Member
Join Date: Apr 2009
Old 04-29-2010 , 14:18   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #505

There are a couple problems I have run into on my servers. Multiplayer versus games, consistency is not the same for both teams. For example team 1 will have one of the unlocked weapons in the saferoom. When team 2 goes to play survivor, the layout of unlocked weapons is different. The items still spawn, but they are in different locations. The spawns were consistent prior to 4/23 patch. Why is this happening? Is there a fix for this?
HolyZealage is offline
ball2hi
Senior Member
Join Date: Feb 2010
Old 04-30-2010 , 00:03   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #506

Quote:
Originally Posted by HolyZealage View Post
There are a couple problems I have run into on my servers. Multiplayer versus games, consistency is not the same for both teams. For example team 1 will have one of the unlocked weapons in the saferoom. When team 2 goes to play survivor, the layout of unlocked weapons is different. The items still spawn, but they are in different locations. The spawns were consistent prior to 4/23 patch. Why is this happening? Is there a fix for this?
I'm experience this problem too.
ball2hi is offline
DarrenToh
Member
Join Date: Mar 2010
Old 04-30-2010 , 02:20   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #507

No. But i do have sv_consistency 0 on my server, you can experiment with it.
DarrenToh is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 04-30-2010 , 11:45   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #508

Quote:
models/w_models/weapons/w_eq_bile_flask.mld
--->>>>>
Quote:
models/w_models/weapons/w_eq_bile_flask.mdl
__________________
xbatista is offline
Send a message via Skype™ to xbatista
bjbjbPhob
Member
Join Date: Mar 2010
Old 05-01-2010 , 03:18   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #509

Quote:
Originally Posted by DarrenToh View Post
Edit:
I attatched a modified version of l4d2_WeaponUnlock,now it precaches the cs knife and the m60. It also disables the BOOST for the snipers.

Now heres how to enable the knife...

Open up left4dead2\bin\server.dll and CTRL + F for knife.
how to do it?
__________________

bjbjbPhob is offline
sime
Junior Member
Join Date: Apr 2010
Location: BFE
Old 05-01-2010 , 12:24   Re: [L4D2] Weapon Unlock v0.8.1
Reply With Quote #510

Is there a way to increase chances of getting CS weapons?
sime is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:49.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode