AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Secondary Weapons Only (https://forums.alliedmods.net/showthread.php?t=82363)

[BSM] isuckatlinux 12-21-2008 20:30

Secondary Weapons Only
 
Looking for help on a script to disable all weapons except the secondary weapon in TF2!
Anyone wanna help me?
:D

[BSM] isuckatlinux 12-22-2008 03:30

Re: Secondary Weapons Only
 
I know melee only scripts exist, but I've never seen a mod that only allows the secondary and continues to check! Any ideas would be appreciated!

CrimsonGT 12-22-2008 09:18

Re: Secondary Weapons Only
 
1 Attachment(s)
Here you go. Im not positive its the right weapon slot, but im pretty sure. If it strips all of them and leaves the wrong one, let me know. When you turn it on, it will strip the weapons when the player spawns. You can turn it off by setting sm_secondaryweapons_enabled to 0.

[BSM] isuckatlinux 12-22-2008 16:16

Re: Secondary Weapons Only
 
Quote:

Originally Posted by CrimsonGT (Post 731388)
Here you go. Im not positive its the right weapon slot, but im pretty sure. If it strips all of them and leaves the wrong one, let me know. When you turn it on, it will strip the weapons when the player spawns. You can turn it off by setting sm_secondaryweapons_enabled to 0.

First off, thanks for the help.
Secondly, I have a few questions:
1. How do I implement it? Or does it automatically implement (if this is the case, can I make it an option that you can turn on and off (like melee only))?
2. Can you make a few special instances? There are only three that I want. For medic, give him the syringe gun. For the spy, give him the revolver. And for the demoman, give him the pipe bomb launcher.
3. Can something be written in that checks to make sure that they didn't go back to the ammo locker to replenish their other weapons?

Again, thanks!

Lebson506th 12-22-2008 16:27

Re: Secondary Weapons Only
 
1. Read the last sentence of his post.

[BSM] isuckatlinux 12-22-2008 16:28

Re: Secondary Weapons Only
 
Quote:

Originally Posted by Lebson506th (Post 731610)
1. Read the last sentence of his post.

LMFAO
Wow.
I am a moron!

[BSM] isuckatlinux 12-22-2008 16:40

Re: Secondary Weapons Only
 
A few problems.
lol

I just tested it on my server!
It doesn't work, it just strips ALL the weapons, even when i attempt to turn it off, it's useless. I had to restart my server for people to get weapons again!
lol

[BSM] isuckatlinux 12-22-2008 22:17

Re: Secondary Weapons Only
 
Quote:

Originally Posted by [BSM] isuckatlinux (Post 731629)
A few problems.
lol

I just tested it on my server!
It doesn't work, it just strips ALL the weapons, even when i attempt to turn it off, it's useless. I had to restart my server for people to get weapons again!
lol

Any ideas on how to fix it?

Lebson506th 12-23-2008 07:13

Re: Secondary Weapons Only
 
He'll fix it when he notices the thread, just be patient =)

[BSM] isuckatlinux 12-28-2008 14:11

Re: Secondary Weapons Only
 
Quote:

Originally Posted by Lebson506th (Post 731917)
He'll fix it when he notices the thread, just be patient =)

Gotcha.
About how long does this process take?
lol
I know, I'm impatient!
:P


All times are GMT -4. The time now is 04:31.

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