Raised This Month: $51 Target: $400
 12% 

[L4D2] Weapon Unlock v0.8.1


Post New Thread Reply   
 
Thread Tools Display Modes
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 03-10-2010 , 12:40   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #401

I was looking through the plugin trying to figure out what I would need to do to get this working in my infected loot drops, when I noticed this:

if (!IsModelPrecached("models/v_models/v_bile_flask.mld")) PrecacheModel("models/v_models/v_bile_flask.mld")

Besides that, why do you do the InitHiddenWeaponsDelay part?
What is m_weaponID used for on the entity net props?
Thraka is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 03-10-2010 , 14:42   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #402

Quote:
Originally Posted by Thraka View Post
I was looking through the plugin trying to figure out what I would need to do to get this working in my infected loot drops, when I noticed this:

if (!IsModelPrecached("models/v_models/v_bile_flask.mld")) PrecacheModel("models/v_models/v_bile_flask.mld")

Besides that, why do you do the InitHiddenWeaponsDelay part?
What is m_weaponID used for on the entity net props?
Doh, typo. Wasn't necessary anyhow so I removed it. Thanks for the tip.

It seems to require a delay after precaching the weapon models, otherwise it causes problems when you try to spawn the weapons right after. The map change is required after spawning the weapons, otherwise they do no damage during the first map they are spawned.

m_weaponID defines what kind of weapon a player gets when they use the entity. It's entirely possible to have a pistol model for the weapon, but have it give the user an autoshotgun. I use it to find out what kind of weapon spawn the entity is supposed to be as well as setting new entities to the correct weapon.
Crimson_Fox is offline
blitzzz
Member
Join Date: Mar 2010
Old 03-11-2010 , 21:12   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #403

Hi,

Are there any 'quick' ways to disable and enable css weapons in-game through admin commands? I asked this because some of my friends do not like the css weapons while some of them like it.. and some of them feel that for normal vs games, css weapons are alright but for in house versus games or clan versus match css weapons should be disabled.. So, is it possible to disable or enable them in game? If not, what is the quickest way to do it other than removing the plugin via ftp and resetting the server? Thanks in advance
blitzzz is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 03-11-2010 , 21:37   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #404

Use the sm plugins unload #

where # is the number of the this plugin on your server. Use sm plugins list to find out.

Then force change the map to the first in the campaign.
Thraka is offline
cigs
Senior Member
Join Date: Jul 2006
Old 03-12-2010 , 12:20   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #405

rcon sm plugins list to get the full list with respective plugin numbers displayed in front of them
__________________
cigs is offline
blitzzz
Member
Join Date: Mar 2010
Old 03-12-2010 , 14:02   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #406

Quote:
Originally Posted by Thraka View Post
Use the sm plugins unload #

where # is the number of the this plugin on your server. Use sm plugins list to find out.

Then force change the map to the first in the campaign.
hmmm i don't see any plugins numbers... this is my console log


sm plugins list
"Admin File Reader" (1.3.1) by AlliedModders LLC
"Admin Menu" (1.3.1) by AlliedModders LLC
"Anti-Flood" (1.3.1) by AlliedModders LLC
"Basic Ban Commands" (1.3.1) by AlliedModders LLC
"Basic Chat" (1.3.1) by AlliedModders LLC
"Basic Commands" (1.3.1) by AlliedModders LLC
"Basic Info Triggers" (1.3.1) by AlliedModders LLC
"Basic Votes" (1.3.1) by AlliedModders LLC
To see more, type "sm plugins 12"
] sm plugins 12
"Client Preferences" (1.3.1) by AlliedModders LLC
"Fun Commands" (1.3.1) by AlliedModders LLC
"Fun Votes" (1.3.1) by AlliedModders LLC
"[L4D2] Weapon Unlock" (0.5.2) by Crimson_Fox
"Player Commands" (1.3.1) by AlliedModders LLC
"Sound Commands" (1.3.1) by AlliedModders LLC


i tried the unload thingy but the list shows up again..

sm plugins unload
"Admin File Reader" (1.3.1) by AlliedModders LLC
"Admin Menu" (1.3.1) by AlliedModders LLC
"Anti-Flood" (1.3.1) by AlliedModders LLC
"Basic Ban Commands" (1.3.1) by AlliedModders LLC
"Basic Chat" (1.3.1) by AlliedModders LLC
"Basic Commands" (1.3.1) by AlliedModders LLC
"Basic Info Triggers" (1.3.1) by AlliedModders LLC
"Basic Votes" (1.3.1) by AlliedModders LLC
To see more, type "sm plugins 12"


anyone can help?
blitzzz is offline
blitzzz
Member
Join Date: Mar 2010
Old 03-12-2010 , 14:04   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #407

Quote:
Originally Posted by cigs View Post
rcon sm plugins list to get the full list with respective plugin numbers displayed in front of them

hmm this didnt work either.. console says unknown command
blitzzz is offline
cigs
Senior Member
Join Date: Jul 2006
Old 03-12-2010 , 14:05   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #408

rcon_password has to be set in both your server.cfg and your own client before that can work.
__________________
cigs is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 03-12-2010 , 14:50   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #409

Additionally to what cigs said, it's a good idea to download the handy remote admin tool, HLSW http://www.hlsw.net/
Thraka is offline
blitzzz
Member
Join Date: Mar 2010
Old 03-12-2010 , 16:58   Re: [L4D2] Weapon Unlock v0.7
Reply With Quote #410

Quote:
Originally Posted by cigs View Post
rcon_password has to be set in both your server.cfg and your own client before that can work.

Um.. its already set in my server.cfg, but what do u mean by 'client'
blitzzz 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 16:42.


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