~ 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
» [H3SW v0.8.2] Witch Hunt
Scripting option for hero defeat/running/surrender. Icon_minitimeby GodRage Yesterday at 22:56

» 5Kings1Ring
Scripting option for hero defeat/running/surrender. Icon_minitimeby GodRage Yesterday at 22:54

» Polskie powitanie
Scripting option for hero defeat/running/surrender. Icon_minitimeby rrravyn 2024-11-15, 09:53

» loading simplification
Scripting option for hero defeat/running/surrender. Icon_minitimeby badtoper 2024-11-15, 04:37

» Easier Troop Management Between Garrison and Hero in Town
Scripting option for hero defeat/running/surrender. Icon_minitimeby badtoper 2024-11-15, 04:05

» Improvements for Hero Management and Turn Confirmation
Scripting option for hero defeat/running/surrender. Icon_minitimeby badtoper 2024-11-15, 01:57

» [H3SW v0.8.2] Desert Isle
Scripting option for hero defeat/running/surrender. Icon_minitimeby Sir Albe 2024-10-31, 07:56

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
The Floody Land
Forum Admins Feed
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.2 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 : 44

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 : 289
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 : 44

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: