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


Age of Heroes Headlines:  
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
13 Oct 2015: Negative Reception of the Game, 2nd Patch Delayed - read more
29 Sep 2015: Heroes VII is Released, together with Bastion MOD for VCMI! - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info 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 308 pages long: 1 40 80 ... 82 83 84 85 86 ... 120 160 200 240 280 308 · «PREV / NEXT»
mister_kalu
mister_kalu


Known Hero
posted August 09, 2011 01:45 PM

Quote:
2) can i change the penalties percent on a terrain? swamp 175% to 200% or 75%?.. thanks


zvse

63E510+<terrain number*16>+<pathfinding skill*4> --> incomplete information .. :/

!!VRy1:S1; --sand
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile


the first scripts works. thanks

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


Admirable
Undefeatable Hero
posted August 09, 2011 01:47 PM

Quote:
I did paste it and it didn't work. It showed me a bunch of ERM script crashes and then into the game, there was no wogification done.



I think this is your problem. If no wogification prohibited, you will get all superfluous "!!!" from all DATA/s scripts, as ERA threats them as errors, and the list is quite long. But the script still works.

@OxFea: seems your wrong digit did not affect at all the script. It worked.
____________
All my Era II mods

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


Promising
Famous Hero
feanor on DF2.ru
posted August 09, 2011 01:52 PM

Quote:

@OxFea: seems your wrong digit did not affect at all the script. It worked.

But, if you try to use it on Cleric/Ranger/etc - it will not work without fix.

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


Admirable
Undefeatable Hero
posted August 09, 2011 01:53 PM

Ok thanks. Did you know that "AUTOSAVE" is assigned to z1 if no condition required? I got Level 2 AUTOSAVE if nothing to z1.
____________
All my Era II mods

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


Promising
Supreme Hero
posted August 09, 2011 02:13 PM
Edited by Hero_of_Light at 14:14, 09 Aug 2011.

Nope, still doesn't work. I pasted it on various places on script 67 but it still crashes and no wogification takes place.

But the level up message still shows the original rank message. Is there a way to change this as well?

I don't actually but i guess it's not a big deal. You can always leave the classes as they currently are (Knights, Clerics etc) and name the variation as ranks:

For instance you can have Gelu the Ranger (his class) and in the hero screen have Gelu the Forest Guard (his rank according to his experience points). He will still be a ranger, but a Forest Guard as well. But anyway, i don't seem to be able on making it work so... If you like the idea feel free to use it.

As for the sea creatures they are:

21, 121, 123, 151, 167, 170, 171.
____________
Not idly do the leaves of Lorien fall.

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


Promising
Famous Hero
feanor on DF2.ru
posted August 09, 2011 02:17 PM

Quote:
Ok thanks. Did you know that "AUTOSAVE" is assigned to z1 if no condition required? I got Level 2 AUTOSAVE if nothing to z1.

z1 is variable for temporary storage. So, it can contains different garbage.

If you want use any other z-var, replace 9597928 with 9597928+(z_num-1)*512 (e.g. 9598440 for z2)

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


Admirable
Undefeatable Hero
posted August 09, 2011 02:33 PM

ZVSE

!?BA0;
!!BA:P?y1/?y2/?y3;
!!TRy1/y2/y3:T?y4/d/d/d/d/d/d/d;
!!FU&y4<>8:E; exit if not water
!!IF:V50/1;

!?BR&50;
!!DO100/0/41/1:P;
!!IF:V50/0;

!?FU100;
!!BMx16:T?y1;
!!FU&y1<>21/y1<>121/y1<>123/y1<>151/y1<>167/y1<>170/y1<>171:E; exit if not water creatures
!!BMx16:Sd1; increase speed by 1
____________
All my Era II mods

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


Promising
Supreme Hero
posted August 09, 2011 02:45 PM

Yep, worked like a charm. Thanks a bunch.

