Jump to content

Hide in the shadows ability


Recommended Posts

Hello.....party members ;)

 

Just noticed that hide in the shadows ability from characters that have it can be exploited...

 

First, put the script "thief aggressive" with AI button on ; second if the character tries to hide automatically (script action) and fails the button for hiding turns inactive but becomes active before the next action of the script to automatically hide and in that interval you can press the hiding button (one of the F keys); in that way you can hide more quickly (half wait time between attempts)

 

This exploit is usefull when the character has low level with few points of hide in the shadows ability

 

Sorry if this issue is known and I am repeating it

:thumbsup:

Link to comment

All three scripts that try to hide the thief are strange like this. Thief Scout is even worse than Thief Aggressive. Scout tries to hide the thief every 3 seconds, whereas you can only try every ~5.5 seconds if you use the interface button. Thief Aggressive tries to hide every 10 seconds and Thief Defensive tries to hide every 30 seconds.

 

A fix/tweak for all three:

COPY "scripts/thief1.bs" scripts
 "scripts/thief2.bs" scripts
 "scripts/thief4.bs" scripts
 DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY CASE_SENSITIVE EVALUATE_REGEXP "Delay([0-9]+)" "Delay(5)"
 COMPILE_BAF_TO_BCS
BUT_ONLY

Delay(5) will make the thief try to hide just before the interface button becomes available and Delay(6) will make the attempt happen just after.

Link to comment
All three scripts that try to hide the thief are strange like this. Thief Scout is even worse than Thief Aggressive. Scout tries to hide the thief every 3 seconds, whereas you can only try every ~5.5 seconds if you use the interface button. Thief Aggressive tries to hide every 10 seconds and Thief Defensive tries to hide every 30 seconds.

 

A fix/tweak for all three:

COPY "scripts/thief1.bs" scripts
 "scripts/thief2.bs" scripts
 "scripts/thief4.bs" scripts
 DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY CASE_SENSITIVE EVALUATE_REGEXP "Delay([0-9]+)" "Delay(5)"
 COMPILE_BAF_TO_BCS
BUT_ONLY

Delay(5) will make the thief try to hide just before the interface button becomes available and Delay(6) will make the attempt happen just after.

;) Sry...I'm noob about where to put this code...but I've located the three files :D

Please, help me !

Thank you!

 

@ devSin

In general, we try not to touch silly AI, especially the player scripts.

Gaming Stealth is common; it's just a crummy mechanic.

 

I understand that, but I want to test this in my great new install of BWP :thumbsup:

Link to comment

 BEGIN Shadowhide
COPY "scripts/thief1.bs" scripts
 "scripts/thief2.bs" scripts
 "scripts/thief4.bs" scripts
 DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY CASE_SENSITIVE EVALUATE_REGEXP "Delay([0-9]+)" "Delay(5)"
 COMPILE_BAF_TO_BCS
BUT_ONLY

Sry...I'm noob about where to put this code...but I've located the three files :thumbsup:

Please, help me !

Thank you!

Edit... of course if you wish to use this in BWP, you need to make your own mod, and install that after everything else.

So install the BWS first... and while it's doing it's miracles, make a new .txt file, open it with Notepad, copy paste the code above, and use the save_as command, and name the file as setup-*mymod*.tp2, where the *mymod* can be anything you like as long as it's unique from all the other mods. then create a directory called the *mymod*, and put the .tp2 file into it. Next go here and download the latest WeiDU.exe within this archive(Windows Binary download link), and open it with unzip, open the unarchived folder, copy the WeiDU.exe, and rename it as setup-*mymod*.exe, then copy that and the *mymod* folder to the game directory and run the setup-*mymod*.exe, and install the Shadowhide. Easy.

Link to comment
Easy.

 

Aha, but you forgot BACKUP and AUTHOR :thumbsup:

 
BACKUP "shadowhide/backup"
AUTHOR blah
BEGIN Shadowhide
COPY "scripts/thief1.bs" scripts
 "scripts/thief2.bs" scripts
 "scripts/thief4.bs" scripts
 DECOMPILE_BCS_TO_BAF
REPLACE_TEXTUALLY CASE_SENSITIVE EVALUATE_REGEXP "Delay([0-9]+)" "Delay(5)"
 COMPILE_BAF_TO_BCS
BUT_ONLY

 

Edit: Eh, just download and install this.

Link to comment
Easy.

 

Edit: Eh, just download and install this.

 

:D ....Indeed too easy now.....

 

I've installed the mod and it's what I wanted :thumbsup:

 

By the way, nice easy tutorial for modding and debugging...this is the first time that I'm involved in mod making ;)

 

I appreciate your support, u guys, and thx :D

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...