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


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
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
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: How do I create some skill modification in WOG
Thread: How do I create some skill modification in WOG
Orc
Orc


Famous Hero
posted February 25, 2015 01:00 AM
Edited by Orc at 01:01, 25 Feb 2015.

How do I create some speciality modification in WOG

hello guys,

so what im wanting to do is the following:

I want to slightly change some of the hero specialties (specialized in specific unit)

I want it to be something like:
20% of attack and defense X (hero level/unit level)

ofcourse i want one exception for that, being the skeletal guys

10% of attack and defense X Hero level (ofc divided by 1)
I might make another exception for dungeon thing 1st guy.

so, you can help me do that? is there a way I can do it with my wog or I have to download another program or make some kind of script? (sorry tottally noob in this stuff never tried wogging around yet)

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


Admirable
Omnipresent Hero
Wog refugee
posted February 25, 2015 03:57 AM

You need to manually script each hero, it's long work + testing and requires advanced erm coding.

Orc said:
(ofc divided by 1)


I doubt dividing by 1 changes anything.
____________
Era II mods and utilities

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


Famous Hero
posted February 25, 2015 04:28 AM
Edited by Orc at 04:30, 25 Feb 2015.

why I have to manual script it? isnt it already something like...
5% X hero level / creature level?
so we just make the 5% 20%?


ofc divide by change nothing, that why creature lvl vanished XD
_________________
Edit:
also,
if i still have to script, how? i think i can handle that, but where to learn this scripting?
_________
edit:
also thanks for quick reply

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


Responsible
Supreme Hero
posted February 25, 2015 05:31 PM

Quote:
I doubt dividing by 1 changes anything.


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


Famous Hero
posted February 25, 2015 09:58 PM

I think i cought something while browsing. the script used to make wog stuff is "ERM scripter" yes?

i think ill have to find that somewhere download and try it. (and also increase post count to can start new thread lol)

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


Legendary Hero
posted February 27, 2015 07:54 AM

Orc said:
the script used to make wog stuff is "ERM scripter" yes?


Look in Era folder > mods > wog > data > s for script039 "heroes specialization boost". At least you get an idea of how to do what you want.

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

Hero of Order
Li mort as morz, li vif as vis
posted February 27, 2015 11:39 PM

Hello,
To avoid creating another thread I would like to ask something here.
I would like to know if there is an option for the Commander Can Shoot ability, to make him choose whether according to the situation he prefers to shoot or go melee (in example by pressing control arrow symbol becomes sword)?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted February 28, 2015 06:02 AM

For every shooting/attack and return creature you can choose the way it attacks by right-clicking on defend icon (bottom bar), then select option.
____________
Era II mods and utilities

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


Famous Hero
posted February 28, 2015 07:20 AM
Edited by Orc at 07:24, 28 Feb 2015.

I got erm scripter 1.2.2.7

turns out this erm script aint as easy as i though. many caracters dont make much sense to me but i think it is here: wait where is hidden tag lol

[hidden]
!!BMx1&x5<>1:Sd1;                      //speed +1
!!MA:Px2/?v433;                        //hitpoints bonus percentage = 12 + 3 * herolevel
!!VRv433:*w30:100;
!!BMx1:Hdv433;
!!MA:Ax2/?v433;                        //attack for each specified monster = Standard+HeroBonus+CleanHeroBonus
!!HEx1&w31<0:F?y10/d/d/d/1; get hero's  basic  attack [DEBUGGING]
!!HEx1&w31<0:F?y11/d/d/d;   get hero's current attack [DEBUGGING]
!!IF&w31<0:M^{DEBUG INFORMATION - FU852}
Hero #%X1 gave negative attack bonus to the creatures, now compensated.^;
!!VRw31&w31<0:Sy10 +y11;    set correct w31 instead   [DEBUGGING]
!!VRv433:+x3+w31;
!!BMx1:Av433;
!!MA:Dx2/?v433;                        //defense
!!VRv433:+x4+w32;
!!BMx1:Dv433;

[/hidden]





anyway, I was thinking I'll have a look at other scripts too (I want to see how they changed resistance and armorer to 20% and 30% that should be simpler. is there some place where it is listed all instead of having to go through them all? (ill have a search now)





Galaad said:
Hello,
To avoid creating another thread I would like to ask something here.
I would like to know if there is an option for the Commander Can Shoot ability, to make him choose whether according to the situation he prefers to shoot or go melee (in example by pressing control arrow symbol becomes sword)?


why not? openning thread shouldnt be problem XD

Edit:
Ok found them, the first script script00 shows list of all screpts

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

Hero of Order
Li mort as morz, li vif as vis
posted February 28, 2015 11:24 AM

@Salamandre: Thanks
____________

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


Promising
Supreme Hero
Researching Magic
posted February 28, 2015 03:23 PM

Orc said:
I got erm scripter 1.2.2.7

anyway, I was thinking I'll have a look at other scripts too (I want to see how they changed resistance and armorer to 20% and 30% that should be simpler. is there some place where it is listed all instead of having to go through them all? (ill have a search now)




there is a part in ERM Help file tutorial (beginner oder advanced; cant remember) how to change the values, somewhere down the list. There are two ways. I used the simpler but more unstable one: You can give socerey the values of logistic for example. you have to look up in the table. the script i modified was "improved secondary skills" or something like that. good luck

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0447 seconds