Changing what cars spawn in each level & driving any car

Tony Hawk's Underground modding is discussed here.
Rusty72Impala
Posts: 11
Joined: Sun Oct 14, 2012 1:24 am
Contact:

Changing what cars spawn in each level & driving any car

Postby Rusty72Impala » Sun Oct 14, 2012 1:30 am

Would either of these be possible? There are quite a few unused traffic cars, and there's a '71-'72 Cadillac Hearse that was cut from the game still in the files. Would it be possible to make it drivable?
Here's pics of the hearse, from the THPS3/THPS4/THUG vehicle modeler's flickr page:
Image
Image
Image
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby WhoElseButMe » Sun Oct 14, 2012 3:31 am

Of course it's possible just comes down to finding the scripts that load the model and replacing the model the game loads with a different one.
Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
Rusty72Impala
Posts: 11
Joined: Sun Oct 14, 2012 1:24 am
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby Rusty72Impala » Sun Oct 14, 2012 3:36 am

That's what I figured, however, what scripts contain the level's vehicle data?
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby WhoElseButMe » Mon Oct 15, 2012 9:17 am

level specific data would be found in the levels/ scripts
Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
Rusty72Impala
Posts: 11
Joined: Sun Oct 14, 2012 1:24 am
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby Rusty72Impala » Mon Oct 15, 2012 11:31 pm

The script packages (.qb) have to be unpacked and repacked, correct?
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby WhoElseButMe » Tue Oct 16, 2012 2:08 am

the qb files are scripts they need to be decompiled and compiled. use roq.exe and use the thug1 flag everything should run smoothly
Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
Rusty72Impala
Posts: 11
Joined: Sun Oct 14, 2012 1:24 am
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby Rusty72Impala » Tue Oct 16, 2012 3:58 am

Could you provide a link to roq.exe? Or is it included in "sources.zip" ?
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby WhoElseButMe » Tue Oct 16, 2012 4:29 am

Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
ZurePitchmen83
Posts: 158
Joined: Mon Jul 30, 2012 9:18 am
Location: USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby ZurePitchmen83 » Tue Oct 16, 2012 4:40 am

I know Anteara mod for THUG2 allows you to use vehicles in another level, not sure if it's possible to recreate the vehicle menu for THUG1 but it could be, i know quazz had the idea of doing it for his THUG1 Mod, i believe the pause menu script is inside gamemenu.qb which roq decompiler can't decompile, But another QB editor (THQB 1.0RC1) opens it just fine, but you have to cut it to just the pause menu script and hex edit the changed one into gamemenu.qb, You can't save it as-is
THPS4 Level Expansion Pack, THUG2 710 Mod 1.0
Modding and Model ripping since 2009
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby WhoElseButMe » Tue Oct 16, 2012 4:45 am

His initial question was to replace which car is currently loaded in a level.
roq.exe should only have issues with randomrange and some randoms, as long as you use the thug1 flag it will handle switch statements and if statements properly.
Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
Rusty72Impala
Posts: 11
Joined: Sun Oct 14, 2012 1:24 am
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby Rusty72Impala » Tue Oct 16, 2012 9:57 pm

I don't have a levels/scripts folder....although there's that weird qdir.txt document that points to a bunch of scripts being on the C:\ drive in a folder named skate5....but even in there, there's no mention of a levels or levels/scripts.
ZurePitchmen83
Posts: 158
Joined: Mon Jul 30, 2012 9:18 am
Location: USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby ZurePitchmen83 » Tue Oct 16, 2012 11:06 pm

The level scripts should be inside a levels pre container (NJ.PRE for example), download PreReaper to extract the files from the pre, they should be in C:\ Drive, then copy the folders it extracted (Usually Levels, Models, Anims, etc) to your THUG1 Folder, then edit the script that carries the vehicle data

EDIT, some things (ska, skin, mdl for example) will have *.xbx extension after them, try removing that if it doesn't work
Last edited by ZurePitchmen83 on Tue Oct 16, 2012 11:27 pm, edited 1 time in total.
THPS4 Level Expansion Pack, THUG2 710 Mod 1.0
Modding and Model ripping since 2009
WhoElseButMe
Posts: 419
Joined: Tue Aug 04, 2009 12:50 am
Location: FL - USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby WhoElseButMe » Tue Oct 16, 2012 11:25 pm

game/data/levels/level_shorthand_name/
inside should be several different file types among these are a couple of scripts. one is the node array the other is the levels specific scripts.
Image
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
Rusty72Impala
Posts: 11
Joined: Sun Oct 14, 2012 1:24 am
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby Rusty72Impala » Tue Oct 16, 2012 11:26 pm

Thanks,guys. :D
EDIT:What commands do I put in CMD?
ZurePitchmen83
Posts: 158
Joined: Mon Jul 30, 2012 9:18 am
Location: USA
Contact:

Re: Changing what cars spawn in each level & driving any car

Postby ZurePitchmen83 » Wed Oct 17, 2012 6:58 am

Rusty72Impala wrote:What commands do I put in CMD?


You don't need to put in a command, you need to copy the pre to the same directory that has PreReaper in it, then drag the pre to prereaper.exe, then it should extract to C:\
THPS4 Level Expansion Pack, THUG2 710 Mod 1.0
Modding and Model ripping since 2009

Return to “THUG modding”

Who is online

Users browsing this forum: No registered users and 15 guests