|
Thread: WoG battle guide for Dummies | This thread is pages long: 1 2 3 · «PREV |
|
armageddonsm
Tavern Dweller
|
posted September 30, 2012 06:12 PM |
|
|
Works like a charm, thank you
I'm adding other things now If i get stuck, i'll let u know.
|
|
armageddonsm
Tavern Dweller
|
posted September 30, 2012 11:45 PM |
|
|
Once again thanks! I learned a lot today
This is how it looks now (i found this quite interesting so i wanted to play a bit more).
Quote: ZVSE
!?OB2/2/0;
!!PO998:N?v1; check object PO (PO stores that square various values)
!!HE-1&v1=0:T2/2/0/168/1; provoke a battle with 1 Gorynych
!!HE-1?v2; after battle, check if hero survived
!!PO998&v2>-1:N1; change PO so battle will not occur again
!?BF&v998=2/v999=2/v1000=0; battle at 2/2/0 coordinates
!!BF:C; clears battlefield
!!BFO79/15;
!!BFO79/24;
!!BFO79/29;
!!BFO79/32;
!!BFO79/42;
!!BFO79/49;
!!BFO79/57;
!!BFO79/59;
!!BFO79/66;
!!BFO79/78;
!!BFO79/96;
!!BFO79/112;
!!BFO79/125;
!!BFO79/127;
!!BFO79/134;
!!BFO79/144;
!!BFO79/151;
!!BFO79/160;
!!BFO79/165;
!!BFO79/168;
!!BFO79/185;
!!BFO80/7;
!!BFO80/9;
!!BFO80/11;
!!BFO80/13;
!!BFO80/40;
!!BFO80/82;
!!BFO80/116;
!!BFO80/142;
!!BFO80/177;
!!BFO80/179;
!!BFO80/181;
!!BFO80/183;
!?BR=1
!!BU&v997=0:S75/50/25/1/-1/0; 50 evil eyes
!!BU&v997=0:S75/50/161/1/-1/0; 50 evil eyes
!!BU&v997=1:S71/125/58/1/-1/0; 125 infernal troglodytes
!!BU&v997=1:S71/125/126/1/-1/0; 125 infernal troglodytes
!!BU&v997=2:S81/10/30/1/-1/0; 10 scorpicores
!!BU&v997=2:S81/10/166/1/-1/0; 10 scorpicores
!!BU&v997=3:S71/150/1/1/-1/0; 150 infernal troglodytes
!!BU&v997=3:S71/150/171/1/-1/0; 150 infernal troglodytes
!!HE-1:E?p/?q;
!!VRr&v998<36:Sq*5; Summon 5x Harpy Hags per hero lvl
!!BU&v997>=1/v998<36:S73/r/95/1/-1/0; summon Harpy Hags
!!BM21:S10; Gorynych have a speed of 10
!!BM21&v998<36:H500; Gorynych have a health of 500
!!BM21:A40; Gorynych have attack 40
!!BM2130; Gorynych have a defense 30
!!BM21:U1/35; Gorynych have a minimum damage of 35
!!BM21:U2/65; Gorynych have a maximum damage of 65
Please let me know if it have any errors (though it works well).
As u can see i changed crusaders to Gorynych.
Some questions:
1. How can i place Gorynych somewhere else? Since fight is provoked versus them they are always placed at hex no. 100)?
2. I want Gorynych to be a "boss" appearing on round 3 and not at the beginning of the battle, how to do it?
3. I also want to give him some abilities, like 3-head cerberus attack and strike and return along with 50% fire resist, i couldn't find it in ERM help.
3. For example command !!BM21:F16384; works as it should (it gives him fire immunity) but it's not shown in creature window when i right click on it, am i doing something wrong?
4. How can i change his name to something else? I'm pretty sure it must be dont with !!HE receiver but i don't know how.
Offtopic: Where are those txt files (like CREXPMOD.txt) with editing monster names,stats,abilities,cost etc? I know i used them before on previous pre-Era WoG versions but now i can't find them
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted October 01, 2012 12:21 AM |
|
|
It looks to me you just copy scripts from other maps and without even opening the erm help. For instance your battle obstacles are not coded properly (why don't you look at BF:O?), the creatures will be summoned on squares which may be occupied at that moment, and BR=1 means nothing.
I suggest taking a look at those maps, which handle a lot of customized battles:
The Dragon Slaughter
Chaser
The Empire of the world IV
Alexander the Great
Of course there are many others, but those will also give an almost complete list of special abilities.
Quote:
1. How can i place Gorynych somewhere else? Since fight is provoked versus them they are always placed at hex no. 100)?
2. I want Gorynych to be a "boss" appearing on round 3 and not at the beginning of the battle, how to do it?
3. I also want to give him some abilities, like 3-head cerberus attack and strike and return along with 50% fire resist, i couldn't find it in ERM help.
3. For example command !!BM21:F16384; works as it should (it gives him fire immunity) but it's not shown in creature window when i right click on it, am i doing something wrong?
4. How can i change his name to something else? I'm pretty sure it must be dont with !!HE receiver but i don't know how.
1) Summon it as you do with others.
2) Read above. But you will have to get his stack number and modify its stats changed
3) This is attack around, but I think gorynych has it already. Strike and return, search Format SE2 (flagged abilities)
4) I am not sure we can modify a creature infos during a battle
5) For this you must change gorynych name before the battle. Look at UN:G1 receiver.
____________
Era II mods and utilities
|
|
armageddonsm
Tavern Dweller
|
posted October 01, 2012 12:38 AM |
|
|
I spent at least 5 hours trying to do something...Thx for the first script, i won't bother u anymore since i can see it's a waste of ur time.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted October 01, 2012 12:47 AM |
|
|
Well, if it was so easy to do, we would have thousand of modders around. Each of your questions implies lots of ramifications and checks, is not just one line script.
5 hours is nothing, I spent one year before coding my first battle.
____________
Era II mods and utilities
|
|
armageddonsm
Tavern Dweller
|
posted October 01, 2012 01:43 AM |
|
|
Thx, i just realized ur edit
Well, 5 hours sounds long for a single battle lol. I feel like a complete idiot compared to ur ERM knowledge
Anyway, time to do some more work before i go to sleep, hopefully with some success
|
|
Siegfried
Famous Hero
|
posted November 26, 2012 08:52 AM |
|
|
Stack Setup in Round 0: Indeed, that does not work. But i tried to setup the stacks in BF trigger, and that worked. The only important thing is: Do never anything that visually outputs anything. No dialogue, no message, no animation. But it is possible to alter any stats. So f.ex. it is not possible to _cast_ spells during BF, but it is possible to _apply_ spells.
I think, it should be possible to summon stacks in BF trigger, too. War machines are kind of summoned stacks (the heroes ballista is not a "creature", but an artifact, and if you have it, a ballista "creature" is summoned during BF setup). Not tested this though.
Maybe i found a bug. I tried to alter the stats of the turrets. It worked that if i check the stats later in battle, or if i hover over a target (hero has artillery), it shows correctly what damage the turret is supposed to do. But it does not. Strange. For the ballista and other creatures it works perfectly.
|
|
bloodsucker
Legendary Hero
|
posted August 21, 2015 07:51 AM |
|
|
How can I set my own creatures and opponents in a certain position on the battlefield. Here they appear in the default position but I have to alter that.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 21, 2015 09:03 AM |
|
|
|
|