Raised This Month: $ Target: $400
 0% 

[L4D2] Gun Control


Post New Thread Reply   
 
Thread Tools Display Modes
Newf
Senior Member
Join Date: Dec 2009
Old 04-30-2010 , 17:43   Re: [L4D2] Gun Control
Reply With Quote #131

i was using your weapon unlock plugin, along with the gun control and m60 one that keeps it from disappearing. thanks for that, much appreciated.

everything was working great (i think)until my server crashed because the boomer bile wasn't precached on a l4d1 map.

so for now i'm just using the stock gun control plugin and the weapon unlock from the other threat that says it had the boomer bile precached.
__________________
I like to drink beer and shoot stuff. Video games are fun too i guess!
Newf is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 04-30-2010 , 19:35   Re: [L4D2] Gun Control
Reply With Quote #132

Ive updated the attached Gun Unlock Plugin .. added the missing bile model file, combed through memory leaking code...

Still i think it needs a major rewrite or debug, because it never spawns the same configuration of CSS guns for both teams.

Check out the Source, theres some constants you can play with now.
AtomicStryker is offline
Newf
Senior Member
Join Date: Dec 2009
Old 04-30-2010 , 20:17   Re: [L4D2] Gun Control
Reply With Quote #133

Quote:
Originally Posted by AtomicStryker View Post
Ive updated the attached Gun Unlock Plugin .. added the missing bile model file, combed through memory leaking code...

Still i think it needs a major rewrite or debug, because it never spawns the same configuration of CSS guns for both teams.

Check out the Source, theres some constants you can play with now.
you sir, are the man. thanks!!
__________________
I like to drink beer and shoot stuff. Video games are fun too i guess!
Newf is offline
Newf
Senior Member
Join Date: Dec 2009
Old 04-30-2010 , 21:03   Re: [L4D2] Gun Control
Reply With Quote #134

Quote:
Originally Posted by AtomicStryker View Post
Ive updated the attached Gun Unlock Plugin .. added the missing bile model file, combed through memory leaking code...

Still i think it needs a major rewrite or debug, because it never spawns the same configuration of CSS guns for both teams.

Check out the Source, theres some constants you can play with now.
weird. i still get the boomer bile precache error...yet i looked at the code and see it there. weird.
__________________
I like to drink beer and shoot stuff. Video games are fun too i guess!
Newf is offline
chris1701
Senior Member
Join Date: Nov 2009
Old 04-30-2010 , 22:06   Re: [L4D2] Gun Control
Reply With Quote #135

perhaps weakening m60's damage will be a good idea. It can destruct zombie's body by a single shot. We can consider it as heavy mg instead of the class of GL.
chris1701 is offline
chris1701
Senior Member
Join Date: Nov 2009
Old 04-30-2010 , 22:32   Re: [L4D2] Gun Control
Reply With Quote #136

Quote:
Originally Posted by AtomicStryker View Post
Ive updated the attached Gun Unlock Plugin .. added the missing bile model file, combed through memory leaking code...

Still i think it needs a major rewrite or debug, because it never spawns the same configuration of CSS guns for both teams.

Check out the Source, theres some constants you can play with now.

Atomic, I modify your plugin and I want to modify magnum's ammo. I want to add magnum as a primary weapon. Is there anyway to find the m_iAmmo? I try to compile it and it fails by showing error 017: undefined symbols "ent_name". Is there anyway to fix that?

PS: there is a line about m60ammo2 in this plugin because I want m60 to be reloadable.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_guncontrol (2).sp - 217 views - 23.8 KB)
chris1701 is offline
Kringe
Junior Member
Join Date: Feb 2010
Old 05-01-2010 , 04:08   Re: [L4D2] Gun Control
Reply With Quote #137

Another of your Mods that I use, it seems... Again, you always do such good work.

Is it currently in your plan (or could it be...?) to eventually allow modification of clip size on the primary weapons?

I'd like to tweak the Sig and the AWP specifically myself, but I can see this as a fun variable for all the weapons as well.
Kringe is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 05-01-2010 , 08:58   Re: [L4D2] Gun Control
Reply With Quote #138

@chris
Ask in the Scripting Forum. What i can tell you is i have the root admin command sm_guncontroldebug to print out all ammo relevant information of the gun you have.

@Kringe
No. I will not mod clip sizes.


That being said i went and rewrote the Gun Unlock Plugin. It now ensures identical Spawns for both teams.
AtomicStryker is offline
troop5
Member
Join Date: Dec 2009
Old 05-01-2010 , 18:32   Re: [L4D2] Gun Control
Reply With Quote #139

Quote:
Originally Posted by Newf View Post
weird. i still get the boomer bile precache error...yet i looked at the code and see it there. weird.
Reason why is because precache of boomer bile in plugin is wrong.

Right now its this:
CheckModelPreCache("models/v_models/weapons/v_bile_flask.mdl");

Should be this:
CheckModelPreCache("models/v_models/v_bile_flask.mdl");
troop5 is offline
Newf
Senior Member
Join Date: Dec 2009
Old 05-01-2010 , 18:40   Re: [L4D2] Gun Control
Reply With Quote #140

Quote:
Originally Posted by troop5 View Post
Reason why is because precache of boomer bile in plugin is wrong.

Right now its this:
CheckModelPreCache("models/v_models/weapons/v_bile_flask.mdl");

Should be this:
CheckModelPreCache("models/v_models/v_bile_flask.mdl");
awesome thanks!!
__________________
I like to drink beer and shoot stuff. Video games are fun too i guess!
Newf is offline
Reply



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 08:03.


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