Can weapons be turned off and on?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
SkiLLeT
Lance Corporal
Posts: 10
Joined: Mon Aug 02, 2004 1:46 am

Can weapons be turned off and on?

Post by SkiLLeT »

Hello I have various of weapons mods, and I'm wondering if its possible to turn off 1 weapons mod, and turn on another while in-game.

I realize that I cant put two weapon .pk3 files in the main folder. Is there any way around this?
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

I believe you could use DM settings and realism settings on all your weapon tiks to have two seperate mods.

e.g.

Code: Select all

dm bulletdamage	25	
realism bulletdamage	110
use cvar

Code: Select all

g_realismmode
to switch them
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

That only works for Spearhead and Breakthrough, Viper.

It depends what kind of mods are they. If it's just realism/non-realism (i.e. bullet spread, movement speed, clip size etc. mods), then by all means yes.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply