|
|
doom3d
Known Hero
Avatar of general Z
|
posted March 30, 2007 07:09 PM |
|
|
Quote: Does anybody know where can I find the erm scripter?
You should download it as a separate *.wog update file.
It should be avalaible at http://wog.celestialheavens.com/en/download/utilities/
but I can't find it there.
So here is a mirror at our site:
http://heroes.hardwired.hu/letoltesek/letoltesek.php
Go for " WoG script editor progi".
|
|
EliteKill
Promising
The Starless
|
posted March 31, 2007 08:24 AM |
|
|
Thank you!!!
It works now!
|
|
EliteKill
Promising
The Starless
|
posted March 31, 2007 07:10 PM |
|
|
New problem:
I am making a script which uses a certain object as a Lottery Shack. I want the script to give the visitor 7 random numbers, than decide 7 winning numbers. If the sets match each other, the player will win 100,000 gold. Also, the place is only visitable on Day 1 and the cost for each ticket (7 random numbers and 7 wining numbers) is 1000 gold. The problem is that the game won't play the script even on day 1, and without the day thing, the prize won't be given The script so far:
ZVSE
!#VRy1:S0;
!#VRy2:S0;
!#VRy3:S0;
!#VRy4:S0;
!#VRy5:S0;
!#VRy6:S0;
!#VRy7:S0;
!#VRy8:S0;
!#VRy9:S0;
!#VRy10:S0;
!#VRy11:S0;
!#VRy12:S0;
!#VRy13:S0;
!#VRy14:S0;
!#VRy15:S0;
!$OB15/9/0;
!!VRy20:Sc%7;
!!IF&y20=0:M^You caome across a small shack. A grumpy old man comes out.^;
!!IF&y20=0:Q1^"Hmm, what do you want? Well, you came at the right time. Today I'm selling lottery tickets. Wanna buy one for 1000 gold?^;
!!IF&y20>0:M^You see a sign on the door: "Closed"^;
!!IF&-1:M^Fine than. You can come next week.^;
!!OW&1:R-1/6/d-1000;
!!VRy2&1:R0;
!!VRy3&1:R0;
!!VRy4&1:R0;
!!VRy5&1:R0;
!!VRy6&1:R0;
!!VRy7&1:R0;
!!VRy8&1:R0;
!!IF&1:M^Your numbers are %Y2, %Y3, %Y4, %Y5, %Y6, %Y7, and %Y8.^;
!!IF&1:M^Now to check if you won...^;
!!VRy9&1:R0;
!!VRy10&1:R0;
!!VRy11&1:R0;
!!VRy12&1:R0;
!!VRy13&1:R0;
!!VRy14&1:R0;
!!VRy15&1:R0;
!!IF&1:M^The wining numbers are %Y9, %Y10, %Y11, %Y12, %Y13, %Y14, and %Y15.^;
!!VRy1&1/y2=y9/y3=y10/y4=y11/y5=y12/y6=13/y7=y14/y8=y15:S1;
!!IF&1/y1=1:M^Wow!!! You actually won! I guess I have to give you you're prize now... 100000 gold pieces!!!^;
!!OW&1/y1=1:R-1/6/+100000;
!!IF&1/y1=0:M^Tough Luck. You can try again next week.^;
|
|
doom3d
Known Hero
Avatar of general Z
|
posted April 02, 2007 07:49 PM |
|
Edited by doom3d at 19:50, 02 Apr 2007.
|
I do not agree with the background philosophy of the script. (giving 100k gold randomly) But here are some hints:
- y variables should be used inside FU-s. It makes no sense to reset them before day1: starting values are actually zeroes.
Please, use y- variables instead. (y-1, ..y-20, ..)
BTW, y- variables are automatically reseted, when the trigger starts.
For more details, please read the html manual. (press "F5" in ERM editor)
- why don't You use regular !?OB trigger?
- after "!!IF&-1:M^Fine than. You can come next week.^;" You could place a breakpoint "!!FU&-1|y-20<>0:E; So "&-1"'s later could be skipped.
- "R0" adds ZERO to current value. So If You are 'lucky', you will have 0,0,0,0,0,0 in your hands.. and win the jackpot allways.
- !!OW&y1=1:R-1/6/d100000;
|
|
gdk
Tavern Dweller
|
posted April 29, 2007 05:10 PM |
|
|
spell effects for creature attacks
I realize that some of the experts have already programmed the dragon flies to cast "berserk" with their attack. Is it possible then to add any spell effect to a certain creature's attack? If so, could someone post (or direct me to) the script?
|
|
T2_2112
Supreme Hero
|
posted April 29, 2007 06:49 PM |
|
|
Any one know how to do this ? Or what version of this H3 u guy
http://i80.photobucket.com/albums/j196/OlegR/03.jpg
http://i80.photobucket.com/albums/j196/OlegR/02.jpg
|
|
doom3d
Known Hero
Avatar of general Z
|
posted April 30, 2007 08:15 PM |
|
|
Quote: I realize that some of the experts have already programmed the dragon flies to cast "berserk" with their attack. Is it possible then to add any spell effect to a certain creature's attack? If so, could someone post (or direct me to) the script?
In the wogification menu You can right click on the options to find out option number and script number.. Scripts are in heroes3/Data/s folder.
You will need the ERM editor also. (erm_tools.wog)
|
|
AcidDragon
Promising
Famous Hero
who lost his body somehow...
|
posted April 30, 2007 09:03 PM |
|
|
Quote: Any one know how to do this ? Or what version of this H3 u guy
http://i80.photobucket.com/albums/j196/OlegR/03.jpg
http://i80.photobucket.com/albums/j196/OlegR/02.jpg
Those screens are from the beta version of Heroes III RoE - nothing connected with WoG or ERM. However, if someone created similar graphics then in theory they could be put into the game through a wog patch... in theory of course.
____________
|
|
T2_2112
Supreme Hero
|
posted May 01, 2007 04:43 AM |
|
|
CAn i dowwnload this beta verrsion somewhere ?
|
|
AcidDragon
Promising
Famous Hero
who lost his body somehow...
|
posted May 01, 2007 10:59 AM |
|
|
Nope. It was never released to the public, as far as I know. Only some screens were published by NWC before the H3 release.
____________
|
|
T2_2112
Supreme Hero
|
posted May 01, 2007 12:14 PM |
|
|
3DO always like that , beta version always something better than public version , H3 not only one
|
|
EliteKill
Promising
The Starless
|
posted May 01, 2007 10:14 PM |
|
|
I'm back at making some ERM scripts. I am making a map that at the beggining, the player chooses his favorite tow. The hero class then changes to the might class of the picked town. This is what I've got:
ZVSE
!#VRz1:S^Castle^;
!#VRz2:S^Rampart^;
!#VRz3:S^Tower^;
!#VRz4:S^Inferno^;
!#VRz5:S^Dungeon^;
!#VRz6:S^Necropolis^;
!#VRz7:S^Stronghold^;
!#VRz8:S^Fortress^;
!#VRz9:S^Conflux^;
!#VRz10:S^Choose your favorite castle^;
!?LE1/0/0;
!!IF:G1/1/1/10/1/2/3/4/5/6/7/8/9/0/0/0/0/0/0/0;
!!HE-1&v1=1:B2/0;
!!HE-1&v1=2:B2/2;
!!HE-1&v1=4:B2/4;
!!HE-1&v1=8:B2/6;
!!HE-1&v1=16:B2/8;
!!HE-1&v1=32:B2/10;
!!HE-1&v1=64:B2/12;
!!HE-1&v1=128:B2/14;
!!HE-1&v1=256:B2/16;
ZVSE
!#VRz1:S^Castle^;
!#VRz2:S^Rampart^;
!#VRz3:S^Tower^;
!#VRz4:S^Inferno^;
!#VRz5:S^Dungeon^;
!#VRz6:S^Necropolis^;
!#VRz7:S^Stronghold^;
!#VRz8:S^Fortress^;
!#VRz9:S^Conflux^;
!#VRz10:S^Choose your favorite castle^;
!?LE1/0/0;
!!IF:G1/1/1/10/1/2/3/4/5/6/7/8/9/0/0/0/0/0/0/0;
!!HE-1&v1=1:B2/0;
!!HE-1&v1=2:B2/2;
!!HE-1&v1=4:B2/4;
!!HE-1&v1=8:B2/6;
!!HE-1&v1=16:B2/8;
!!HE-1&v1=32:B2/10;
!!HE-1&v1=64:B2/12;
!!HE-1&v1=128:B2/14;
!!HE-1&v1=256:B2/16;
My problen ia that when I play, I choose my favorite town, click on the check, and then a bunch of Syntax errors pop up. I click on the check in every single one, and than, after it sais the script was disabled, it works. So if I choose Tower, the errors pop up, and then I become an Alchemist. Any ideas how to make the errors stop?
|
|
doom3d
Known Hero
Avatar of general Z
|
posted May 02, 2007 10:49 PM |
|
|
You really used 20 parameters instead of 16, or it was typo?
|
|
malax83
Famous Hero
Game ranger, HotA Player
|
posted May 10, 2007 06:24 PM |
|
|
Hello heroes community (link to subject heroes modification)
I think my old topic isn t right place, if heart goes on take a look plz
http://heroescommunity.com/viewthread.php3?TID=22435
____________
|
|
Bigbadfly
Famous Hero
|
posted May 26, 2007 11:12 AM |
|
|
Hello people in HC!
I would like to use ERM to edit one of the blank artifacts, but im not sure what to do.
I wait for your help!
____________
|
|
doom3d
Known Hero
Avatar of general Z
|
posted May 26, 2007 07:40 PM |
|
|
Quote: Hello people in HC!
I would like to use ERM to edit one of the blank artifacts, but im not sure what to do.
I wait for your help!
First step: Download the ERM editor stuff.
http://heroes.hardwired.hu/letoltesek/letoltesek.php
Go for " WoG script editor progi".
After installation, go to heroes3/erm_help folder.
|
|
Bigbadfly
Famous Hero
|
posted May 29, 2007 12:55 PM |
|
|
Well, thank you for help.
____________
|
|
chaoshydra
Famous Hero
|
posted May 29, 2007 01:45 PM |
|
|
Since my postcount is too insufficient to start another thread, I'll post my problem in this thread. The mods can move it eventually.
I wanna use the darkbrown shrine (which is by default used to pray and Mass spell your troops when attacking next time) to make a 4th Level shrine (what script do I use?)
I also wanna use an object which contains 4 creatures set in corners (like Dragon Utopia) + bonuses.
|
|
doom3d
Known Hero
Avatar of general Z
|
posted May 29, 2007 11:54 PM |
|
|
I wanna use the darkbrown shrine (which is by default used to pray and Mass spell your troops when attacking next time) to make a 4th Level shrine (what script do I use?)
You will need an !?OB trigger in the shrine.
Visiting hero will be "HE-1". Just give him/her a lvl4 spell,
and display a message box with !!IF:M.
|
|
ChaosHydra
Famous Hero
|
posted June 16, 2007 05:58 PM |
|
|
How can you put a Dragolich, Sacred Phoenix f.e. in a neutral garrison or in a hero? (in the Map Editor)
|
|
|