Log in

I forgot my password


How to edit patches to your needs TUT

View previous topic View next topic Go down

How to edit patches to your needs TUT

Post by Chance Mott on Sun Jul 25, 2010 7:06 pm

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



Chance Mott
Rookie User
Rookie User

Posts : 23
Join date : 2010-07-23

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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