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 5 - Modders Workshop > Thread: ~ QUESTIONS Topic and FAQ - Modders Workshop ~
Thread: ~ QUESTIONS Topic and FAQ - Modders Workshop ~ This Popular Thread is 124 pages long: 1 2 3 4 5 ... 20 40 60 80 100 ... 120 121 122 123 124 · «PREV
Elvin
Elvin


Admirable
Omnipresent Hero
What if Elvin was female?
posted September 02, 2019 10:04 PM
Edited by Elvin at 22:06, 02 Sep 2019.

Is there a way to implement a script that gives ballista and tent to a hero that gets warmachines on level up? I know the script that gives warmachines but not how to set a specific condition for that.

Or alternatively.. A script that gives you 2500 gold if you get warmachine skill.

Also interested in a script that reduces your gold by 500 every day.
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

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


Responsible
Supreme Hero
disrupting the moding industry
posted September 03, 2019 07:42 AM

All of those are LUA scriptable. I would suggest to check Magno scripts what you need as functionality is there.
____________
Join our official discord channel | NCF Utility Beta

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


Admirable
Omnipresent Hero
What if Elvin was female?
posted September 03, 2019 09:17 AM

Yes but how would I set the condition, either start of day or after picking skill?
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

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


Responsible
Supreme Hero
disrupting the moding industry
posted September 03, 2019 10:55 AM

Check out this post.

- 500 gold reduction per day will be done with New day trigger.
- 2500 gold per picking skill - will be done on lvl up trigger ? or some kind of trigger that detects skills? Magno uses those to enrich certain skills.
- Give War Machinery on hero getting War Machine perk/skill - same as above
____________
Join our official discord channel | NCF Utility Beta

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


Admirable
Omnipresent Hero
What if Elvin was female?
posted September 03, 2019 11:57 AM

Perfect, just what I'm looking for Except I'm not modding 5.5, I hope the original works if I remove H55_ from the script.
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

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


Responsible
Supreme Hero
disrupting the moding industry
posted September 03, 2019 12:32 PM

You can open the MMH55 scripts and find that row and see what actual in-game commands are executed.
____________
Join our official discord channel | NCF Utility Beta

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


Honorable
Legendary Hero
modding wizard
posted September 03, 2019 12:32 PM

If you mod outside H55 (+ on map level) you can just use the regular NEW_DAY_TRIGGER, H55_TriggerDaily was a function I created to prevent 2 new day triggers overwriting each other, it won't exist outside h55.

Also check the manual there is also a HERO_LEVELUP_TRIGGER

and in 3.1 toe there is also, see thread 'undocumented script fucntions'

New triggers: HERO_ADD_SKILL_TRIGGER, HERO_REMOVE_SKILL_TRIGGER, parameters for event handlers: heroName, skill, mastery
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Admirable
Omnipresent Hero
What if Elvin was female?
posted September 03, 2019 01:29 PM

Perfection, thanks!
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

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


Admirable
Omnipresent Hero
What if Elvin was female?
posted September 11, 2019 03:49 PM

Something that has long been on my mind, does anyone know what <SpellInitiative>10</SpellInitiative> is about?

I had a suspicion that it worked similarly to sorcery but neither a high nor a low value seems to affect the hero initiative when casting spells.
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

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

Tavern Dweller
posted September 11, 2019 04:25 PM
Edited by Esto100nec1 at 16:27, 11 Sep 2019.

Animation
Animation

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


Honorable
Legendary Hero
modding wizard
posted September 11, 2019 05:36 PM
Edited by magnomagus at 17:43, 11 Sep 2019.

@Elvin: another dead value

@Esto100: cool, you could make alternative 'garden of the wee folk'

Just in case you are bored, I'm interested in missing animations for 'Beatrice' model, walking, casting, dying etc. For new creature 'nun/sister'.
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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

Tavern Dweller
posted September 11, 2019 09:45 PM

magnomagus Need to move forward. So far, there are no such plans.

The process of importing, exporting animations
https://youtu.be/HT1pHopE6pk

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


Admirable
Omnipresent Hero
What if Elvin was female?
posted September 11, 2019 11:29 PM

Have to say though, amazing work
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 124 pages long: 1 2 3 4 5 ... 20 40 60 80 100 ... 120 121 122 123 124 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0951 seconds