~ 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 ~

The Enroth diehard fan community
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Songs of Conquest
Scripting option for hero defeat/running/surrender. Icon_minitimeby Blake01 2024-04-07, 15:14

» ...to XP run...
Scripting option for hero defeat/running/surrender. Icon_minitimeby CATMAN 2024-03-30, 03:16

» WARNING - The dreaded moment is here: Heroes 6 servers shutting down
Scripting option for hero defeat/running/surrender. Icon_minitimeby Blake01 2024-03-29, 23:04

» Songs of Silence (HoMM like game)
Scripting option for hero defeat/running/surrender. Icon_minitimeby Blake01 2024-03-27, 16:52

» Heroes Orchestra's 5th Birthday concerts with Paul Romero
Scripting option for hero defeat/running/surrender. Icon_minitimeby rrravyn 2024-03-23, 22:45

» fheroes2 General Announcements
Scripting option for hero defeat/running/surrender. Icon_minitimeby sirDranik 2024-03-17, 23:35

» Photo Gallery
Scripting option for hero defeat/running/surrender. Icon_minitimeby Sir Albe 2024-03-07, 06:57

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
Introduce yourself
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Forum Admins Feed
The Floody Land
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.1 Beta

 

 Scripting option for hero defeat/running/surrender.

Go down 
2 posters
AuthorMessage
Steven Aus
Elf
Elf
Steven Aus


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

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 : 288
Quality Points : 47
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 : 43

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
 Similar topics
-
» Ability to deny running and/or surrender to customized AI and human heroes.
» [Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero
» Commander-esque option for Project Ironfist such as Gladiator/Gladiator Aspect.
» Scripting Maps
» Scripting enhancements

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: