Jump to content


Photo

Ace's very long NPC creation guide


59 replies to this topic

#46 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 5923 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 20 June 2013 - 12:29 AM

Try copying one of your other setup-modname.exe files and replacing SETUP-BRIL.EXE.

And set the windows so it sees the file extensions so files like SETUP-BRIL.EXE.DEBUG don't happen by "accident".

Edited by Jarno Mikkola, 20 June 2013 - 12:30 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.

Here's how to install all the stable mods you ever really could want to Infinity Engine games.


#47 Blades of Vanatar

Blades of Vanatar
  • Members
  • 59 posts
  • Gender:Male
  • Location:Wishing I was back in Cheesesteak heaven...

Posted 20 June 2013 - 05:03 AM

That was the issue, thanks Jarno. I also had the Area file hosed, but I fixed it. I am now getting an error when installing, stating "Bril/brils.bmp is not found". I do see in the CRE. file that I have a "s" and "l" portrait types. In the TP2 file I see an "s" and "m" file types listed for the portrait. Does that matter? What would cause this type error message?

Edited by Blades of Vanatar, 20 June 2013 - 05:06 AM.

....the last of the Free Companies of Khatovar....

#48 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 5923 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 20 June 2013 - 07:11 AM

That was the issue, thanks Jarno. I also had the Area file hosed, but I fixed it. I am now getting an error when installing, stating "Bril/brils.bmp is not found". I do see in the CRE. file that I have a "s" and "l" portrait types. In the TP2 file I see an "s" and "m" file types listed for the portrait. Does that matter? What would cause this type error message?

Well if the .tp2 code say that you copy the 's' -file while the folder has the 'm' -file, it makes the error obvious... it can't find the file.
The thing that matters is that you code the .tp2 file exactly as your files are named... not whether or not the example has them all.
But the most likely suspect on the above is a typo.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.

Here's how to install all the stable mods you ever really could want to Infinity Engine games.


#49 Blades of Vanatar

Blades of Vanatar
  • Members
  • 59 posts
  • Gender:Male
  • Location:Wishing I was back in Cheesesteak heaven...

Posted 20 June 2013 - 09:33 AM

The CRE file that I created following the guidelines in this tutorial named BRIL shows that you have a large and a small portrait as per section 3 -9) of the tutorial. The TP2 file shows brils.bmp and brilsm.bmp. I guess I am questioning if what is in the tutoirial concerning the TP2 example is correct? Should it be tellign it to look for the small and large portraits? Why s and m instead?

Hopefully I am not being dense here. I appreciate your advice and knowledge about the issue....
....the last of the Free Companies of Khatovar....

#50 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 5923 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 20 June 2013 - 10:19 AM

Well, the large is actually used in the ToB end cinematic ... but as there's no natural way that I know of to actually include that for the mod NPCs... except to make the game play a custom media file on the right place... so the actual files that the game used for the NPC are the small and the medium associated in the .cre file.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.

Here's how to install all the stable mods you ever really could want to Infinity Engine games.


#51 Mike1072

Mike1072
  • Gibberling Poobah
  • 2326 posts
  • Gender:Male
  • Location:Canada

Posted 20 June 2013 - 11:09 AM

In BG1, the "L" (or large) portrait referred to the one shown on the character information screen (110x170 pixels). The one shown in character creation was an "H" (huge?) portrait (210x330 pixels).

BG2 renamed the files, giving the designation "M" (medium) to the character information screen portrait (110x170 pixels) and the designation "L" to the character creation/epilogue portrait (210x330 pixels).

I can't comment on what's mentioned in the guide, because AFAIK it's no longer actively supported.

What's important is that your .CRE file references a 38x60 small portrait (offset 0x34) and a 110x170 large portrait (offset 0x3c). The portrait names listed in the .CRE file must match the names of the image files included in your mod.

#52 Blades of Vanatar

Blades of Vanatar
  • Members
  • 59 posts
  • Gender:Male
  • Location:Wishing I was back in Cheesesteak heaven...

Posted 20 June 2013 - 12:41 PM

My thanks to both of you for the clarification. I was leaning that way, hence my question, but as I want to start modding using "baby steps" to make sure I get a more precise understanding. Reading old tutorials is helpful, but they don't answer the hundred questions that pop up in your head. I prefer to have input from those of you that very informed on the topic if possible. Thanks again.

Edited by Blades of Vanatar, 20 June 2013 - 02:45 PM.

....the last of the Free Companies of Khatovar....

#53 Blades of Vanatar

Blades of Vanatar
  • Members
  • 59 posts
  • Gender:Male
  • Location:Wishing I was back in Cheesesteak heaven...

Posted 20 June 2013 - 03:11 PM

Okay. The CRE file has listing for LARGE PORTRAIT - Currently I have chosen MAN1L.BMP and SMALL PORTRAIT - Currently I have chosen MAN1S.BMP. What do I put in the below line in the TP2 file that "matches" it? I have edited to the below and still receive an error when trying to install this most basic of NPCs.

COPY ~Bril/man1s.bmp~ ~override/man1s.bmp~
~Bril/man1m.bmp~ ~override/man1m.bmp~

Weidu Install error message:


[C:\BG2\Setup-Bril.exe] WeiDU version 23100
[C:\BG2\Setup-Bril.exe] Using scripting style "BG2"

