CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Setting LOD dvars for other players
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="spiceyboi" data-source="post: 46074" data-attributes="member: 291134"><p>Is this possible? I want to set the r_lodBiasRigid and r_lodBiasSkinned dvars for other players when they connect to a zombies game but it doesn't seem to actually work for them. Here's my script, what am I doing wrong? </p><p></p><p>/*</p><p>* Black Ops 2 - GSC Studio by iMCSx</p><p>*</p><p>* Creator : name</p><p>* Project : LodofChanger</p><p>* Mode : Zombies</p><p>* Date : 2019/09/06 - 10:51:44 </p><p>*</p><p>*/ </p><p></p><p>#include maps\mp\_utility;</p><p>#include common_scripts\utility;</p><p>#include maps\mp\gametypes_zm\_hud_util;</p><p>#include maps\mp\gametypes_zm\_hud_message;</p><p></p><p>init()</p><p>{</p><p> level thread onPlayerConnect();</p><p>}</p><p></p><p>onPlayerConnect()</p><p>{</p><p> for(;<img src="/styles/default/xenforo/smilies.emoji/people/wink.emoji.svg" class="smilie" loading="lazy" alt=":wink:" title="Wink :wink:" data-shortname=":wink:" /></p><p> {</p><p> level waittill("connected", player);</p><p> player thread onPlayerSpawned();</p><p> player iprintln("testmessage");</p><p> // BiasRigid</p><p> if( getDvarint("r_LodBiasRigid") == 0)</p><p> setDvar("r_LodBiasRigid", "-1000");</p><p> // BiasSkinned</p><p> if( getDvarint("r_LodBiasSkinned") == 0)</p><p> setDvar("r_LodBiasSkinned", "-1000");</p><p> // no Dof</p><p> if( getDvarint("r_dof_enable") == 1)</p><p> setDvar("r_dof_enable", "0");</p><p> }</p><p>}</p><p></p><p>onPlayerSpawned()</p><p>{</p><p> self endon("disconnect");</p><p> level endon("game_ended");</p><p> for(;<img src="/styles/default/xenforo/smilies.emoji/people/wink.emoji.svg" class="smilie" loading="lazy" alt=":wink:" title="Wink :wink:" data-shortname=":wink:" /></p><p> {</p><p> self waittill("spawned_player");</p><p> // BiasRigid</p><p> if( getDvarint("r_LodBiasRigid") == 0)</p><p> setDvar("r_LodBiasRigid", "-1000");</p><p> // BiasSkinned</p><p> if( getDvarint("r_LodBiasSkinned") == 0)</p><p> setDvar("r_LodBiasSkinned", "-1000");</p><p> // No Dof</p><p> if( getDvarint("r_dof_enable") == 1)</p><p> setDvar("r_dof_enable", "0");</p><p> }</p><p>}</p></blockquote><p></p>
[QUOTE="spiceyboi, post: 46074, member: 291134"] Is this possible? I want to set the r_lodBiasRigid and r_lodBiasSkinned dvars for other players when they connect to a zombies game but it doesn't seem to actually work for them. Here's my script, what am I doing wrong? /* * Black Ops 2 - GSC Studio by iMCSx * * Creator : name * Project : LodofChanger * Mode : Zombies * Date : 2019/09/06 - 10:51:44 * */ #include maps\mp\_utility; #include common_scripts\utility; #include maps\mp\gametypes_zm\_hud_util; #include maps\mp\gametypes_zm\_hud_message; init() { level thread onPlayerConnect(); } onPlayerConnect() { for(;;) { level waittill("connected", player); player thread onPlayerSpawned(); player iprintln("testmessage"); // BiasRigid if( getDvarint("r_LodBiasRigid") == 0) setDvar("r_LodBiasRigid", "-1000"); // BiasSkinned if( getDvarint("r_LodBiasSkinned") == 0) setDvar("r_LodBiasSkinned", "-1000"); // no Dof if( getDvarint("r_dof_enable") == 1) setDvar("r_dof_enable", "0"); } } onPlayerSpawned() { self endon("disconnect"); level endon("game_ended"); for(;;) { self waittill("spawned_player"); // BiasRigid if( getDvarint("r_LodBiasRigid") == 0) setDvar("r_LodBiasRigid", "-1000"); // BiasSkinned if( getDvarint("r_LodBiasSkinned") == 0) setDvar("r_LodBiasSkinned", "-1000"); // No Dof if( getDvarint("r_dof_enable") == 1) setDvar("r_dof_enable", "0"); } } [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Setting LOD dvars for other players
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top