Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Spawn with single pistol only?

- - - - -

  • Please log in to reply
7 replies to this topic

#1
OFFLINE   Gramp1

Gramp1

    Newbie

  • Members
  • Pip
  • 8 posts
1
A step in the right direction
  • LocationNova Scotia, Canada

I have been wondering if it is possible to make everyone spawn with single pistol instead of duals?.

 



#2
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

Very possible with lua. I have this feature in my lua.
I think it is under "sess.latchPlayerWeapon2" set that to single colt or luger.

 

You would need to do some checking of the players team.



#3
OFFLINE   Gramp1

Gramp1

    Newbie

  • Members
  • Pip
  • 8 posts
1
A step in the right direction
  • LocationNova Scotia, Canada

Thanks Zelly but the only thing I know about lua is how to steal/borrow other peoples. ;)

Was hoping I could do this in my silent.cfg?



#4
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

Do not believe that is gonna be possible unless they add it to silent mod.
There is the option to make medics only spawn with single pistol I think though. I think it is in g_medics...



#5
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

 

Do not believe that is gonna be possible unless they add it to silent mod.

Please say what would need to be added.



#6
OFFLINE   Zelly

Zelly

    Regular Member

  • Coders
  • PipPipPip
  • 141 posts
73
Getting Better

I am content with using lua to accomplish this. I use it to let clients choose if they want to spawn with it, as well as it will pick smg as secondary if available.

 

But I suppose it could be added as a server cvar and or a client cvar.

 

/cg_singlePistolPriority 1

/g_forceSinglePistol 1



#7
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Sorry. I was reading it fast and thought there was something missing from the Lua. But your response was to

 

Was hoping I could do this in my silent.cfg?

 

One way is to disable light weapons skill level 4. Which is the one that gives akimbos to the players. I.e.

set skill_lightweapons "20 50 90 -1"

http://mygamingtalk....ll_lightweapons



#8
OFFLINE   Gramp1

Gramp1

    Newbie

  • Members
  • Pip
  • 8 posts
1
A step in the right direction
  • LocationNova Scotia, Canada

One way is to disable light weapons skill level 4. Which is the one that gives akimbos to the players. I.e.

set skill_lightweapons "20 50 90 -1"

http://mygamingtalk....ll_lightweapons

Worked like a charm, Thanks :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users