Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Sep 2014
S
Sismik Offline OP
stranger
OP Offline
stranger
S
Joined: Sep 2014
Hello Guys,

I'm a beginner with this tool and in the modding in general, English is not my first language so it's quite difficult to solve all my problem by myself. So I have some noob questions, if you can explain me that will be very kind !

1) Dialogs problem

I followed the larian video tutorial (basic dialog) but that didn't work. I wrote my dialog, saved with a name like "test_firstdialog". I created a NPC, cliked on global = true, then I tried to replace the field DefaultDialog = Default by DefaultDialog = test_firstdialog. I clicked on save and... nothing happened... the icon dialog appeared but nothing more.
In addition in the video in can see a file named "default" in the list, but I've just "GenericKeyword" in my list, I do'nt know why...

2) Camera problem

In the editor when I switch in game mode, the camera don't follow my characters, how to fix that ? If it's normal, can I expect the same problem in the real game ?

3) .pak problem

Can you explain me how to unpack the files (Which files ? Where I have to put them , Which unpacker ? For my understanding, why It's necessary to do that ?

4) bush painter

I've understand how to use this tool, very pratical. But I can't erase juste one or two bushes, it's all or nothing.


That's all for the moment, thank you for your time.

Last edited by Sismik; 19/09/14 01:54 PM.
Joined: Jul 2014
Location: Finland
journeyman
Offline
journeyman
Joined: Jul 2014
Location: Finland
What are you trying to do ?

Is it an extension to the Main campaign or a stand-alone mod ?



Originally Posted by Sismik

1) Dialogs problem: I followed the larian video tutorial (basic dialog) but that didn't work....


Dialogs do require a few lines of Story Script to work. I am sure there are a lot of other things as well but let's take one thing at a time.

IF DialogStartRequested(_Char, _Player)
THEN StartDefaultDialog(_Char, _Player);


Originally Posted by Sismik

2) Camera problem: In the editor when I switch in game mode, the camera don't follow my characters, how to fix that ? If it's normal, can I expect the same problem in the real game ?


Camera works well in the game.


Originally Posted by Sismik

3) .pak problem: Can you explain me how to unpack the files (Which files ? Where I have to put them , Which unpacker ? For my understanding, why It's necessary to do that ?


It would be good to get an official respond from Larian to this question. However, when I made the UnderSiege I didn't unpack anything. But some things might have changed since I started.

Of course, you need to unpack some textures to unlock character portrait selection. The textures are located in Textures.pak in Public/Main/Assets/Textures/Icons/

The files can be unpacked using LSTools.





Joined: Sep 2014
S
Sismik Offline OP
stranger
OP Offline
stranger
S
Joined: Sep 2014
Many thanks for your quick answer Biospirit, I'm sure that will help me ァ I have another problem.

i try to make a telporte between 2 points, that seems very easy but it doesn't work.

I have a door A and and a Door B.
Global = True
I made 2 Triggers "Point" near the doors.
On door A I programmed on "ActinonUse" The script "Teleport" with type of target = trigger and target = door B, and I did exactly the same with the other door.

Can you help me ?

Thanks

Joined: Jul 2014
Location: Finland
journeyman
Offline
journeyman
Joined: Jul 2014
Location: Finland
Trigger is the point where the party is teleported so, make the triggers global as well. You can't teleport a party into a door.


type of target = trigger
target = trigger near the other door

Joined: Sep 2014
S
Sismik Offline OP
stranger
OP Offline
stranger
S
Joined: Sep 2014
Thanks that work perfectly ! I watched the first video tutorial about scripting quest, and when the guy on the video open the script editor a big list of goal appear, and me I have .... nothing... it's completely empty... And probably I need the scripts in these list.

This is because I need to unpack some files ?

If yes, where are these files and where I need to unpack them ?

Thx

Joined: Jul 2014
Location: Finland
journeyman
Offline
journeyman
Joined: Jul 2014
Location: Finland
That depends on what kind of Mod you are trying to do. If your mod provides something to the Main campaign of the game then you need to create your mod with a dependency to the Main. (i.e. Have the Main check-box checked when creating your mod). Then those goals will appear in the Editor. But they will have a grey background indicating that they are read-only files.

However, if your mod does not provide content to the Main campaign. Then, finding the files for the story editor will get more complicated. But, of course, there are solutions.

So, important question is that does your mod provide content to the Main campaign ?

Joined: Sep 2014
S
Sismik Offline OP
stranger
OP Offline
stranger
S
Joined: Sep 2014
Originally Posted by BioSpirit


So, important question is that does your mod provide content to the Main campaign ?


I try to do a stand-alone mod and I would like to take some elements of the main campaign, like some scripts. For example I would like to copy/paste an entire fight but just change the names and skins of the NPC. But that seems difficult...

I tried to do a basic script to add a book to my charachter at the beggining of the game but I have a syntax error ("?" unexpected) my code in KB is :

IF
GameEventSet("GAMEEVENT_GameStarted")
THEN
ItemToCharacter(ITEM_Lightning_book,CHARACTER_Scarlett);

Last edited by Sismik; 18/09/14 11:12 AM.
Joined: Sep 2014
S
Sismik Offline OP
stranger
OP Offline
stranger
S
Joined: Sep 2014
I try to fix my problem, but it's complicated. I try to "build" and without any Script I have this bug. The consequences are that I can't do any script if don't find the problem.

Someone can help me ?

Maybe a "?" somewhere block the "build" ... on line 643... but where is these line...

Joined: Sep 2014
S
Sismik Offline OP
stranger
OP Offline
stranger
S
Joined: Sep 2014
I check the logs files and the complete line is :

line 643: error: syntax error: "�" unexpected.

1 error(s), 0 warning(s). Compilation ended.
=== DEBUG HOOK 7 Logging ===

=== DEBUG HOOK 7 Logging End ===

Errors in compilation.


If someone has an idea... i'm sad, because i'm completely stuck, I can't compile anything...


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5