BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Animal Crossing Wii: An Issue With Seth's "Grass Can't Be Trampled" Gecko code
Dvars EmptyToday at 3:35 pm by SnB@BWH

» [Code Request] Final Fantasy Fables: Chocobo's Dungeon (R7FEGD)
Dvars Empty11/19/2024, 4:04 pm by ShashooPooka

» Lego Stars Wars: The Complete Saga [RLGE64]
Dvars Empty11/12/2024, 3:19 am by SnB@BWH

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
Dvars Empty11/10/2024, 5:26 am by Bully@WiiPlaza

» Error Injecting Drool Links Saliva Mod Menu
Dvars Empty11/10/2024, 5:24 am by Bully@WiiPlaza

» USB Gecko problems with some games
Dvars Empty10/16/2024, 1:59 pm by Reclaimer Shawn

» Metal Gear Solid V The Phantom Pain X Flashpoint Batman Gameplay unedited [Seth@WiiPlaza]
Dvars Empty9/23/2024, 12:48 pm by Seth@WiiPlaza

» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Dvars Empty8/9/2024, 7:09 am by SnB@BWH

» ASM <> Gecko Code Converter
Dvars Empty7/29/2024, 11:15 am by Mac11ngAround

» German With a Jackhammer
Dvars Empty7/28/2024, 3:42 pm by SnB@BWH

Search
 
 

Display results as :
 


Rechercher Advanced Search

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Dvars

Go down  Message [Page 1 of 1]

1Dvars Empty Dvars 10/30/2014, 11:10 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

Dvars are developer variables that have a name and a value.

For e.g. setting the last selected button configuration in-game the dvar
Code:
lastPresetButtonConfig
is used with the name of the latest button configuration as its argument. Note that in order to set dvar values the command
Code:
set
needs to be prepended. The basic syntax of setting dvars is
Code:
set dvarName dvarValue

Our example would look like this:
Code:
set lastPresetButtonConfig "button_config_alpha"

Here are all the button configuration names for Wii Remote:

Wii Remote Button Configurations
Code:
button_config_alpha
button_config_bravo
button_config_charlie
button_config_delta
button_config_echo
button_config_foxtrot

You can find more in the code_post_gfx_mp.ff file.

And here are lots of dvar dumps to check out for different dvars:
http://www.bullywiihacks.com/f40-

Note that dvars can be binded and toggled also. If we wanted to toggle 3rd person mode we'd use the
Code:
toggle
command following the dvar name and the values to toggle through separated by blanks:

Code:
twistbind WII_C "toggle cg_thirdPerson 1 0"

Dvars can also be resetted to their original value conveniently by using the
Code:
reset
command. It's argument is the dvar name.

Do not write something like:
Code:
set cg_thirdPerson 0

Better:
Code:
reset cg_thirdPerson


_________________
Dvars YBjg74I

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum