|
|
solitaire345
Promising
Famous Hero
|
posted August 23, 2011 09:07 AM |
|
|
Is it possible to get the ID of the stack that I summon with !!BU:S ?
|
|
Aleee
Known Hero
|
posted August 23, 2011 09:35 AM |
|
Edited by Aleee at 10:01, 23 Aug 2011.
|
Store position of the stack, then use !!DO with !!BMx16:P?
|
|
Bersy
Honorable
Supreme Hero
|
posted August 23, 2011 03:05 PM |
|
|
|
Aleee
Known Hero
|
posted August 23, 2011 04:21 PM |
|
|
Oh, right. But this way you may never get acquainted with !!DO
|
|
solitaire345
Promising
Famous Hero
|
posted August 23, 2011 05:15 PM |
|
|
Thanks, I didn't notice this command in ERM help. Shame on me..
|
|
emrysblack
Adventuring Hero
New Hero
|
posted August 24, 2011 01:10 AM |
|
|
Is there a trigger for the end of the battle before the battle summary screen? I.E. Say I want to change a creature type when the battle ends before the screen so the screen shows the new type
____________
|
|
OxFEA
Promising
Famous Hero
feanor on DF2.ru
|
posted August 24, 2011 03:51 AM |
|
Edited by OxFEA at 03:53, 24 Aug 2011.
|
Quote: As i said, it is imperative to know how to remove (or add) these abilities on creatures (and in fact any abiliites in heroes) so that we may be able to edit any creature from scrap.
I may not delete all of those abilities myself. For instance i intend on removing the take soul ability of the Hell Barons and then reinstall it (through stack experience) with a smaller percentage of that happening. That's the gain of all this (to be able to control and edit these abilities at will).
Anyway, i would like to know the commands on removing the other wog creatures special abilities as well. It's the only way to have a choice on what abilities you'll keep and which you'll delete.
Removing all abilities from all WoG creatures is time-wasting. For giving abilities from zero using new creatures (or empty ones from standart) + ERM/plugins will better.
|
|
Kegolo
Promising
Famous Hero
of infamy
|
posted August 24, 2011 04:57 AM |
|
|
Quote: Use Era. It has the option to disable grail functionality. Details are written in manual.
What function exactly? I don't want to disable the grail for conflux permanently, just its current ability...
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 24, 2011 05:29 AM |
|
|
ZVSE
!#VRz1:S^Angel.dll^;
!#SN:Lz1/?v2;
!#VRz1:S^SetOption^;
!#SN:Av2/z1/?v3;
!#SN:Ev3/0/2/0; set option "the grail gives all spells" to off
____________
Era II mods and utilities
|
|
Bersy
Honorable
Supreme Hero
|
posted August 24, 2011 02:46 PM |
|
|
Quote: Is there a trigger for the end of the battle before the battle summary screen? I.E. Say I want to change a creature type when the battle ends before the screen so the screen shows the new type
!?BG1 + check all left/right side creatures for death.
|
|
Hero_of_Light
Responsible
Supreme Hero
|
posted August 25, 2011 05:00 PM |
|
|
@OxFEA
I think to edit existing creatures is easier than adding completely new ones and start them from scratch. And anyways, the creatures that are already in the game will surely show up in the map and will be encountered one way or another. It's good to be able to modify those encounters... For instance, I would like to know how you can remove the answers twice ability of the Ghost Behemoths? I think it's too much to add in a already powerfull creature...
@ALL
I also would like to know one thing. Is it possible to change a hero's class? I would like to make Mutare Drake a Planeswalker (or Elementalist) hero but i don't know how. I saw that the !!HE command modifies many hero's asspects but i couldn't find anything of the sort.
For instance, i can make mutare Drake to start with Conflux creatures, give her a new name, portrait and specialty but i can't make her look and count as a Planeswalker (or Elementalist). Is it possible to do so?
____________
Not idly do the leaves of Lorien fall.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 25, 2011 05:30 PM |
|
|
|
Hero_of_Light
Responsible
Supreme Hero
|
posted August 25, 2011 06:02 PM |
|
|
Thanks! It worked.
I needed this in order to add a Conflux exceptional hero (same power as Gelu, Dracon etc). Since Mutare and Mutare Drake are the same i thought that i could make the one of them a Conflux supreme hero.
Thanks again
As for the Ghost Behemoths, how do i get rid of the answers twice ability?
____________
Not idly do the leaves of Lorien fall.
|
|
mister_kalu
Known Hero
|
posted August 26, 2011 03:15 AM |
|
|
hello... this is not a wog question. but i can not make a simple topic :S. in my mod I will change all sprites but there is a one type that i can not change with 100% of success... and the type is terrain.. with the "def tool", when you try to change this type.. for example a river type or simply the sea / water terrain.. the result is disastrous.. the sprites are immobile.. i don't know why but is very frustrating, including when you add to the lod the same sprites..in the same order.. you lose the image animation.. anybody knows the reason?
|
|
Kegolo
Promising
Famous Hero
of infamy
|
posted August 26, 2011 07:28 AM |
|
|
I'd just like to start off by saying my scripting skills are poor.
I want to do something (anything without an error right now) in battle when creature 206 is the current creature and I left click on another creature stack (that's dead). My script, which breaks, is
!?CM4;
!!CM:S?v891 D?v892; [Get type of click and position of click]
!?BG0; [Before each battle action]
!!BG:N?v894; [current creature stack]
!!BMv894:T?v893; [creature type to 893]
!!FU|v893<>206/v891<>12:E; [exit if not a 206]
!!BG:Ev892?v895; [Get stack at clicked position]
!!BMv895:T?v896; [Get type of creature clicked on]
What's wrong with my code? Thx in advance
|
|
Aleee
Known Hero
|
posted August 26, 2011 10:16 AM |
|
Edited by Aleee at 10:16, 26 Aug 2011.
|
You don't need to use !?BG0 here. All these actions happen after mouse click, so main part of the script should be executed after !?CM. I'm pretty sure that you can use !!BG:N in !?CM section, so you don't need that !?BG at all.
Also !!CM:S is used rarely, because it's a secondary information. It would be better to use !!CM:F first or instead.
Line !!BG:Ev892?v895; has incorrect syntax, but it doesn't matter since it makes no sense outside the !?BG trigger (where it should be). You probably mixed it up with !!BU:E and the syntax would be !!BUv892:E?v895;
I also suppose you'll need a check for !!CM:D result. If it's not within [0; 186] you'll get an error while checking type of a creature (cause there is no creature).
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 26, 2011 08:11 PM |
|
|
Please, who can show me how to change fire shield to mass spell?
damnt, I had an example by Bers but icq history got deleted
And if someone had the pleasure of getting endless crashes with DL, please tell me now to change hint txt for a def item inside a function.
!?FU300;
!!VRz1:S^Hint^;
!!DL10:H1/z1;
!?FU301;
!!VRz1:S^It will crash^;
!!DL10:H1/z1;
So far, setting hint txt in template will override any H$/# text. If text in template is left empty, the H$/# hint will display correctly but no way to change it later without instant crash.
Edit: solved second. You don't have to change hint show, but only z var stored text. The DL will read from first function.
____________
Era II mods and utilities
|
|
Kegolo
Promising
Famous Hero
of infamy
|
posted August 26, 2011 10:33 PM |
|
|
Quote: You don't need to use !?BG0 here. All these actions happen after mouse click, so main part of the script should be executed after !?CM. I'm pretty sure that you can use !!BG:N in !?CM section, so you don't need that !?BG at all.
Also !!CM:S is used rarely, because it's a secondary information. It would be better to use !!CM:F first or instead.
Line !!BG:Ev892?v895; has incorrect syntax, but it doesn't matter since it makes no sense outside the !?BG trigger (where it should be). You probably mixed it up with !!BU:E and the syntax would be !!BUv892:E?v895;
I also suppose you'll need a check for !!CM:D result. If it's not within [0; 186] you'll get an error while checking type of a creature (cause there is no creature).
Thanks, sadly still not working. Is there some special parameter or something for !!BU:D? I played a battle and scanned every position for dead creatures (which there were some) and it always returned -1. Does it even work? Sad face.
|
|
Aleee
Known Hero
|
posted August 26, 2011 10:54 PM |
|
Edited by Aleee at 23:00, 26 Aug 2011.
|
I used !!BU:D several times and it worked correctly.
You can check it with a script like this (right mouse click in battle):
!?CM4;
!!CM:F?y1 D?y2;
!!FU&y1<>0|y2>186:E;
!!BU:Dy2/?y3;
!!IF:M^Type: %Y3^;
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 26, 2011 11:02 PM |
|
|
|
|