AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS] Start weapon 1.2 [UPDATED 2012-10-14] (https://forums.alliedmods.net/showthread.php?t=114527)

Devzirom 01-05-2010 12:17

[CSS] Start weapon 1.2 [UPDATED 2012-10-14]
 
5 Attachment(s)
CSS: Start weapon

Allows to replace a set standard start weapon on any another

Plugin cvar's

"sm_sw_enabled" (default: "1") - "1" = "Start weapon" plugin is active, "0" = "Start weapon" plugin is disabled
"sm_sw_t" (default: "glock") - Set of the start weapon for the Terrorists team.
"sm_sw_ct" (default: "usp") - Set of the start weapon for the Counter-Terrorists team.
"sm_sw_help" - plugin help
"sm_sw_version" - plugin version

Usage examples cvar's

sm_sw_t fiveseven awp kevlar - Set of the start weapon for the Terrorists team is fiveseven, awp and kevlar.
sm_sw_ct ak47 deagle flashbang flashbang - Set of the start weapon for the Counter-Terrorists team is ak47, deagle and two flashbang's.
sm_sw_t assaultsuit glock m4a1 - Set of the start weapon for the Terrorists team is assaultsuit, glock and m4a1.
sm_sw_ct usp m249 defuser - Set of the start weapon for the Counter-Terrorists team is usp, m249 and defuser.
sm_sw_t none - Set of the start weapon for the Terrorists team is knife only.
sm_sw_ct ak47 m4a1 awp - Set of the start weapon for the Counter-Terrorists team is awp. Ak47 and m4a1 - is ignored.
sm_sw_t deagle glock usp - Set of the start weapon for the Terrorists team is usp. Deagle and glock - is ignored.
sm_sw_ct galil noknife - Set of the start weapon for the Counter-Terrorists team is galil. Knife - is removed.

Complete value list


Primary
m3
xm1014
mac10
tmp
mp5navy
ump45
p90
galil
famas
ak47
m4a1
sg552
aug
m249
scout
sg550
awp
g3sg1

Secondary

glock
p228
usp
deagle
elite
fiveseven

Grenades

hegrenade
flashbang
smokegrenade

Items

defuser
kevlar
assaultsuit
nvgs
noknife

Changelog

version 1.1

Under recommendation Antithasys, the main part of a plugin has been rewritten.

Errors are rectified:
- The error in the description is corrected
- The error which has been found out GrO: "using full set (suit, primary weapon, secondary weapon and all grenades), the server is crashing after a map load."
- The error arising with glock18: "Attempted to create unknown entity type weapon_glock18!"

version 1.2

The main part of a plugin has been rewritten.

New:
- Aggressive behavior
- Fixed problem with Diffuser Kit
- Added cvar "sm_sw_version"

vertexshader 01-09-2010 02:34

Re: [CSS] Start weapon
 
Number 1!!!! Works even with dev versions :up:

Devzirom 01-09-2010 03:50

Re: [CSS] Start weapon
 
Thanks! A question: what is dev versions?

willy1234x1 01-09-2010 04:00

Re: [CSS] Start weapon
 
Quote:

Originally Posted by Devzirom (Post 1048840)
Thanks! A question: what is dev versions?

He's talking about the beta and alpha releases. http://www.sourcemod.net/snapshots.php

Devzirom 01-09-2010 04:18

Re: [CSS] Start weapon
 
Thanks that have explained! But I would like to hear about lacks and errors of plugin job

vertexshader 01-09-2010 09:38

Re: [CSS] Start weapon
 
Quote:

Originally Posted by Devzirom (Post 1048853)
But I would like to hear about lacks ...

Add control of ammo, armor and health amount :)

ottobohn 02-21-2010 01:00

Re: [CSS] Start weapon
 
Could you allow a player vote with this?

!vote awp

or something that after a certain ratio..for one round, they have this weapon only?

Otto

Antithasys 03-31-2010 22:47

Re: [CSS] Start weapon
 
Should return the proper values for your even hooks. This plugin is approved, but it could be cleaned up a lot for a better coding style.

GrO 09-20-2010 18:14

Re: [CSS] Start weapon
 
Thanks for the plugin it's very useful.

There's one problem. When I'm using full set (suit, primary weapon, secondary weapon and all grenades), the server is crashing after a map load.

I.E.:

sm_sw_ct assaultsuit tmp deagle hegrenade flashbang flashbang smokegrenade
sm_sw_t assaultsuit tmp deagle hegrenade flashbang flashbang smokegrenade


BTW:

There's a typo in the first post:

Code:

sm_sw_t deagke glock18 usp - Set of the start weapon for the Terrorists team is usp. Deagle and glock18 - is ignored.
Anyway, thanks for the plugin, it's still very useful.

Devzirom 10-19-2010 03:23

Re: [CSS] Start weapon
 
version 1.1

Under recommendation Antithasys, the main part of a plugin has been rewritten.

Errors are rectified:
- The error in the description is corrected
- The error which has been found out GrO: "using full set (suit, primary weapon, secondary weapon and all grenades), the server is crashing after a map load."
- The error arising with glock18: "Attempted to create unknown entity type weapon_glock18!"


All times are GMT -4. The time now is 01:37.

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