Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: dobidoberman1 on April 10, 2013, 03:27:47 pm
-
basically i'm wondering where can i access anywhere over the mpq/source files something about this following mechanisems.
1. zooming mechanisem - where can it code can be found? and mainly all the code behind the settings panel in the game.
sincerely daniel.
-
basically i'm wondering where can i access anywhere over the mpq/source files something about this following mechanisems.
1. zooming mechanisem - where can it code can be found? and mainly all the code behind the settings panel in the game.
sincerely daniel.
Pretty sure that is built-in and hardcoded into the source.
-
I was refered from trinity forums to here, and said its most certainly relates to dbc modifying.
And i merely wants to change the maximum and the default zooming data, not necessarely rephrasing the algorithm.
So as you can see i'm really buffled.. :S
Also the zooming is different within each race thats why it's like already built in the dbc, i mean from the least i know about the dbc files - this is my assumption.
-
I was refered from trinity forums to here, and said its most certainly relates to dbc modifying.
And i merely wants to change the maximum and the default zooming data, not necessarely rephrasing the algorithm.
So as you can see i'm really buffled.. :S
You want to be able to look farther than you can right now, correct ? Increase camera range?
-
Try setting the cvar manually. You will notice that only a specific range of values is accepted. This is due to hard coded limits (not in any DBC, iirc). The settings window itself is in some LUA in FrameXML.
-
Noap, i mean just as you scroll up and down to zoom into your character - i wants to be able to zoom out more then the maximal default lets you.
And if you can elaborate what you just said, about that certain harcoding - is it possible to intepretetate from the code meaning?
-
That distance is a cvar. Change it. There are also addons changing the maximum distance within certain limits. The hardcoded limit is somewhere in the binary and is circumvented with various hacks like the WMT.
-
Sorry for being all ignorant again, i'm merely studying c++ for four weeks so i'm having difficults understand those technical stuff.
cvar is a console variable - since i don't know if the dbc is also written in lua, c++. i'm a bit confused of where i should refer my self to. sourcecode/dbc
where are those console variables located?
are they inside the source in a header called console?
many thanks again, and sorry for all the trouble.
-
Sorry for being all ignorant again, i'm merely studying c++ for four weeks so i'm having difficults understand those technical stuff.
cvar is a console variable - since i don't know if the dbc is also written in lua, c++. i'm a bit confused of where i should refer my self to. sourcecode/dbc
where are those console variables located?
are they inside the source in a header called console?
many thanks again, and sorry for all the trouble.
Either in console (apply -console in your application execution and press ~) or change it within your config.wtf
-
hello again.
so i've been doing my research about the camera function and it came to my attention that indeed it's limited.
so i was attempting to make some reverse engineering via IDA over the idb file and yet i couldn't change those values via cheat engine. //Credit to Ownedcore for the support//
the values are:
004F5960 CGWorldFrame__GetActiveCamera
| |
offset as 7e20, pointer to b7436c
here's a picture to deeply describe what i mean
http://i.imgur.com/QCW2ZER.png (http://i.imgur.com/QCW2ZER.png" onclick="window.open(this.href);return false;)
i went towrad the memory address of CGWorldFrame__GetActiveCamera - got the decimal numbers for 32288 and copied b7436c to the pointer address.
yet, it restricted me from changing the values. (0000000).
so it get me ponder about the question if there's truely no possiblitly to change the camera FOV settings?
that's incorrect since a program by MALU named Machinma tool actually fulfilling that task and gives the person who uses it the oppertunity to unlock the zooming limitation, and many other stuff.
unfortuantelly the source file for the program is unavailable so i can't prob my eyes into it and get how it works.
but above all the program don't saves your changes - which is actually similar to cheat engine mechanisem.
and still for some reasons its seems that via cheat engine the memory address has like a r-x protection which doesn't make sense because the program of malu actually working.
so my question are:
1. if it possible to locate malu wow machinma tool source code?
2. why does the cheat engine won't let me edit the value of zooming?
3. why when i type in the pointer : wow.exe+b7436c it return blank.
4. if its possible to save Wow machinma tool camera changes by any way?
5. is it possible to create a custom map/models that has different camera angle - like taurans and gnomes ones, and still break that limitation.?
thanks for the help
dan