|
|
XeRo13gg
Tavern Dweller
|
posted January 04, 2024 11:19 AM |
|
|
Salamandre said: Place an event at 5/5/1, then :
!?LE5/5/1&1000; flag 1000 to prohibit AI triggering the event
!!UN:O54/138/1;
make sure there is only an object at specified coordinates, no special terrain under. Voila.
I have placed an event at 5/5/1. There is terrain of 'dirt' type underneath the event.
Placed the above code in global events with ZVSE before it.
It doesn't work.
When I step on the coordinates, nothing happens.
Maybe it's the ERM version? I have a quite old version. Is there a tweak that could make it work, or maybe I did something wrong?
____________
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted January 04, 2024 11:24 AM |
|
|
Doesn't matter version, this is code from wog 3.57 so should work on any. Try debug
!?LE5/5/1&1000; flag 1000 to prohibit AI triggering the event
!!IF:M^Code is activated^;
!!UN:O54/138/1;
If you get the message, means your object is not correctly placed. If no message, then codes are not activated. Anyway, no one uses anymore global events nowadays, but mod structure where you can modify scripts on the fly.
|
|
XeRo13gg
Tavern Dweller
|
posted January 04, 2024 12:17 PM |
|
|
Salamandre said: Doesn't matter version, this is code from wog 3.57 so should work on any. Try debug
!?LE5/5/1&1000; flag 1000 to prohibit AI triggering the event
!!IF:M^Code is activated^;
!!UN:O54/138/1;
If you get the message, means your object is not correctly placed. If no message, then codes are not activated. Anyway, no one uses anymore global events nowadays, but mod structure where you can modify scripts on the fly.
I've tested it and it didn't trigger.
YET, I've removed a blank line right below ZVSE and it suddenly worked!!
What the....
That piece of code will suffice to update all my maps.
You have my gratitude.
____________
|
|
Pol1123
Tavern Dweller
|
posted January 12, 2024 12:13 PM |
|
|
how to fix ameedit? because it doesn't work for me, the thing is that when I run it, nothing happens, the same as administrator and it is not on the exclusion list and it is not considered a virus and I have the last version of fileu exe with the eye
|
|
VikingII
Adventuring Hero
|
posted April 19, 2024 04:52 PM |
|
|
Tavern Card Game
Is there a way to edit the Tavern Card Game in WoG options menu?
I like to have the chance to risk money, but in one lucky turn with a character with Luck skill, I ended up with 30K gold in one single turn until the tavern kicks me out for winning too much, and also, with many magical necklaces, some of them powerful as Pendant of Negativity or Pendant of Courage.
I want to keep that mini game, but nerfed to only be able to win once per week, and without the extra necklaces, or at least remove the most powerful ones.
Someone knows if that is possible?
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted April 20, 2024 08:24 AM |
|
|
Sure, the script can be edited, is located in wog scripts/data/s.
But as with every unbalanced script, there is lot of time to spend tuning up and down, then one is happy, another isn't. And 1 month later, the automatic update reinstall the old one anyway
|
|
VikingII
Adventuring Hero
|
posted April 20, 2024 10:16 PM |
|
Edited by VikingII at 17:44, 28 Apr 2024.
|
Salamandre said: Sure, the script can be edited, is located in wog scripts/data/s.
But as with every unbalanced script, there is lot of time to spend tuning up and down, then one is happy, another isn't. And 1 month later, the automatic update reinstall the old one anyway
Thank you!
After a quick read of the script I recognize the variable $prize$ as the pendant. So I've removed all strings which has that variable, resulting in not giving the necklace. I don't want to dive deeper for now, but at least, not end up with tons of necklaces seems more balanced for me.
This is what I've done, please, someone tell me if I didn't broke anything else. Strings removed:
098 !#MCv413:S@prize@
099 - artifact pendant prize]
126 !!VR$prize$:S0;
323 !!VR$prize$&$result$>95:S100 R8
337 /8/$prize$
339 !!HE-1&$result$>95:A4/$prize$
373 /8/$prize$
376 !!HE-1&v419>40/-408:A3/$prize$/1/1;
That's all. Till now, works like a charm (just still getting the message "also you won a magical necklace" or something similar, but ends up with no new item.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted April 21, 2024 07:26 PM |
|
|
This will disable the message if removed
!!IF&$result$>95:Q401/6/$stake$/8/$prize$/1/z113040;
|
|
VikingII
Adventuring Hero
|
posted April 21, 2024 09:08 PM |
|
|
Salamandre said: This will disable the message if removed
!!IF&$result$>95:Q401/6/$stake$/8/$prize$/1/z113040;
Yes, it disable the message of the pendant, but it also is the same confirmation of the winner. Removing it, just jumps directly to the tavern, without telling me if I won, and how much gold.
It is faster, but I prefer to keep that confirmation. Thanks anyway, it helped to understand better these scripts.
|
|
|
|