~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Cyborg: Graphics
by Ragoon Yesterday at 15:10

» Ragoon's Graphics For HoMM3SW
by Orzie Yesterday at 07:29

» H3SW: Adventure Map Objects
by Orzie Yesterday at 00:52

» Cyborg: Faction Lineup
by Morglin 2017-12-10, 13:10

» H3SW: Dwelling Development
by Orzie 2017-12-09, 05:49

» H3SW: General Graphics discussion
by Loom 2017-12-05, 07:26

» H3SW: Fonts and palettes
by Orzie 2017-12-03, 08:32

Poll
"Wait" in HoMM2?
Yes
80%
 80% [ 49 ]
No
20%
 20% [ 12 ]
Total Votes : 61
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW: Dwelling Development
H3SW Map List: Work in progress
Dervish Faction General Concept
Enrothian Fan Art
Commanders?
H3SW Recruitment Point - Enroth Needs You!
Серия книг "Земли Меча и Магии"

Share | 
 

 Scripting option for hero defeat/running/surrender.

View previous topic View next topic Go down 
AuthorMessage
Steven Aus
Elf
Elf
avatar

Messages : 108
Quality Points : 38
Registration Date : 2015-07-21
Age : 37

PostSubject: Scripting option for hero defeat/running/surrender.   2015-08-08, 00:37

A custom scripting option to intercept hero defeats/running/surrender and then decide what happens.
Back to top Go down
Darmani
Master Modder
Master Modder
avatar

Messages : 175
Quality Points : 32
Registration Date : 2014-12-27

PostSubject: Re: Scripting option for hero defeat/running/surrender.   2015-08-08, 10:10

This sounds interesting. What exactly did you have in mind for "And then decide what happens?" Having the hero lose gold as a penalty? (easy) Having the hero appear elsewhere? (medium) Having them fail to retreat and the battle continuing? (hard)
Back to top Go down
Steven Aus
Elf
Elf
avatar

Messages : 108
Quality Points : 38
Registration Date : 2015-07-21
Age : 37

PostSubject: Re: Scripting option for hero defeat/running/surrender.   2015-08-08, 11:27

Well, for running and surrendering the hero could appear at the nearest town (or castle only) that is not the current siege location. Loss of resources or mana could work too, even loss of morale and/or luck for the next battle - HOMM2 supports bad luck from visiting the Pyramid when it has already been visited for example.

For defeat, the hero could be removed from the map and hero pool entirely (permanent death, but only for customized heroes, so you don't get the problem of having a standard hero die in one map of a campaign and then appearing in the next). And yes, if you wanted to you could use this as a way of blocking running or surrender, but it would have to be able to apply to both human and AI players. Not sure if this would be better as scripting or as a map option to block certain options for getting out of a battle for certain or all heroes.
Back to top Go down
Sponsored content




PostSubject: Re: Scripting option for hero defeat/running/surrender.   

Back to top Go down
 
Scripting option for hero defeat/running/surrender.
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Running out of milk - help!
» 3 Month Old running out of mama's milk!
» David Cameron suffers stinging defeat over Europe
» VULTURE FUND SUFFERS LEGAL DEFEAT
» James Connolly: A Working Class Hero

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Feature Requests!-
Jump to: