Post: Dvar Help
12-18-2014, 06:16 AM #1
jackwilburn
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Coding A GSC Mod menu and I need help with this line If you guys could help me i would be grateful...

    setDvar("r_heroLightScale", "1 1 1");
(adsbygoogle = window.adsbygoogle || []).push({});
12-18-2014, 06:35 AM #2
EternalHabit
Former Staff
Originally posted by jackwilburn View Post
Coding A GSC Mod menu and I need help with this line If you guys could help me i would be grateful...

    setDvar("r_heroLightScale", "1 1 1");


setDvar("r_heroLightScale", (1,1,1));
12-18-2014, 06:41 AM #3
jackwilburn
Bounty hunter
Originally posted by xTurntUpLobbies View Post
setDvar("r_heroLightScale", (1,1,1));


No Facepalm Like for example

BG_GivePlayerWeapon(weapon)
{
self takeallweapons();
self giveWeapon(weapon);
self switchToWeapon(weapon);
self giveMaxAmmo(weapon);
self iPrintln("^2 Weapon Given");
}
But with The function above usable for a gsc modmenu
12-18-2014, 11:25 AM #4
Loz
Vault dweller
Originally posted by jackwilburn View Post
No Facepalm Like for example

BG_GivePlayerWeapon(weapon)
{
self takeallweapons();
self giveWeapon(weapon);
self switchToWeapon(weapon);
self giveMaxAmmo(weapon);
self iPrintln("^2 Weapon Given");
}
But with The function above usable for a gsc modmenu


the function would be simple:

bodycolor()
{
setDvar("r_heroLightScale","1 1 1");
}

but, im pretty sure graphic stuff (r_) is blocked/removed from black ops 2 on console, not sure on pc tho
12-18-2014, 05:50 PM #5
Originally posted by Loz View Post
the function would be simple:

bodycolor()
{
setDvar("r_heroLightScale", (1,1,1));
}

but, im pretty sure graphical stuff (r_) is blocked/removed from black ops 2



Could you help me? I like to get the Mini Map disabled if i open the Menu, but i couldn't get the dvar to work :/
12-18-2014, 06:06 PM #6
Loz
Vault dweller
Originally posted by xExtisionz
Could you help me? I like to get the Mini Map disabled if i open the Menu, but i couldn't get the dvar to work :/


self setClientUiVisibilityFlag("hud_visible", 0);

The following user thanked Loz for this useful post:

xExtisionz--
12-18-2014, 07:43 PM #7
Chris
Former Staff
Thank you Loz for answering the question.
- Question Answered, Thread Closed

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo