~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» [EN, RU][Offline] HoMM1 Tournament of the Landless 2017 (Турнир Безземельных)
by Orzie 2017-08-17, 01:32

» How autoborder/autofixer works...
by Unknown_Hero 2017-08-15, 23:31

» Navigation secondary skill - Too short to disembark
by Unknown_Hero 2017-08-13, 22:08

» [EN, RU][Offline] HoMM1 Trade Guild Tourney 2017 (Турнир Торговой Гильдии)
by Orzie 2017-08-12, 16:27

» Happy Birthdays and Congrats!
by Dr Slash 2017-08-10, 11:10

» The Symphony of Heroes - Paul Romero with ochestra concert
by Sir Albe 2017-08-10, 04:08

» Change to the Arena (PoL)
by Unknown_Hero 2017-08-08, 22:07

Poll
"Wait" in HoMM2?
Yes
80%
 80% [ 44 ]
No
20%
 20% [ 11 ]
Total Votes : 55
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
H3SW Recruitment Point - Enroth Needs You!
Серия книг "Земли Меча и Магии"
Heroes of Might and Magic 3: The Succession Wars - General info

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 : 167
Quality Points : 30
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
 
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: