Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Sep 2016
journeyman
OP Offline
journeyman
Joined: Sep 2016
Taking my first stab at overriding base game scripts with the editor, hoping someone can point out what I'm doing wrong.

Starting by trying to tweak the spider legs scripting in Statuses.Gamescript. First I used the scripts editor to load a copy of the file I unpacked from shared, then saved it within my mod's public folder: Public\SpiderLegsFix_eff21516-8d58-4bc0-9ad6-b0e7b581785f\Scripts\Game

[Linked Image]

Then I created a .pak for my scripts in the resource manager and added the gamescript file as a resource.

[Linked Image]

Now back in the scripts editor I'm doing simple obvious tweaks just to prove that I am in fact making changes (i.e. making walking over webs with spider legs apply warm instead of haste), but after I build the file, save my project, and load the game with my mod active, they aren't showing up.

Am I going about this the right way?

Joined: Sep 2016
journeyman
OP Offline
journeyman
Joined: Sep 2016
Bump.

Joined: Sep 2017
Location: Belgium, Ghent
addict
Offline
addict
Joined: Sep 2017
Location: Belgium, Ghent
Hey smarmbot,

instead of making a new resource, try overriding the existing one.
If you make a new resource, it gets a different GUID and will not override the original 'Statuses'.

1. Go to the original resource 'Statuses'.
2. Right-click > Open for edit. This will ask if you are sure you want to copy it to your project and package
(You'll see the original is now grayed out and has the option 'Go to Active Resource')
3. Change the sourcefile of the new resource to the path of your custom script.

Hope that does the trick smile Keep us posted
Kevin


CTRL+K the elf
Joined: Jan 2010
Location: USA
F
enthusiast
Offline
enthusiast
F
Joined: Jan 2010
Location: USA
Originally Posted by Larian_KVN
1. Go to the original resource 'Statuses'.
2. Right-click > Open for edit. This will ask if you are sure you want to copy it to your project and package
(You'll see the original is now grayed out and has the option 'Go to Active Resource')
3. Change the sourcefile of the new resource to the path of your custom script.

I tried doing this now, but after clicking Yes to copy, I get an error dialog with no titlebar that says "No available packages!"

Joined: Sep 2017
K
stranger
Offline
stranger
K
Joined: Sep 2017
You have to create a resource package first. Its icon is a small square with a plus. It is above the resource navigation (where you choose folders, packages).

Joined: Sep 2016
journeyman
OP Offline
journeyman
Joined: Sep 2016
KVN to the rescue once again!

Worked like a charm, thank you.


Moderated by  Larian_KVN 

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