~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Immortal Realms: Vampire Wars (HoMM like game)
Scripting option for hero defeat/running/surrender. Icon_minitimeby Unknown_Hero 2020-09-22, 19:35

» A few simple suggestions for 0.8.2
Scripting option for hero defeat/running/surrender. Icon_minitimeby Sibernethy 2020-09-22, 11:01

» They talked about fheroes2!
Scripting option for hero defeat/running/surrender. Icon_minitimeby sirDranik 2020-09-13, 02:51

» GoG Homm2 vs fheroes2 comparison review
Scripting option for hero defeat/running/surrender. Icon_minitimeby sirDranik 2020-09-11, 01:19

» Resurrection of fheroes2 with 0.8 version
Scripting option for hero defeat/running/surrender. Icon_minitimeby Tibor0803 2020-09-08, 06:32

» [Enhancement] Enhancement for the information displayed when the player right clicks on an object
Scripting option for hero defeat/running/surrender. Icon_minitimeby sirDranik 2020-09-07, 20:45

» Free Heroes of Might and Magic II (fheroes2) General Announcements
Scripting option for hero defeat/running/surrender. Icon_minitimeby ihhub 2020-09-05, 02:34

Poll
Global announcements should be:
Everlasting, 1 for each project.
Scripting option for hero defeat/running/surrender. Redbar110%Scripting option for hero defeat/running/surrender. Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
Scripting option for hero defeat/running/surrender. Redbar11100%Scripting option for hero defeat/running/surrender. Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
Scripting option for hero defeat/running/surrender. Redbar110%Scripting option for hero defeat/running/surrender. Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Heroes III: The Succession Wars v0.8.1 Beta
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
Project Ironfist announcements
Introduce yourself
Welcome fellow Enrothians!

 

 Scripting option for hero defeat/running/surrender.

Go down 
AuthorMessage
Steven Aus
Elf
Elf
Steven Aus

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

Scripting option for hero defeat/running/surrender. Empty
PostSubject: Scripting option for hero defeat/running/surrender.   Scripting option for hero defeat/running/surrender. Icon_minitime2015-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
Darmani

Messages : 280
Quality Points : 45
Registration Date : 2014-12-27

Scripting option for hero defeat/running/surrender. Empty
PostSubject: Re: Scripting option for hero defeat/running/surrender.   Scripting option for hero defeat/running/surrender. Icon_minitime2015-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
Steven Aus

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

Scripting option for hero defeat/running/surrender. Empty
PostSubject: Re: Scripting option for hero defeat/running/surrender.   Scripting option for hero defeat/running/surrender. Icon_minitime2015-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




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

Back to top Go down
 
Scripting option for hero defeat/running/surrender.
Back to top 
Page 1 of 1

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: