|
|
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
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
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.
____________
Era II mods and utilities
|
|
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
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.
____________
Era II mods and utilities
|
|
Hero_of_Light
Responsible
Supreme Hero
|
posted August 09, 2011 02:13 PM |
|
|
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.
|
|
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)
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
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
____________
Era II mods and utilities
|
|
Hero_of_Light
Responsible
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 09, 2011 02:46 PM |
|
|
|
Hero_of_Light
Responsible
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 09, 2011 02:58 PM |
|
|
|
Hero_of_Light
Responsible
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.
|
|
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.
|
|
Hero_of_Light
Responsible
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.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
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.
____________
Era II mods and utilities
|
|
Hero_of_Light
Responsible
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.
|
|
Aleee
Known Hero
|
posted August 09, 2011 05:51 PM |
|
|
All available packages can be found here.
|
|
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...
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted August 10, 2011 07:04 AM |
|
|
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
____________
Era II mods and utilities
|
|
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
|
|
|