Author Topic: Appending creature files in tutu  (Read 1013 times)

Offline Drew

  • Kind of a prick
  • Planewalker
  • *****
  • Posts: 851
  • Gender: Male
Appending creature files in tutu
« on: July 19, 2005, 08:24:43 PM »
I wrote up a mod that transfers a modified berserker kit to Minsc and have been  banging my head agains the wall for quite some time trying to add the kit to Minsc in without overwriting the cre (I can only make it work in tutu if I overwrite Minsc's cre).  No problem with BG2 SoA or ToB, but It isn't working for tutu :-[ .  I did notice that every mod I've seen so far that adds a kit to a tutu NPC actually overwrites the cre file.  Is this because it isn't possible to append a tutu cre file (Or are the modders in question just lazy?)  or am I just stupid?
« Last Edit: July 19, 2005, 09:38:50 PM by Drew »
Poor baby. Couldn't find a fight anywhere else so you had to come here, huh. -Cybersquirt

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: Appending creature files in tutu
« Reply #1 on: July 20, 2005, 03:47:18 AM »
A tutu CRE files is exactly the same as a BG2 CRE file.  Nothing different.

The thing is, kitting can be done with an AddKit() script, while some of the mod complicated class changes e.g. Changing Khalid into a FM can't be done with a script.
"You alone can make my song take flight..."

Offline Drew

  • Kind of a prick
  • Planewalker
  • *****
  • Posts: 851
  • Gender: Male
Re: Appending creature files in tutu
« Reply #2 on: July 20, 2005, 01:11:06 PM »
I wonder where I'm messing up, then.  I'm having no trouble making it work right with SoA and ToB.  My method of detecting tutu must be what's causing the problem then.   I've been trying to use ACTION_IF_FILE_EXISTS  to detect for tutu, just like I did for the ToB part.  I guess I'll go read the code from some differrent mods to see how they do it.
Poor baby. Couldn't find a fight anywhere else so you had to come here, huh. -Cybersquirt

Offline Loriel

  • Planewalker
  • *****
  • Posts: 390
  • Gender: Male
    • Loriel's Downloads
Re: Appending creature files in tutu
« Reply #3 on: July 20, 2005, 03:47:43 PM »
The thing is, kitting can be done with an AddKit() script, while some of the mod complicated class changes e.g. Changing Khalid into a FM can't be done with a script.

Doesn't ChangeClass() work?  If so, why couldn't you use ChangeClass("Khalid", "FIGHTER_MAGE")

Offline Andyr

  • Dance Commander
  • PPG
  • Planewalker
  • *****
  • Posts: 3178
  • Gender: Male
    • The Gibberlings Three IE mod community
Re: Appending creature files in tutu
« Reply #4 on: July 22, 2005, 07:50:53 PM »
I don't think that correctly recalculates hit points and things.

That's also why when I made Montaron an Assassin instead of Fighter/Thief, I rebuilt the .CRE. :)

Grim's suggestion of adding via script is a good one; else I'd suggest .tp2 patching like I did in Mur'Neth. Check that out for a code example. (I don't have it here).
"We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods

<jcompton> Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"

I am unfortunately not often about these days so the best way to get hold of me is via email.

Offline Drew

  • Kind of a prick
  • Planewalker
  • *****
  • Posts: 851
  • Gender: Male
Re: Appending creature files in tutu
« Reply #5 on: July 24, 2005, 10:24:10 PM »
Yeh.  I fixed the problem.  I was trying to do everything in the .tp2 and was doing something stupid.  Cam set me straight.
Poor baby. Couldn't find a fight anywhere else so you had to come here, huh. -Cybersquirt

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: