Jump to content


Photo

Comprehensive IE Modding Tutorial Index


28 replies to this topic

#21 Yovaneth

Yovaneth

    The newly-appointed Master Builder of Baldur's Gate

  • Modder
  • 3012 posts

Posted 20 December 2013 - 03:54 AM

I'd disagree with Kulyok. In RL I'm a programmer and I find the 'old' .d style far easier to read then the 'new' style because it flows as code.

 

-Y-



#22 The Imp

The Imp

    Not good, see EVIL is better. You LIVE.

  • Member
  • 4071 posts

Posted 20 December 2013 - 05:14 AM

I'd disagree with Kulyok. In RL I'm a programmer and I find the 'old' .d style far easier to read then the 'new' style because it flows as code.

Yeah, and then there can be other guides that teach shorthand approaches(replacement) to each long things. Like what Jastey said... And BUT_ONLY_IF_IT_CHANGES and BUT_ONLY etc etc etc. Just like there's a lot of guides to weidu file editing functions that can each be done with a lot of other approaches as well, each having their own virtues. And faults.


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#23 BCaesar

BCaesar
  • Member
  • 54 posts

Posted 31 March 2017 - 08:25 PM

I'd disagree with Kulyok. In RL I'm a programmer and I find the 'old' .d style far easier to read then the 'new' style because it flows as code.

 

-Y-

 

I usually go long-hand and write GOTO and the other stuff in the old style simply because I find I make fewer mistakes that way. I can touch type so who cares if 'GOTO' takes slightly longer than '+' to type? Most of my time is spent fixing errors and debugging not actually in typing the code.

 

Also I have two tutorials to add:

http://www.shsforums...nes-compatible/

which is an easy way for anyone to make their Mod's rest scenes compatible with those in BG2:EE. It just contains code that anyone can download and drop into their mod. They don't even have to change the prefix or anything.

 

And this which is about making your Mod's rest scenes compatible with those in every other mod.

http://www.shsforums...-compatibility/

It's a little more complicated since I have to slightly modify the code to each person I give it to so the mods don't clash with each other, but other than that the coding is the same as the thread above.


Mod: All Things Mazzy (banters, romance, expanded friendship and more)

