Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#550775 07/09/14 01:19 AM
Joined: Aug 2014
K
apprentice
OP Offline
apprentice
K
Joined: Aug 2014
Hello again, i am facing a few struggles again.

1) How can i add waypoints in my mod, that actually work like the original? + The teleport button beneath the map! I opened Cyseal but i could not understand a lot from the scripting. Also i think, my editor does not recognise DB_ commands.

2) I have found treasure tables, but i cannot understand exactly how it works. Let's take this for example :

object category "Sword",15,95,5,0,0,0,0,0

On the top it says " treasure itemtypes "Common","Magic","Rare","Legendary","","",""

So i guess i have a chance of finding that particular sword as common, magic and rare, but no legendary. What are the rest of the numbers? What is the highest number? The 15 is lke 15%?

Also, there are a lot of entries, i guess i have to find, by looking the names, specific weapons/armors i want to change?!?!

3) I cannot seem to find how to add trade option + items for NPCs. Any tips on that??

4) I added a new skill, which is basically the Tornado, only now it deals damage as well. On the description of another skill it says:

Deals [1] damage. And in game you see the actual description : Deals 90-115 damage, for example.

I tried to copy paste that, but it doesnt seem to affect my description. I guess, since the description of the skill is actually writen on TranslatedStringKey, i have to input something there, any info on what exactly?

Lastly on that, anyone knows how can i add more tornadoes, instead of 1?? laugh

That's it so far, thank you in advance should you decide to answer anything of the above!!

Last edited by Kolopaper; 07/09/14 01:24 AM.
Joined: Aug 2014
A
stranger
Offline
stranger
A
Joined: Aug 2014
Hi Kolopaper,

I can help you a little on your first question. Once you have placed your teleporter on your map and made it global, you must place a point trigger to the area you want the teleporter to take the player to. Make it global and give it a name you can remember.

After that, open the sidebar for your teleporter. Scroll down to the "Item State" section. The third line should say "OnUseActions." Click on the "..." button on the right hand column of that line. A new window named "Actions" should open up.

On the top left hand side, you should see a drop down menu, a green add button, and a red delete button. Open the drop down menu, select "Teleport," then click the add button.

The right hand side of the window should now display additional information. The bottom section (TeleportTarget) should have 3 lines: Target, m_Target, and m_Type. It should be default, but make sure m_Type is set to "Trigger."

Now click the "..." button on the right hand column of the Target line. A new window should open called "Select Global object..."

Click the Trigger radial button on the top. Then open the drop down menu right below and select the level that the trigger is located. The section right below the drop down menu should now be populated with all the triggers from the level. Select the one you made for the teleporter and click "Apply."

Now the right hand section of the "Target" line should be the same, but the m_Target line should have a string of something that looks like gibberish. This is actually the ID of the trigger. You won't see the name displayed anywhere.

If you really want to make sure that the teleporter is leading to the right trigger, write down the value of m_Target. Then go back to your trigger, select it, and open the side bar. Under the "Base" section should be a line called "GUID." Whatever your wrote down should be identical to its value.

Now when your testing character clicks on the teleporter, it should work. This is also how you get the doors leading upstairs/downstairs houses, wells, caves and holes and so on to transition to another area.

Unfortunately, I haven't looked into the teleport button from the UI and how it works, but hopefully this is a good starting place for you. Good luck!

Joined: Aug 2014
K
apprentice
OP Offline
apprentice
K
Joined: Aug 2014
Thank you a lot for the information. From what i understand, though, this can be limiting when having a lot of teleports. I am gonna have to try it!


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