Page 1 of 1

Modding

Posted: Wed Dec 09, 2009 9:46 pm
by HRD
I search it for long time but i cant find it... how can i modd thug2? what programm should i use?

sorry for my bad english ( im from europe )

MG HRD

Re: Modding

Posted: Thu Dec 10, 2009 11:08 am
by Eraser
Hi there.

You will want to use the QB launcher, you can download it in here:
http://thps-mods.com/download/click.php?id=37


Then you may want to start reading the scripts and understand them.
One easy thing that you may wanna do is to rename the trick names.

Go to:

Code: Select all

D:\games\Tony Hawk's Underground 2\Game\Data\scripts\game\skater


Then put the qbLauncher.exe and roq.exe in that folder (these are the files you downloaded).

Open qbLauncher and select airtricks.qb from the list and click decompile. You'll get a text version of .qb script. You can study it if you want, I strongly advise you to. Click CTRL+F while in airtricks.exe file and search for your desired trick name, lets say Kickflip. Now It will find many other versions of kickflip, like Kickflip Madonna, Double Kickflip Varial Indy etc.. just keep clicking enter or find next till you get to Kickflip and nothing more. It should look like this:

Code: Select all

$Params$ = :s{$name$ = %sc(8,"Kickflip")$score$ = %i(100,00000064)$Anim$ = $Kickflip$$Nollie$


Just edit the trick name, and you're almost done. Save the text document, open qblauncher again and select ".txt for compile". Choose airtricks.txt and click compile. Now delete your old airtricks.qb and rename airtricks.qb.txt to airtricks.qb and you're done.

Feel free to ask anything you couldn't understand or maybe you want something else to mod.

Re: Modding

Posted: Mon Dec 14, 2009 8:25 pm
by HRD
Thank you (y)
but i got 1 littel problem.... if i name the "kickflip" into "lickflip" (for example) and do it all like i should... in the game it still says "Kickflip"...
my friend tryed this too... and it dosnt work.... what are we doing wrong?

EDIT: may its because im using a MOD??? and my data dosent says airtricks.qb.txt mine says airtricks.txt.qb....

Re: Modding

Posted: Mon Dec 14, 2009 11:27 pm
by HRD
hmmm me and my buddy are trying it nearly an hour now.... can you please upload the script folder that we need to MOD? it would be sooo nice :) you would be the greatest if you would do that

EDIT : I made a video so you can see what im doing Video

Re: Modding

Posted: Tue Dec 15, 2009 8:02 am
by Eraser
Hmm... I thought you had to dummy the .prx file only if you didn't have scripts in your scripts folder.

Re: Modding

Posted: Tue Dec 15, 2009 5:21 pm
by PTR
Ok the steps are clear

I (we) can decompile the .qb files

Change some parameters like the name of a trick in Game\Data\scripts\game\skater in the txt file

Save the file

Compile the txt file to .qb

replace the old file with the new file

then i open thug2 and everythig is the same

Maybe some reasons for fail:

- i play with TW Mod
- i play with bbcas

Re: Modding

Posted: Tue Dec 15, 2009 6:21 pm
by HRD
hi.. PTR is my buddy im try to MOD... :help
can you please send a step by step instruction to MOD??? :) :) :) it would be nice

Re: Modding

Posted: Wed Dec 16, 2009 4:52 pm
by PTR
Hi

I have not to change the qb_scripts.prx

Iim jusing TW Mode so i have to change the TW_qb_srcipts.prx

And now it is working. (y)

Thank you all. :)

Now some Questions:

How can i delite the startup Movie

How can i make a startup message like (mods the best)

How can i change the time of combo runout

Thats all

Re: Modding

Posted: Wed Dec 16, 2009 6:06 pm
by Eraser
To delete into movies download the file at the bottom

(or just delete those files from thug2 bik directory.

Re: Modding

Posted: Wed Dec 16, 2009 7:53 pm
by Active
If you want to change the MOTD you can download CHC's MOTD de- and encoder : http://thmods.com/forum/viewtopic.php?f ... 9c3cc439cb

but idk how and if it works^^