Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: ERM help and discussion
Thread: ERM help and discussion This Popular Thread is 407 pages long: 1 2 3 4 5 ... 80 160 240 320 400 ... 403 404 405 406 407 · «PREV
XeRo13gg
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?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
XeRo13gg
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.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Pol1123
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

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
VikingII
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?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
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

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
VikingII
VikingII


Adventuring Hero
posted April 20, 2024 10:16 PM
Edited by VikingII at 22:18, 20 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 end's up with any new item.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
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;

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
VikingII
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 407 pages long: 1 2 3 4 5 ... 80 160 240 320 400 ... 403 404 405 406 407 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2673 seconds