Heroes of Might and Magic Community
please log in.! Register | Today's Posts | Search! | FAQ/Rules | AvatarList | MemberList | Profile

<a href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes

Heroes 1 (Heroes 2 (Heroes 3 (Heroes 4 (Heroes 5 (Heroes 6 ()

Login:     Username:     Password:    
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: ERM help and discussion
Thread: ERM help and discussion [ This thread is 229 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 (84) 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 ]
mister_kalu
mister_kalu


Known Hero
posted August 09, 2011 07:45 AM

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 Online
Salamandre


Honorable
Undefeatable Hero
posted August 09, 2011 07:47 AM

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.
____________

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


Promising
Famous Hero
feanor on DF2.ru
posted August 09, 2011 07:52 AM

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 Online
Salamandre


Honorable
Undefeatable Hero
posted August 09, 2011 07:53 AM

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

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


Promising
Supreme Hero
posted August 09, 2011 08:13 AM
Edited by Hero_of_Light at 08: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 08:17 AM

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 Online
Salamandre


Honorable
Undefeatable Hero
posted August 09, 2011 08:33 AM

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
____________

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


Promising
Supreme Hero
posted August 09, 2011 08:45 AM

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 Online
Salamandre


Honorable
Undefeatable Hero
posted August 09, 2011 08:46 AM

Can you post a screen of what errors you get?
____________

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


Promising
Supreme Hero
posted August 09, 2011 08:49 AM

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 Online
Salamandre


Honorable
Undefeatable Hero
posted August 09, 2011 08:58 AM

Are you sure you use 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 09:34 AM

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 10:09 AM
Edited by OxFEA at 10: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 10:30 AM

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 Online
Salamandre


Honorable
Undefeatable Hero
posted August 09, 2011 10:32 AM

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.
____________

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


Promising
Supreme Hero
posted August 09, 2011 10:35 AM

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 11:51 AM

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 09, 2011 10:49 PM


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 Online
Salamandre


Honorable
Undefeatable Hero
posted August 10, 2011 01:04 AM
Edited by Salamandre at 01: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


____________

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


Known Hero
posted August 10, 2011 07:44 AM

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
[ This thread is 229 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 (84) 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 ] < Prev Thread . . . Next Thread >
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1909 seconds