If you find another way of changing a specific hero class please post. I don't know why it doesn't work, maybe it needs something more to it.
____________
Not idly do the leaves of Lorien fall.

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


Admirable
Undefeatable Hero
posted August 09, 2011 02:46 PM

Can you post a screen of what errors you get?
____________
All my Era II mods

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


Promising
Supreme Hero
posted August 09, 2011 02:49 PM

It's the whole script OxFEA posted. The message is shown before the wogification and so it is skipped altogether.
____________
Not idly do the leaves of Lorien fall.

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


Admirable
Undefeatable Hero
posted August 09, 2011 02:58 PM

Are you sure you use ERA?
____________
All my Era II mods

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


Promising
Supreme Hero
posted August 09, 2011 03:34 PM

Yes, v1.8.

In the Loading screen there is this message:

ERM Syntax Error
Reason
I?FU: Wrong function index (1...30000)

And then Erm has wrong syntax, disabled and shows the whole section of the script that has what Oxfea posted. Then it starts the map but it isn't wogified at all.

Anyway, it's no big deal, it would be a nice touch that's all.
____________
Not idly do the leaves of Lorien fall.

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


Promising
Famous Hero
feanor on DF2.ru
posted August 09, 2011 04:09 PM
Edited by OxFEA at 16:11, 09 Aug 2011.

Quote:
ERM Syntax Error
Reason
I?FU: Wrong function index (1...30000)

So, it is not ERA. Or at least wrong installed ERA.

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


Promising
Supreme Hero
posted August 09, 2011 04:30 PM

Yes you're right. I tried it on a new WOG+ERA and it worked. It seems that the old one in my computer has many carbage in it

However, if it only works on ERA then i'll only use it in the Standalone version.

@Salamandre
Is the +1 speed bonus for sea creatures apliable on ERA only too?
____________
Not idly do the leaves of Lorien fall.

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


Admirable
Undefeatable Hero
posted August 09, 2011 04:32 PM

ERA is same as 3.58 except a few new commands. Everything from 3.58 will work in ERA, not everything from ERA in 3.58.
____________
All my Era II mods

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


Promising
Supreme Hero
posted August 09, 2011 04:35 PM

Yes i know, but is the speed bonus compatible with old WOG as well? Because as i said i have only WOG+ERA installed on my computer. The name changing command must not work because i changed many scripts around. Incidentaly, can you post a link with the latest ERA edition? I searched on the original thread but didn't find any.
____________
Not idly do the leaves of Lorien fall.

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


Known Hero
posted August 09, 2011 05:51 PM

All available packages can be found here.

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


Known Hero
posted August 10, 2011 04:49 AM


63E510+<terrain number*16>+<pathfinding skill*4>

!!VRy1:S1; --sand
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile

doesn`t work.. cause i don`t know what is the command before the 63e510...

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


Admirable
Undefeatable Hero
posted August 10, 2011 07:04 AM
Edited by Salamandre at 07:09, 10 Aug 2011.

There is no such command, just use it as it is and change the 100 value to your liking:

ZVSE

!?PI;
!!VRy1:S3; --snow
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile

!!VRy1:S4; --swamp
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile

!!VRy1:S5; --rough
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile


____________
All my Era II mods

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


Known Hero
posted August 10, 2011 01:44 PM

Quote:
There is no such command, just use it as it is and change the 100 value to your liking:

ZVSE

!?PI;
!!VRy1:S3; --snow
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile

!!VRy1:S4; --swamp
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile

!!VRy1:S5; --rough
!!VRy2:S0; --none pathfinding
!!VRy3:Sy1 *4 +y2 *4 +6546704;
!!UN:Cy3/4/100; --100 movepoints per tile




didn't work, maybe fault something.. before PI i don`t know :/.. thanks

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 308 pages long: 1 40 80 ... 82 83 84 85 86 ... 120 160 200 240 280 308 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.6245 seconds