Log in
How to edit patches to your needs TUT
Page 1 of 1
How to edit patches to your needs TUT
What you need
1. FF view. You can find it in youtube or google
2. Some Coffie/Tea/Bear... What ever you want to drink ok...
(This Tutorial will be baised on Brians patch)
Right so how to edit the class names.
1. Open the "patch_mp" in ff view (If you want it. Look up at "what you need")
2. Click on the "_missions.gsc" file in the sidebar
3. Then Click "ctrl" + "f" then type "custom". You should see some code like this:
doColors()
{
self setPlayerData( "customClasses", 0, "name", "^1Class ^3One" );
self setPlayerData( "customClasses", 1, "name", "^5Class ^7Two" );
self setPlayerData( "customClasses", 2, "name", "^2Class ^4Three" );
self setPlayerData( "customClasses", 3, "name", "^6Class ^1Four" );
self setPlayerData( "customClasses", 4, "name", "^3Class ^5Five" );
self setPlayerData( "customClasses", 5, "name", "^7Class ^2Six" );
self setPlayerData( "customClasses", 6, "name", "^4Class ^6Seven" );
self setPlayerData( "customClasses", 7, "name", "^1Class ^3Eight" );
self setPlayerData( "customClasses", 8, "name", "^5Class ^7Nine" );
self setPlayerData( "customClasses", 9, "name", "^2Class ^4Ten" );
}
(I can't put it in a CODE tag as it does not show the text as red)
You see the RED bits? well change then to what ever you want. And then you have the class names to how you want them.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Right to edit the instructions do this:
1. Open the "patch_mp" in ff view (If you want it. Look up at "what you need")
2. Click on the "_missions.gsc" file in the sidebar
3. Then Click "ctrl" + "f" then type "instruction". You should see some code like this:
{
self endon ( "disconnect" );
self.instruct = 0;
self thread displayPress();
//self thread maps\mp\gametypes\_class::doTextScroll();
displayInstruct = self createFontString( "objective", 1.3 );
displayInstruct setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260);
displayButton = self createFontString( "objective", 2.3 );
displayButton setPoint( "TOPRIGHT", "TOPRIGHT", -10, 40+260);
for( ;; ) {
if (self isHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE PRONE FOR ^6WALKING AC-130");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT ALL ^7TO YOUR ^3CROSSHAIRS");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT ^7TO ^6YOUR CROSSHAIRS");
wait 3.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^2KAMIKAZE ^7AIRSTRIKE");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^3TELEPORT");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 3.5;
} else if (self isCoHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE PRONE FOR ^6WALKING AC-130");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT ^7TO ^5YOUR CROSSHAIRS");
wait 3.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^6KAMIKAZE ^7AIRSTRIKE");
wait 3.5;
} else if (self.tempVIP == 1) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE PRONE FOR ^3WALKING AC-130");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^5TELEPORT");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^6TELEPORT ^7TO ^2YOUR CROSSHAIRS");
wait 3.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^3KAMIKAZE ^7AIRSTRIKE");
wait 3.5;
} else if (self.doOwn == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("FOR 1337 H4X");
wait 3.5;
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR 4LLZ CH4LL3NNG3ZZ");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("FOR L3G1T ST4TZZS");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("FOR C001 5H1T");
wait 3.5;
} else if (self.name != level.hostname) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
}
}
}
(I can't put it in a CODE tag as it does not show the text as red)
You see the RED bits? well change then to what ever you want. And then you have the class names to how you want them.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Right i would add every peice of text that you could edit. But theres no point. Just look thew the _missions file and you will see pices of text with like ^1 and so on. infront. and then edit that. So year. If you want help on editing any text in the script ad me on
1. FF view. You can find it in youtube or google
2. Some Coffie/Tea/Bear... What ever you want to drink ok...
(This Tutorial will be baised on Brians patch)
Right so how to edit the class names.
1. Open the "patch_mp" in ff view (If you want it. Look up at "what you need")
2. Click on the "_missions.gsc" file in the sidebar
3. Then Click "ctrl" + "f" then type "custom". You should see some code like this:
doColors()
{
self setPlayerData( "customClasses", 0, "name", "^1Class ^3One" );
self setPlayerData( "customClasses", 1, "name", "^5Class ^7Two" );
self setPlayerData( "customClasses", 2, "name", "^2Class ^4Three" );
self setPlayerData( "customClasses", 3, "name", "^6Class ^1Four" );
self setPlayerData( "customClasses", 4, "name", "^3Class ^5Five" );
self setPlayerData( "customClasses", 5, "name", "^7Class ^2Six" );
self setPlayerData( "customClasses", 6, "name", "^4Class ^6Seven" );
self setPlayerData( "customClasses", 7, "name", "^1Class ^3Eight" );
self setPlayerData( "customClasses", 8, "name", "^5Class ^7Nine" );
self setPlayerData( "customClasses", 9, "name", "^2Class ^4Ten" );
}
(I can't put it in a CODE tag as it does not show the text as red)
You see the RED bits? well change then to what ever you want. And then you have the class names to how you want them.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Right to edit the instructions do this:
1. Open the "patch_mp" in ff view (If you want it. Look up at "what you need")
2. Click on the "_missions.gsc" file in the sidebar
3. Then Click "ctrl" + "f" then type "instruction". You should see some code like this:
{
self endon ( "disconnect" );
self.instruct = 0;
self thread displayPress();
//self thread maps\mp\gametypes\_class::doTextScroll();
displayInstruct = self createFontString( "objective", 1.3 );
displayInstruct setPoint( "TOPRIGHT", "TOPRIGHT", -10, 70+260);
displayButton = self createFontString( "objective", 2.3 );
displayButton setPoint( "TOPRIGHT", "TOPRIGHT", -10, 40+260);
for( ;; ) {
if (self isHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE PRONE FOR ^6WALKING AC-130");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT ALL ^7TO YOUR ^3CROSSHAIRS");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^5TELEPORT ^7TO ^6YOUR CROSSHAIRS");
wait 3.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^2KAMIKAZE ^7AIRSTRIKE");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^3TELEPORT");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 3.5;
} else if (self isCoHost()) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE PRONE FOR ^6WALKING AC-130");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^2TELEPORT");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^3TELEPORT ^7TO ^5YOUR CROSSHAIRS");
wait 3.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^6KAMIKAZE ^7AIRSTRIKE");
wait 3.5;
} else if (self.tempVIP == 1) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE STANDING FOR ^5UFO MODE");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("WHILE PRONE FOR ^3WALKING AC-130");
wait 3.5;
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("WHILE PRONE TO ^5TELEPORT");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("WHILE CROUCHED TO ^6TELEPORT ^7TO ^2YOUR CROSSHAIRS");
wait 3.5;
displayButton setText("[{+frag}] ");
displayInstruct setText("WHILE PRONE TO CALL IN ^3KAMIKAZE ^7AIRSTRIKE");
wait 3.5;
} else if (self.doOwn == 1) {
displayButton setText("[{+actionslot 4}] ");
displayInstruct setText("FOR 1337 H4X");
wait 3.5;
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("FOR 4LLZ CH4LL3NNG3ZZ");
wait 3.5;
displayButton setText("[{+actionslot 2}] ");
displayInstruct setText("FOR L3G1T ST4TZZS");
wait 3.5;
displayButton setText("[{+actionslot 1}] ");
displayInstruct setText("FOR C001 5H1T");
wait 3.5;
} else if (self.name != level.hostname) {
displayButton setText("[{+actionslot 3}] ");
displayInstruct setText("WHILE STANDING FOR ^2MAIN ^3MOD ^5MENU");
wait 3.5;
}
}
}
(I can't put it in a CODE tag as it does not show the text as red)
You see the RED bits? well change then to what ever you want. And then you have the class names to how you want them.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Right i would add every peice of text that you could edit. But theres no point. Just look thew the _missions file and you will see pices of text with like ^1 and so on. infront. and then edit that. So year. If you want help on editing any text in the script ad me on
Chance Mott- Rookie User
- Posts : 23
Join date : 2010-07-23
Similar topics
» hey i just joined would somebody be able to get me 15th lobby patch for black ops an patches for mw2
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Tue Feb 21, 2012 9:05 pm by D3TH_W1SH
» hey i just joined would somebody be able to get me 15th lobby patch for black ops an patches for mw2
Fri Feb 10, 2012 9:38 pm by mrfunnyman15
» I have Gameinformer
Thu Feb 02, 2012 9:08 am by amadesha
» hydrocodone eyedrops
Mon Dec 19, 2011 1:19 am by thioslia
» главный акушер гинеколог
Thu Aug 04, 2011 5:58 am by Guest
» bots for runescape
Thu Aug 04, 2011 5:02 am by Guest
» l tell you.Thanks!
Thu Aug 04, 2011 1:00 am by Guest
» fish for health
Wed Aug 03, 2011 4:14 pm by Guest
» Dude, so much AD here, why not clean them all?
Wed Aug 03, 2011 10:12 am by Guest