Install Component [Bril for BG2:SoA]?
[I]nstall, or [N]ot Install or [Q]uit? i

Installing [Bril for BG2:SoA]
Copying and patching 1 file ...
Compiling 1 dialogue file ...
Extending game scripts ...
Copying 2 files ...
ERROR: error loading [Bril/man1s.bmp]
Stopping installation because of error.

ERROR Installing [Bril for BG2:SoA], rolling back to previous state
Will uninstall 4 files for [SETUP-BRIL.TP2] component 0.
Uninstalled 4 files for [SETUP-BRIL.TP2] component 0.
ERROR: Unix.Unix_error(20, "stat", "Bril/man1s.bmp")
PLEASE email the file SETUP-BRIL.DEBUG to Blades (kmark2323@gmail.com)

Install Component [Bril for BG2:SoA]?
[I]nstall, or [N]ot Install or [Q]uit?

Edited by Blades of Vanatar, 20 June 2013 - 03:12 PM.

....the last of the Free Companies of Khatovar....

#54 Mike1072

Mike1072
  • Gibberling Poobah
  • 2326 posts
  • Gender:Male
  • Location:Canada

Posted 20 June 2013 - 03:33 PM

Weidu Install error message:

ERROR: error loading [Bril/man1s.bmp]
...
ERROR: Unix.Unix_error(20, "stat", "Bril/man1s.bmp")

This is saying it cannot find a file called man1s.bmp in the folder "Bril". Double-check that the file exists as named.

Okay. The CRE file has listing for LARGE PORTRAIT - Currently I have chosen MAN1L.BMP and SMALL PORTRAIT - Currently I have chosen MAN1S.BMP. What do I put in the below line in the TP2 file that "matches" it?

The portraits you name in the .cre file have to match the .bmp files you copy into the game.


Presuming your Bril folder contains a 38x60 portrait named man1s.bmp and a 110x170 portrait named man1l.bmp, use this code to copy them into the game:

COPY ~Bril/man1l.bmp~ ~override~
~Bril/man1s.bmp~ ~override~

And make sure your .cre file references man1s for the small portrait and man1l for the large portrait.


So, there are 3 things that need to match up. The actual file needs to have a name (X.bmp). The place in your mod where you want to copy over the portrait needs to specify where the file is (modfolder/X.bmp). Finally, the .cre file that wants to use the image as a portrait needs to have that name listed in the appropriate portrait field (X).

#55 Blades of Vanatar

Blades of Vanatar
  • Members
  • 59 posts
  • Gender:Male
  • Location:Wishing I was back in Cheesesteak heaven...

Posted 21 June 2013 - 04:18 AM

Alrighty then!! Brilsun Moonstar of Waterdeep( a very basic, no dialogue, no quest version that is..) is now in game, swigging on watered down ale at the CC, waiting on some fool of a Bhaalspwan to acquire his services. Thanks for filling in the blanks guys.

Now off to fleshing him out. The first idea I have is making him an agent/assassin of Melissan with a betrayal plot in Chapter six. The NPC will have no idea about their connection until late in ToB. Probably way to ambitious for a newbie, I know, but hey, you gotta think big I say! I think I have a lot of studying of released mods to do in the near future. Cheers boys! If you are ever in the Chi-Town area, I'm buying. :schimpf:

Edited by Blades of Vanatar, 21 June 2013 - 04:19 AM.

....the last of the Free Companies of Khatovar....

#56 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 5923 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 23 August 2013 - 11:31 AM

The guide is offline again.... any one got the .pdf/whatever version ?

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.

Here's how to install all the stable mods you ever really could want to Infinity Engine games.


#57 kimmuryiel

kimmuryiel
  • Members
  • 12 posts
  • Gender:Female

Posted 23 August 2013 - 02:20 PM


The guide is offline again.... any one got the .pdf/whatever version ?

I've got the pdf simplified version. (I'll love forever anyone who can get a pdf of the other version and send it to me. Having trouble figuring out how to script fate spirit summoning and Bodhi kidnap. And no one seems willing to tell me WHAT files to look at)...but I don't know how to attach it...(and I have yet to get a validation email, or whatever I need to be able to create topics and, I assume, attach things to posts)

#58 CamDawg

CamDawg

    Seven billion ton robot monster

  • Gibberling Poobah
  • 9015 posts
  • Gender:Not Telling

Posted 23 August 2013 - 03:49 PM

(and I have yet to get a validation email, or whatever I need to be able to create topics and, I assume, attach things to posts)

And there's never an admin around when you need one.

I came here with a simple dream: a dream of killing all humans. And this is how it must end? Who's the real seven billion ton robot monster here? Not I. Not... I.


#59 Logitech

Logitech
  • Members
  • 2 posts

Posted 16 August 2014 - 12:11 PM

Please if someone has pdf upload it here. I'm looking forward for the longer version but simplified may also be useful.

 

The admin should consider uploading it on the site imo, so the guide will be always available.


Edited by Logitech, 16 August 2014 - 12:12 PM.


#60 Kulyok

Kulyok
  • Modders
  • 5769 posts
  • Gender:Female
  • Location:Moscow, Russia

Posted 16 August 2014 - 10:38 PM

Unfortunately, it's not available at the moment, since the author herself deleted it. For now, I can recommend Branwen's one-day NPC from pocketplane.net/oneday or Ghreyfain's old guide as an alternative: http://forums.pocket....php?topic=52.0





Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users