Jump to content


Cocobard

Member Since 03 May 2003
Offline Last Active Apr 09 2009 05:43 AM

Topics I've Started

Do you know?

07 July 2003 - 07:07 AM

While I was trying to make my own mod I discovered one thing that
I had never heard of before on the IE editing site I know...

I have seen that there was only "one" string 0xA8BA01 (89000) in
BGmain.exe (from BG2-ToB) and it is at offset 0x6B7258 (7041624) in
my french version of ToB. I tried to replace it by 0x000000 and I
started a new game... and a new character: he was at lev. 1 with 0 XP.

If somebody could check it, that would be great... I would know if was dreaming or if it was reality! (don't forget to backup your exe!)

If I was the only person that didn't know that... I am really sorry...

A question about COMPILE

03 May 2003 - 09:28 AM

I have a question... about tp2 files.
As you know, we have different results if we do:

COMPILE ~mymod/folder_of_d_files/file1.d~
~mymod/folder_of_d_files/file2.d~
~mymod/folder_of_d_files/file3.d~
~mymod/folder_of_d_files/file4.d~

or

COMPILE ~mymod/folder_of_d_files/file1.d~
COMPILE ~mymod/folder_of_d_files/file2.d~
COMPILE ~mymod/folder_of_d_files/file3.d~
COMPILE ~mymod/folder_of_d_files/file4.d~

If we use EXTEND_BOTTOM, COPY_TRANS and APPEND to the same "states", these two commands "actually" have very different results.
And I must use the second style in my mod...

The problem is that I would like to say:

COMPILE ~mymod/folder_of_d_files~

but this is the same thing as the first command...

So is there a command, that could be:

COMPILE_FOLDER_STEP_BY_STEP ~mymod/folder_of_d_files~

and that would do what I expect? (I have W118 and I have not found it...)

Here is the kind of file.d that I want to install with it:

APPEND ~MYDLG~

IF ~~ THEN BEGIN AAA
SAY @1
  = @2
  = @3
IF ~~ THEN REPLY @4 GOTO AAB
IF ~cond1()~ THEN REPLY @5 GOTO 16  // 16 already exists before I append
IF ~!cond1()~ THEN REPLY @6 DO ~manyactions()~ EXIT
END

IF ~~ THEN BEGIN AAB
SAY @7
  = @8
COPY_TRANS ~MYDLG~ 155               /* 155 already exist  */
END

END

EXTEND_BOTTOM ~MYDLG~ 155
IF ~cond2()~ THEN GOTO AAA
END

I use many of these files in order to create a list (just like cespenar do when he looks at your items!)
If I can do this in one line I will be able to add new things to the list created in my mod without changing the tp2 file!