Tutorial/Coding: Rest Check (coding for anyone to make their Mod's rest scenes yield to those from BG2:EE

Rest Check for Mod Scenes (same as Rest Check but to make your scenes yield to those from other mods)


#24 hideyuki

hideyuki
  • Member
  • 21 posts

Posted 27 April 2017 - 03:52 AM

Hey guys, I wanna try my strenght with creating mod, are current guides inthis thread still an option, or should I search from some more updated resource? Had some experience with basic of c++ and java well turbo pascall too :P What would u recommend first? What tools to use right now? Righr now I am thinkin bout creating some npc, simple one, with little dialogue, some special item, after that maybe a bit more complicated scripts..

#25 BCaesar

BCaesar
  • Member
  • 54 posts

Posted 01 May 2017 - 07:10 PM

Hey guys, I wanna try my strenght with creating mod, are current guides inthis thread still an option, or should I search from some more updated resource? Had some experience with basic of c++ and java well turbo pascall too :P What would u recommend first? What tools to use right now? Righr now I am thinkin bout creating some npc, simple one, with little dialogue, some special item, after that maybe a bit more complicated scripts..

 

The guides here are fine. The learning curve on modding is rather steep and you have to pick up some information here and there until you learn enough to actually make something work. It's kind of like learning how to play baseball if you've never played baseball, have no coach, have never seen baseball played, and all you have is a bunch of books each of which tell you some aspect of baseball without any book outlining the basic rules.


Mod: All Things Mazzy (banters, romance, expanded friendship and more)

Tutorial/Coding: Rest Check (coding for anyone to make their Mod's rest scenes yield to those from BG2:EE

Rest Check for Mod Scenes (same as Rest Check but to make your scenes yield to those from other mods)


#26 Roxanne

Roxanne

    Modder

  • Member
  • 2428 posts

Posted 01 May 2017 - 10:58 PM

Hey guys, I wanna try my strenght with creating mod, are current guides inthis thread still an option, or should I search from some more updated resource? Had some experience with basic of c++ and java well turbo pascall too :P What would u recommend first? What tools to use right now? Righr now I am thinkin bout creating some npc, simple one, with little dialogue, some special item, after that maybe a bit more complicated scripts..

 

The guides here are fine. The learning curve on modding is rather steep and you have to pick up some information here and there until you learn enough to actually make something work. It's kind of like learning how to play baseball if you've never played baseball, have no coach, have never seen baseball played, and all you have is a bunch of books each of which tell you some aspect of baseball without any book outlining the basic rules.

The guides can only always be snapshots of one aspect (creature making, scripting, dialogues etc) of modding, since mods can cover a wide range in what their aim is, e.g. NPC mods, Romances, Quests, Shops/Items/Spells, Kits or Tweaks.

My best advice is to look for a mod that covers similar ground of what you intend and then study how it is done there. It is the best way to see how the elements fit together. Then take the tutorials to get more ideas about a specific aspect.

You can make good progress this way - if nothing helps, ask questions on a forum.


The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*


#27 hideyuki

hideyuki
  • Member
  • 21 posts

Posted 02 May 2017 - 02:52 AM

Well, was playing with few things so far, I even created some basic item, made copy of one in game then edited, stored description tied to it in .tp2 file as in some guide I found around, then put it on game, seems workin fine. Tho there arethings I dont understand in 'more' modern writing~ When I edit some files around I see marker @ with numbers, that are strings to certain files? or description in files?

#28 Roxanne

Roxanne

    Modder

  • Member
  • 2428 posts

Posted 02 May 2017 - 03:11 AM

Well, was playing with few things so far, I even created some basic item, made copy of one in game then edited, stored description tied to it in .tp2 file as in some guide I found around, then put it on game, seems workin fine. Tho there arethings I dont understand in 'more' modern writing~ When I edit some files around I see marker @ with numbers, that are strings to certain files? or description in files?

@123 for example stands for a reference to text in a tra-file. When compiling your mod, this text is added to the game's dialog.tlk file and becomes displayable text (e.g. a creature's name, an item description, a text displayed overhead, just any kind of text...).

 

in a mod you will find one (or more) tra-files with the corresponding text entries

@123 =~This is the text shown in the game later on.~

 

It is good idea to create at least one (default) tra file for your game, e.g.to put longer texts, item descriptions etc you do not want to clutter your baf-files or such.

Example

(setup-mymod.tra) with corresponding tp2 entry

AUTO_TRA ~MyMod/TRA/%s~

LANGUAGE ~English~ ~english~ ~Mymod/TRA/setup-mymod.tra~

 

This default file is a handy tool for things like item descriptions or journal entries or any other longer text outside of dialogues (you can also format it to appear correctly in the game...)

 

PS: They are called tra(nslation) files, because you can use the same code/dialogue/item text and just different tra files for other languages.

If you want to translate your mod there will be a tra-file corresponding to every d-file (or other files that contain text) - then someone translates it to a new set of tra-files for the other language.

 

PPS: In *finished* mods you will often see the dialogues appearing in the traified format (without any readable text but those references). There is no use for you to care about that, just write your conversations in you d-files in your language, it is much easier to work with. If you really want at a later stage create files for translations, then you will use WEIDU to easily convert your finished d-files and create d-files with references and the corresponding tra text files.


Edited by Roxanne, 02 May 2017 - 03:29 AM.

The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*


#29 The Imp

The Imp

    Not good, see EVIL is better. You LIVE.

  • Member
  • 4071 posts

Posted 02 May 2017 - 03:15 AM

Got bit ninjaed, but...
When I edit some files around I see marker @ with numbers, that are strings to certain files? or description in files?
Yeah, that's a translation of the description or line... that the mods install adds... from a .tra file.
Look at the start of the .tp2 file to find the LANGUAGE ~~ lines that set variables... there's a lot of things tied to this, like automated tra-fiation etc that help further mod content making too... but that's down the line. What Roxanne said is the for now part.

Edited by The Imp, 02 May 2017 - 03:16 AM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.




Reply to this topic