What's new

Tutorial [TUT] How to edit the code_post in FF Viewer

  • Thread starter MattWidz
  • Start date
  • Views 2,050
M

MattWidz

Member
Messages
2,535
Reaction score
1,119
Here is a tutorial in how to edit the code_post and add commands into it on FF Viewer

Ok so first open FF Viwer
nh0xnl.jpg


And Load the code_post_mp.ff
http://img4.imageshack.us/i/56418953.png/

Here are all the raw files of the code_post - ignore the sound files
http://img5.imageshack.us/i/72759654.png/

Here is whats in the files:

Thumbstick_default
http://img4.imageshack.us/i/29684980.png/

Buttons_default (Default Layout)
http://img444.imageshack.us/i/93428842.png/

Buttons_tactical (Tactical Layout)
http://img204.imageshack.us/i/15710507.png/

This is the Lefty File:
http://img210.imageshack.us/i/37502533.png/
As you can see it binds to the deloper_mp which is where you add the mods

This is the dvar_defaults where they reset the dvars so they can't be infected
http://img517.imageshack.us/i/33683821.png/

This is the files for how many pixels your screen has:
420p
http://img692.imageshack.us/i/21691358.png/
720p
http://img708.imageshack.us/i/19259127.png/

Default_mp settings
http://img339.imageshack.us/i/72827386.png/

This is the sensitivity files
http://img85.imageshack.us/i/79523884.png/

This is the developer_mp were the mods are and fast_restart
http://img821.imageshack.us/i/75761735.png/

This is the default killstreaks
http://img441.imageshack.us/i/41159069.png/

Ok so now this is how to mod the code_post

this is my developer_mp at the moment
http://img97.imageshack.us/i/65796823.png/

You have to add a bind such as:
Code:
bind BUTTON_B

then add a command to toggle or set a dvar to the bind such as:
Code:
bind BUTTON_B               "toggle"

Now add a dvar and the numbers to toggle:
Code:
bind BUTTON_B               "toggle r_specularmap 0 1 2 3 4 5"

This will toggle the specularmap dvar from 0 to 5 everytime your press B

Now add the whole command into the developer_mp like this:
http://img203.imageshack.us/i/60924273.png/

you can also set dvars on buttons like this:
Code:
bind BUTTON_B               "set g_gravity 100"

you can also add more dvars to the button by adding a ; like this:
Code:
bind BUTTON_B               "set g_gravity 100; set g_speed 800"

now save and your done
http://img138.imageshack.us/i/20953842.png/


You can also add different things the buttons do in the default layout in this case ive made dpad down activate binoculars:
http://img138.imageshack.us/i/20953842.png/


Hope this helps you mod the code_post :smile:


Just realised on 7S you can't see png files so ill make them jpg later
 
A

Andrew74

Enthusiast
Messages
824
Reaction score
219
I thought .FF viewer couldn't save mp files, When did this change?
 
L

lee74saurus r3x

Enthusiast
Messages
380
Reaction score
65
^^^ Awhile ago. Where have you been? Lol. It's had a LOT of updates recently... It's what I use to edit patches and soon to edit codeposts once I can find one. I can't find a freakin codepost download on google. :angry:
 
A

Andrew74

Enthusiast
Messages
824
Reaction score
219
^^^ Awhile ago. Where have you been? Lol. It's had a LOT of updates recently... It's what I use to edit patches and soon to edit codeposts once I can find one. I can't find a freakin codepost download on google. :angry:

Why not just get it off your jtag?

Back on Topic, Aren't all mp files protected by some RNS code or something that only the developers of the game have.
 
L

lee74saurus r3x

Enthusiast
Messages
380
Reaction score
65
I don't HAVE a jtag. But I'm going to get one soon... :biggrin:
 
K

kidz14

Newbie
Messages
28
Reaction score
1
it's a rsa hash but obviously FF viewer don't give a f*** about that rsa hash so happy modding
 
Top Bottom