Welcome to Soldier of Fortune Community Forums
11 Dec 2018, 05:12


View unanswered postsView active topics



Reply to topic  [ 1 post ] 
How to disable Phos 
Author Message
Israel

User avatar

Joined:
Sun Dec 04th, 2011
Posts: 384
Reply with quote
Edit these values found in your servers \user-sp14t11\sofplus-cvars.cfg file.

Alternate fire and primary fire of each weapon can be disabled using these SoFplus cvars. Simply set these to 1 instead of 0 to disable.
Code:
set _sp_sv_disable_alt_attack_1         0
set _sp_sv_disable_alt_attack_10        0
set _sp_sv_disable_alt_attack_11        0
set _sp_sv_disable_alt_attack_12        0
set _sp_sv_disable_alt_attack_8         0
set _sp_sv_disable_alt_attack_9         0
set _sp_sv_disable_primary_attack_1     0
set _sp_sv_disable_primary_attack_2     0
set _sp_sv_disable_primary_attack_3     0
set _sp_sv_disable_primary_attack_4     0
set _sp_sv_disable_primary_attack_5     0
set _sp_sv_disable_primary_attack_6     0
set _sp_sv_disable_primary_attack_7     0
set _sp_sv_disable_primary_attack_8     0
set _sp_sv_disable_primary_attack_9     0
set _sp_sv_disable_primary_attack_10    0
set _sp_sv_disable_primary_attack_11    0
set _sp_sv_disable_primary_attack_12    0

Complete weapon number list
Code:
1 - Knife
2 - 9mm Pistol
3 - .44 Magnum
4 - Shotgun
5 - Sniper rifle
6 - Surpressed UZI
7 - SMG
8 - HMG
9 - Slug Thrower
10 - Rocket Launcher
11 - Flame Thrower
12 - Laser


How to disable Phos

Phos is the alternate fire of the hmg (8).  So change the value like so:

Code:
set _sp_sv_disable_alt_attack_8         1


Original source: SoFplus 1.4 Client and Server manual found at http://sof1.megalag.org/


12 Dec 2011, 18:56
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 
Topic Views: 527


Who is online

Users browsing this forum: No registered users and 1 guest


Top
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group
www.sof1.org