Quantcast

Jump to content

» «
Photo

Guess if some is interested

5 replies to this topic
marcelo_20xx
  • marcelo_20xx

    Un_X

  • Members
  • Joined: 08 Jul 2005

#1

Posted 22 July 2005 - 05:40 PM

If found some pieces of code in the main.scm that control the deals done in the "Distribution" mission and the time tommy spend in the "Pole Position" asset, both of them require very annoying (at least for me) things to do to complete both assets..so I mod them to in Distribution it only requires 10 deals done or whatever amount you want and in the pole position only spent 10 dollars to complete.

If someone is interested I will replly them in the same topic, putting a detailed information in how to change them.

Natedogg.
  • Natedogg.

    Big Homie

  • Members
  • Joined: 03 Feb 2002

#2

Posted 22 July 2005 - 06:44 PM

Why should someone request it, just post it so people don't have to wait.

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#3

Posted 22 July 2005 - 10:06 PM

It's nice that you're willing to help. But if somebody was willing to resort to using code changes to "cheat", changing a couple values in the code is something most people could handle. I will admit the Pole Position code is a bit more challenging because it's well-nested in MAIN. But because it is in MAIN, one would have to restart their game. I don't see them doing that just to save 5 mins in Pole Position. The Distribution fix would be worth it though. Might as well go all the way and make it 1.

To do this, decompile the main.scm. I use MB 0.22, but any version can be used, just adjust the syntax accordingly. The following code can be found in mission 83 Distribution. Search for it anyway you'd like; it starts on line 184,504
CODE
:Label122860
00D6: if  0?
0038:    31416?? ==  0?  \\ integer values
004D: jump_if_false £Label1229F3
00D6: if  0?
0018:    31420?? >  49?  \\ integer values
004D: jump_if_false £Label1229F3

Change the 49? to 0? and it will only take one deal to pass. Since this is changing one var in a mission to another var of the same bit depth, this fix should NOT require a new game to be started.

But I would hardly call it a mod. As I said though, kind of you to share. Next time though, lay it on the table instead of teasing us wink.gif

marcelo_20xx
  • marcelo_20xx

    Un_X

  • Members
  • Joined: 08 Jul 2005

#4

Posted 28 July 2005 - 01:17 AM

Sorry I will post the pole position code though, because...I think if anyone like me, want the play many, and many times the game will found annoying the pole position asset.

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#5

Posted 28 July 2005 - 01:52 AM

Not a problem. And now that I think of it, if you were to do it correctly, you wouldn't even have to start a new game. Since you again didn't share how, I'll take the liberty to further justify having this thread in the showroom. The following is in Barton Waterduck's Mission Builder 0.22 for VC, though the concepts can easily be applied to other versions:

The code in question is the following
CODE
:Label0215AE
009B: destroy_actor_instantly  4176??
0296: unload_special_actor  19?
03E6: remove_text_box
00D6: if  1?
0018:    4344?? >  299&  \\ integer values
0038:    4384?? ==  0?  \\ integer values
004D: jump_if_false ££Label02172F
0050: gosub ££Label0204B5

You can search for the word completed and find this above the 4th instance of it. Or search for the label or just go to line 16,218 tounge.gif We're going to be replacing the 299& If you keep the datatype a signed 16-bit integer, you MAY be able to make the change without having to start a new game. Just change it to 129& Or if starting over is of no consequence to you, you can make it 4? instead. The former would require you to spend $130 while the latter would only require you to spend $5.

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#6

Posted 28 July 2005 - 01:56 AM

4& would work just as well, i'd think.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users