Skip to content

Posts from Questions and answers about ERM scripts for WoG. Auto-translated

5.0 (1 rating)
In reply to TRAMPLE
#79
Auto-translated
Guys, you're definitely pros, but I just want to give some properties to an EMPTY sword #162, located at coordinates 120, 56. How can I do that?
P.S. If it's not too much trouble, could you recommend a manual, preferably in Russian, because I'm getting confused with triggers and containers and all that stuff... ;)

Added 5 minutes later
Creator;12330
First, let's talk about what ERM is:


Next, the important question: "How do I enable an ERM script in the game?"

Here are links to Russian guides on ERM scripts:

ERM manual
ERM FAQ
WOG FAQ

The links are broken, does anyone else have this information?
In reply to Мугайс
User Avatar
#81
Auto-translated
Mugais;47101
I have a problem – I want to change a hero's specialization (so that the hydras under his command fight more effectively).

I understand how to write this script. But it doesn't work. Apparently, I need to set a condition for it to work. And I haven't found anywhere how to make the script work from the moment the map is loaded! :(

Can anyone help me?
To do this, put !# before the Reciever, not !!.
In reply to nik312
User Avatar
#82
Auto-translated
I don't want to go through the entire Receiver list; maybe someone knows if it's possible to set a victory condition using scripts, because the editor doesn't recognize an artifact like the Dragon Heart, and it's impossible to set its discovery as a victory condition.

Added after 39 seconds
I don't want to go through the entire Receiver list; maybe someone knows if it's possible to set a victory condition using scripts, because the editor doesn't recognize an artifact like the Dragon Heart, and it's impossible to set its discovery as a victory condition.
In reply to nik312
User Avatar
#83
Auto-translated
Set a trigger for picking up/equipping an artifact (!?OB or !?AE) and execute a victory condition UN:Q

Added 2 minutes later
For example:
!?OB5/159&1000;
!!IF:M^You found a heart!^;
!!UN:Q1;
Мои трассы для великолепной TrackMania Nations
Кампании, биографии командиров и ERM-помощь для WoG 3.58f
In reply to nik312
User Avatar
#84
Auto-translated
I sincerely apologize, but I just found a patch that allows you to add new artifacts to the victory condition. :o
Now, I have another question: is it possible to use scripts to set a second defeat condition, because in many campaigns there are two conditions: losing a hero and the time running out. I want to do the same in my game... :rolleyes:
In reply to nik312
User Avatar
#85
Auto-translated
In the editor, create a condition for "hero loss," and use a timer to measure the day of the game's end. !#TM99:S28/28/1/255; timer for 28 days !?TM99; !!IF:M^28 days have passed! You lost!^; !!UN:Q0;
Мои трассы для великолепной TrackMania Nations
Кампании, биографии командиров и ERM-помощь для WoG 3.58f
In reply to nik312
User Avatar
#87
Auto-translated
What's up, the script isn't obeying me!:smile05:
This thing isn't working!:smile05:
!#TM1:S141/141/1/8;
!?TM1;
!!IF:M:^It's been 6 months, the dragons won't obey!^;
!!UN:Q0;

Added 16 minutes later
even with ZVSE.
In reply to nik312
User Avatar
#88
Auto-translated
!!IF:M:^6 months have passed, the dragons will not submit!^;
Need to:
!!IF:M^6 months have passed, the dragons will not submit!^;

Added after 57 seconds
By the way, does the timer work only for the green one?
Мои трассы для великолепной TrackMania Nations
Кампании, биографии командиров и ERM-помощь для WoG 3.58f
In reply to nik312
User Avatar
#89
Auto-translated
For the green one, it's needed (there's only one on the map). Added after 22 minutes. Replaced with: ZVSE; !#TM99:S2/3/1/8; !?TM99; !!IF:M^6 months have passed, the dragons won't obey!^; !!UN:Q0; It still doesn't work! P.S. Don't be surprised by the execution date - this is to avoid waiting 6 months each time when checking.
In reply to nik312
User Avatar
#91
Auto-translated
What does "check the timer number" mean? Does each type of timer correspond to a specific number?:eek:

Added 13 minutes ago
YEEEESSSSSSS!!!!!!!!!!!!!!:smile12: IT WORKED!!!!!!!!!!!!:smile12:

Added 9 hours and 3 minutes ago
Strange, on my first map, I just created a message: "ZVSE" and it worked, but here it only worked when I put the entire script into the timer...

Added 14 hours and 22 minutes ago
And now, a VERY important question: how do I make it so that in a city, in the Green Dragon building, I can recruit Arctic Snipers? I couldn't find any similar receiver!