Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems getting whitelist to execute
#21
execNow "exec myWhitelist";

works for me.

Edit: No, sorry it is: execnow exec "myWhitelist";
[Image: MaEIQ.png]
Reply

#22
execNow exec "mywhitelist.cfg";

works
Reply

#23
(08-03-2011, 12:01)Pozzuh Wrote: execNow "exec myWhitelist";

works for me.

Edit: No, sorry it is: execnow exec "myWhitelist";

(08-03-2011, 12:32)koil Wrote: execNow exec "mywhitelist.cfg";

works
But you have a custom menu right? i have a quickmenu so i have no idea where to put that. Still not working and im getting crazy with that.
Reply

#24
1) copy this menu file AND its file structure to your mod..

UI_MP/SCRIPTMENUS/team_marinesopfor.menu


2) add this to the code on around line 108ish it should be.

Code:
        onOpen
        {
            execNow exec "mywhitelist.cfg";    
                    
            if (IsInGame())
            {

3) edit your zone source in mod tools to have this line

Code:
menufile,ui_mp/scriptmenus/team_marinesopfor.menu


4) now it should run that every time someone joins the server if you dont have auto assign on.. if you have autoassign just find another menu file and use it this same way
Reply

#25
(08-05-2011, 14:42)koil Wrote: 1) copy this menu file AND its file structure to your mod..

UI_MP/SCRIPTMENUS/team_marinesopfor.menu


2) add this to the code on around line 108ish it should be.

Code:
        onOpen
        {
            execNow exec "mywhitelist.cfg";    
                    
            if (IsInGame())
            {

3) edit your zone source in mod tools to have this line

Code:
menufile,ui_mp/scriptmenus/team_marinesopfor.menu


4) now it should run that every time someone joins the server if you dont have auto assign on.. if you have autoassign just find another menu file and use it this same way
Tried that and well still enviromental sounds. Dunno what i am doing wrong but i think i have all dvars correctly written:
dvars and perks file where i have the function:
Code:
[i]//Removing enviromental sounds[/i]
    setDvar( "r_treeScale", "0" );
    setDvar( "wind_grass_gust_strength", "0" );  
    setDvar( "wind_grass_scale", "0" );  
    setDvar( "wind_grass_tension", "0" );  
    setDvar( "wind_local_frequency", "0" );  
    setDvar( "wind_leaf_scale", "0" );
    
    self setclientDvar( "r_treeScale", "0" );
    self setclientDvar( "wind_grass_gust_strength", "0" );  
    self setclientDvar( "wind_grass_scale", "0" );  
    self setclientDvar( "wind_grass_tension", "0" );  
    self setclientDvar( "wind_local_frequency", "0" );  
    self setclientDvar( "wind_leaf_scale", "0" );
    wait 0.001;

On myWhitelist.cfg:
Code:
// Whitelisted Dvars & Commands
setmoddvar r_treeScale
setmoddvar wind_grass_gust_strength
setmoddvar wind_grass_scale
setmoddvar wind_grass_tension  
setmoddvar wind_local_frequency
setmoddvar wind_leaf_scale
setmoddvar r_picmip
setmoddvar r_picmip_bump
setmoddvar r_picmip_manual
setmoddvar r_picmip_spec
setmoddvar r_picmip_water

On server.cfg(tried with or without and it's the same) and team_marinesopfor.menu:
execNow exec "myWhitelist.cfg";

On mod.csv
Code:
//MENU
menufile,ui_mp\scriptmenus\mod_menu.menu
menufile,ui_mp\scriptmenus\team_marinesopfor.menu

Also i have all that stuff added to an IWD. Before starting a private match with the mod loaded i run on console "exec server" and console says execing myWhitelist.cfg from fastfile.
I think i will have to make a class menu or that will not work.

Reply

#26
Code:
setDvar( "r_treeScale", "0" );
    setDvar( "wind_grass_gust_strength", "0" );  
    setDvar( "wind_grass_scale", "0" );  
    setDvar( "wind_grass_tension", "0" );  
    setDvar( "wind_local_frequency", "0" );  
    setDvar( "wind_leaf_scale", "0" );
    
    self setclientDvar( "r_treeScale", "0" );
    self setclientDvar( "wind_grass_gust_strength", "0" );  
    self setclientDvar( "wind_grass_scale", "0" );  
    self setclientDvar( "wind_grass_tension", "0" );  
    self setclientDvar( "wind_local_frequency", "0" );  
    self setclientDvar( "wind_leaf_scale", "0" );
    wait 0.001;

doesnt remove environmental sounds... they are wind / grass like it says... use the iwd from my mod to remove sounds its done thru the GSC files when u load the map
Reply

#27
(08-05-2011, 19:57)koil Wrote:
Code:
setDvar( "r_treeScale", "0" );
    setDvar( "wind_grass_gust_strength", "0" );  
    setDvar( "wind_grass_scale", "0" );  
    setDvar( "wind_grass_tension", "0" );  
    setDvar( "wind_local_frequency", "0" );  
    setDvar( "wind_leaf_scale", "0" );
    
    self setclientDvar( "r_treeScale", "0" );
    self setclientDvar( "wind_grass_gust_strength", "0" );  
    self setclientDvar( "wind_grass_scale", "0" );  
    self setclientDvar( "wind_grass_tension", "0" );  
    self setclientDvar( "wind_local_frequency", "0" );  
    self setclientDvar( "wind_leaf_scale", "0" );
    wait 0.001;

doesnt remove environmental sounds... they are wind / grass like it says... use the iwd from my mod to remove sounds its done thru the GSC files when u load the map
Do you mean your _load.gsc file?. Thanks
Reply

#28
no i mean the file called z_mp_somethinghere


in the first folder
Reply

#29
(08-05-2011, 20:38)koil Wrote: no i mean the file called z_mp_somethinghere


in the first folder

Yup but what to extract? all the clientscripts?
nvm found it and its working ty so much, in otherwise can u explain me what does the whitelist thing then? xD
+ rep for u
Reply

#30
yuppp
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [FIX] Mw3 server problems 99IRock 0 3,785 02-02-2013, 00:05
Last Post: 99IRock
  Hot Problems AZUMIKKEL 5 3,976 01-20-2013, 16:19
Last Post: Arteq
  Problems trying to import BO2 Camos DidUknowiPwn 3 3,017 12-27-2012, 18:11
Last Post: DidUknowiPwn
  Help Server problems (Wierd!) 99IRock 3 4,387 12-03-2012, 20:26
Last Post: 99IRock
  Help New .iwi files problems Shady360 3 4,143 11-30-2012, 13:05
Last Post: Shady360
  [Request] hotkey Bind and execute iwd files in main folder of game! raminr63 10 5,538 10-10-2012, 16:28
Last Post: Pozzuh
  Help Rotate/Delay problems Puffiamo 5 3,639 08-30-2012, 11:22
Last Post: d0h!
  CoD black ops + xkMod problems chrz 7 5,012 06-01-2012, 22:15
Last Post: surtek
  addon/ error/problems hillbilly 0 1,690 05-12-2012, 07:49
Last Post: hillbilly
  Help mod problems kashwak 0 1,477 03-26-2012, 08:22
Last Post: kashwak

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.