Jump to content


Photo

Discussion: BG2 Kit Creation Series


394 replies to this topic

#391 Jarno Mikkola

Jarno Mikkola

    The Imp

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

Posted 13 April 2016 - 12:33 AM

Now i installed and is sais it does so succesfully. However when i go into BG2EE and look for the kit it;s nowhere to be found. What have i forgotten to do?

A proper punctuation. :p Humor, it's not one of my gifts... it's one for the entire world.
Not that that's the reason for the kit not to show up. This tutorial unfortunately only covers the non-EE games, for the EE games, you need to use the weidu's additional provided .tpa file called ft#add_kit_ee.tpa . And the EE v2.0 update just came up, so the official release(v23900) hasn't got it's last updates(v1.1.2) that is available here.

The example .tp2 itself is a tutorial on how to make kits in for the EE games with the 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 ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#392 El Diablo

El Diablo
  • Members
  • 21 posts

Posted 13 April 2016 - 03:44 PM

 

Now i installed and is sais it does so succesfully. However when i go into BG2EE and look for the kit it;s nowhere to be found. What have i forgotten to do?

A proper punctuation. :p Humor, it's not one of my gifts... it's one for the entire world.
Not that that's the reason for the kit not to show up. This tutorial unfortunately only covers the non-EE games, for the EE games, you need to use the weidu's additional provided .tpa file called ft#add_kit_ee.tpa . And the EE v2.0 update just came up, so the official release(v23900) hasn't got it's last updates(v1.1.2) that is available here.

The example .tp2 itself is a tutorial on how to make kits in for the EE games with the file.

 

 

ah ok thank you. as for the punctuation i'll get to that once i have the basics of making a mod down. step by step, hence why i first just want the basic examples working before i start messing it all up with my own stuff.

 

i'll look over the new examples and hope i can understand em.

 

EDIT:  Step 1 completed getting the kit into the game. Step 2 getting it in so it doesn't crash the game when i click on the kit

 

EDIT:  Step 2 achieved A note for everyone apparently BG2EE does NOT like "Û" in the kit name. i suspect it won't like other symbols and accents either


Edited by El Diablo, 13 April 2016 - 06:45 PM.


#393 El Diablo

El Diablo
  • Members
  • 21 posts

Posted 13 April 2016 - 08:34 PM

Ol another noobish question. I tried giving my new priest of gond kit the knock spell as innate ability by copying the clab.2da for the priest of helm and then replacing the GA_SPCL731 entries with GA_SPWI207 which is the knock spell. Sadly this does not seem to work and there is no knock spell. Am i correct in assuming i need to make a new version of the knock spell as a Innate spell for it to work in this way? and if this is so is there a guide anywhere or tips to do so?

 

thanks in advance.



#394 Mike1072

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

Posted 13 April 2016 - 08:54 PM

This (old) macro is used by Divine Remix to alter a priest spell to an innate spell.
 
// change regular spell to innate
DEFINE_PATCH_MACRO ~spell_to_innate~ BEGIN

  READ_LONG  0x64 "abil_off" ELSE 0
  READ_SHORT 0x68 "abil_num" ELSE 0
  READ_ASCII ("%abil_off%" + 0x04) "bam" (8) // reads the bam filename from ability
  WRITE_SHORT 0x1C 4                         // sets spell type to innate (4)
  WRITE_LONG  0x34 1                         // sets spell level to 1 to avoid scripting issues
  WRITE_EVALUATED_ASCII 0x3A "%bam%" #8      // writes the bam filename from abilities to spell icon
  FOR ( index = 0 ; index < abil_num ; index = index + 1 ) BEGIN
    WRITE_SHORT ("%abil_off%" + 0x02 + (0x28 * "%index%")) 4 // changes ability icon location to innate (4)
    READ_SHORT  ("%abil_off%" + 0x12 + (0x28 * "%index%")) "speed" // reads casting speed
    PATCH_IF ("%speed%" > 3) BEGIN
      WRITE_SHORT  ("%abil_off%" + 0x12 + (0x28 * "%index%")) ("%speed%" - 2) // reduces casting speed
    END ELSE BEGIN
      WRITE_SHORT  ("%abil_off%" + 0x12 + (0x28 * "%index%")) 0 // makes instant
    END
  END
END
 
You could use the macro in your mod or just follow the same steps when creating a custom spell using Near Infinity.
 
 

EDIT:  Step 2 achieved A note for everyone apparently BG2EE does NOT like "Û" in the kit name. i suspect it won't like other symbols and accents either

 
Yes, your .tra files need to be converted to UTF-8 for BGEE. Download RealMod and follow what it does to automatically convert character sets for EE games.  This is accomplished with the iconv folder (inside the languages directory) and the code listed in the ALWAYS block of the .tp2.

#395 Jarno Mikkola

Jarno Mikkola

    The Imp

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

Posted 14 April 2016 - 02:12 AM

This (old) macro is used by Divine Remix to alter a priest spell to an innate spell.

... and use the macro like a spagetti-making machine, aka after defining it: With xyz.spl being the target and zyx the result

COPY_EXISTING ~xyz.spl~ ~override/zyx.spl~
  LAUNCH_PATCH_MACRO ~spell_to_innate~

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 ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users