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: [Wake of Gods] - Introduction/Modding/Scripting
Thread: [Wake of Gods] - Introduction/Modding/Scripting This thread is 33 pages long: 1 10 ... 17 18 19 20 21 ... 30 33 · «PREV / NEXT»
fanofheroes
fanofheroes


Famous Hero
posted November 10, 2011 10:40 PM

Sorry.  But I did figure out how to modify it to the opponents.  Trial and error

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


Famous Hero
posted November 13, 2011 07:36 PM

K so I'm coming along with my learning how to ERM.  But the learning curve is still there. lol.  I made an artifact that increases movements, and so far I have it working, except it only boosts the heroe's movement when the artifact is equipped.  

Now I can figure out that it's the "AE" lines that dictate that the bonus is given only when the artifact is mounted and removed, but how can I change it so that it works like the boots of speed so that the bonus arrives at the beginning of the day? Will I need a timer thing like TM?

!?AE1&v998=170;
!!HE-1:W10000;

!?AE0&v998=170;
!!HE-1:W-10000;

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 07:40 PM
Edited by Salamandre at 19:41, 13 Nov 2011.

This kind of artefact is dead end, I would not use it this way. Imagine that your hero spends all his movement points, equips the artefact, gets 10k more. He spends them, unequips and equips again. He will never stop.

Use a timer who checks who has this artefact on. Give 10k points once, every day (if equipped). Remove all !?AE checks.
____________
Era II mods and utilities

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


Famous Hero
posted November 13, 2011 08:06 PM


Ok I wasn't sure with the timers, but from what I got by Knollkings' example I strung together this.  No surprise that this code is crashing what i have lol, but what am I still missing?

!#TM1:S1/999/1/255;

!?TM1; Timer 1
!!OW:C?v2; Get current player
!!OW:Wv2/10000; Give 10k movement
!!TM1:Ev3; Enable timer 1 to current player
!!TM1v3; Disable timer 1 to current player

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 08:22 PM

Buh, I doubt GnollKing did such errors.

ZVSE

;artefact 170 gives +10000 mv points
!#TM1:S1/999/1/1; red player, every day
!?TM1;
!!DO1/0/155/1:P;
!?FU1;
!!HEx16:A2/170/?y1/?y2;
!!FU&y2<1:E;
!!HEx16:Wd10000;

____________
Era II mods and utilities

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


Famous Hero
posted November 13, 2011 08:26 PM

Indeed! the errors are mine.  I just was trying to figure out the concept using his model.  

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


Famous Hero
posted November 13, 2011 08:50 PM

oh wow, so that code just sends me on a never ending loop playing a game before the scenario begins.  Was this accidental or a cheap shot at my ignorance for erm knowledge? lol

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 08:51 PM

Should not, there is no red player in your map? Change it to an existing player color then.
____________
Era II mods and utilities

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


Famous Hero
posted November 13, 2011 08:54 PM

I read on pg 4 of this link, that if you have it at 255 it will apply to all the players correct?

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 08:58 PM

yes.
____________
Era II mods and utilities

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


Famous Hero
posted November 13, 2011 09:01 PM

the same thing occurs.  Before the scenario begins, it prompts me to play a game called: Claim your stake.  

Is there anther method go about the same way? the approach i had before was ok except for the unlimited movements.  Can I not put the timer with that code?

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 09:11 PM

Do you wogify the map?
____________
Era II mods and utilities

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


Famous Hero
posted November 13, 2011 09:17 PM

When it asks me, I prompt it yes.  I have other codes working together though.  several for artifacts, one for creatures, and one for a hero.

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 09:19 PM

So you wogify and keep my example script where FU1 and timer 1 are used... they are used in many things if wogified, so they overlap. Change.
____________
Era II mods and utilities

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


Famous Hero
posted November 13, 2011 09:28 PM

the same thing occurs.  this is what I have altered:

ZVSE

;artefact 170 gives +10000 mv points
!#TM15:S1/999/1/255; red player, every day
!?TM15;
!!DO1/0/155/1;
!?FU15;
!!HEx16:A2/170/?v1/?v2;
!!FU15&v2<1:E;
!!HEx16:Wd10000;

should i change the DO1 to something else as well?

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


Admirable
Omnipresent Hero
Wog refugee
posted November 13, 2011 09:32 PM
Edited by Salamandre at 21:32, 13 Nov 2011.

ZVSE

;artefact 170 gives +10000 mv points
!#TM66:S1/999/1/255;
!?TM66;
!!DO3577/0/155/1:P;
!?FU3577;
!!HEx16:A2/170/?y1/?y2;
!!FU&y2<1:E;
!!HEx16:Wd10000;

____________
Era II mods and utilities

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


Famous Hero
posted November 13, 2011 09:39 PM

Excellent! thank you Salamandre!

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


Famous Hero
posted November 14, 2011 04:00 AM

If I may make one request, since this comes so natural to you Salamandre, can I impose on the answers of just 2 more questions on the codes, and if you can write them? I can't find answers to them in any other postings and it's hard to narrow the search parameters   this erm stuff is addicting lol  I promise I won't have any more questions for a while after

1) I want to make an artifact like the shield of retribution, but add unlimited retaliations and retaliations among creatures that don't get retaliated on.

2) The last artifact I want to adopt the properties of the elixir of life, but add 50% health, along with complete regeneration.

BTW I just saw your "300" map, and let's just say compared to my map that I'm building, you make mine look like a chess board lol!!  

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


Admirable
Omnipresent Hero
Wog refugee
posted November 14, 2011 10:14 PM

I will wholeheartedly help you to get those artefacts, once you post the scripts you made about. Maybe one day someone will create a thread "gimme script" but right now is "introduction to modding" or "ERM help".
____________
Era II mods and utilities

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


Famous Hero
posted November 14, 2011 11:20 PM

hahaha it was worth a try. kk i'll see what I can work on!!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 33 pages long: 1 10 ... 17 18 19 20 21 ... 30 33 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0893 seconds