~ 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 0.8.2] Spicy Delivery
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitimeby DanilaRud015 2024-07-25, 23:37

» ...to XP run...
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitimeby Darmani 2024-07-18, 21:34

» fheroes2 General Announcements
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitimeby sirDranik 2024-07-15, 00:28

» Silence of the Siren (HoMM like scifi game)
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitimeby Sir Albe 2024-07-13, 08:09

» Songs of Silence (HoMM like game)
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitimeby Blake01 2024-07-07, 21:12

» Lego Heroes of Might & Magic
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitimeby Blake01 2024-07-07, 21:00

» 5Kings1Ring
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitimeby GodRage 2024-07-01, 10:33

Poll
Global announcements should be:
Everlasting, 1 for each project.
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Redbar110%[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Redbar11100%[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Redbar110%[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions 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.2 Beta

 

 [Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions

Go down 
AuthorMessage
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 780
Quality Points : 78
Registration Date : 2015-09-06

[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Empty
PostSubject: [Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions   [Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitime2018-09-26, 07:51

***** Updated on December 08, 2018 *****

This script is now part of the Unknown Mod.
See this thread: [Unknown Mod] General Informations

**********

I wanted to make shrines of "better strategic locations" on the adventure map, by making them restore magic points when visited.
That's what they do now with this script, and at the same time, the hero can buy a magic book at any shrine if he does not have one.

***** Updated on October 04, 2018 *****

I added tweaks to some secondary skills (what is possible, for now, with Project Ironfist tool).
I added the possibility to "forget" the secondary skill learned at any witch's hut.

All is not perfect, for example, the hero must leave the square where the witch's hut is located to decide whether or not to keep the secondary skill he has just learned, but it is not possible to do otherwise with what is available for now with the Project Ironfist tool.

Nevertheless, I encounter some problems with this script.
First, the "shrineVisitedWeek" and "secondarySkillLevel" tables are not saved in the save file, I do not know if it should work in this version of the program.
Second, the script is designed to work globally with all heroes (and even AI heroes), but that does not seem to work, AI heroes do not fill the "shrineVisitedWeek" table when they visit a shrine.
I'd like to know more about this, how is it handled now, because I'd like AI heroes to also get the bonus when they visit a shrine.

If Darmani or someone from the team could tell me about it, that would be nice. Very Happy

Download - GitHub: See this thread: [Unknown Mod] General Informations

--  This script has been tested with Ironfist version 1.3.0
--  Script Name: _MapName.MX2.lua (temp)
--  Script version: v0.3 - 20181004 (temp)
--  Map Name: _MapName.MX2 (temp)
--  Author: Unknown_Hero (LeHerosInconnu on GitHub)

--  Description:
--  This script is designed to work in a global way with any scenario.  Since Project Ironfist does not yet support global scripts, you will have to rename this script with the name of the scenario each time you want to play another scenario, for example, rename "_MapName.MX2.lua" to "ENROTH.MP2.lua" to use the script with ENROTH scenario.
--  I suggest you play on small maps at the moment because the autosave time is too long and hard to bear.

--  What it does:
--  The hero without Magic Book can buy one at any shrine.
--  Once a week, the hero recovers some spell points when he visits a shrine.
--  Tweaks: Mysticism gives additional spell points each day on the adventure map and at the start of each combat.
--  Tweaks: Navigation also generates gold every turn.
--  Tweaks: Basic Estates, small adjustment to stay better than Basic Navigation.
--  The hero can choose whether or not to keep the secondary skill he learns at any witch's hut when he leaves it.

--  Problems encountered:
--  The table "shrineVisitedWeek" is not saved in the save file.
--  The table "shrineVisitedWeek" is not filled by the heroes controlled by the AI player (if the two players are controlled by human players, it works fine).
--  The table "secondarySkillLevel" is not saved in the save file.

--  Questions:
--  How to make "Advanced Message Box" work like "Question Box"?
--  Do heroes controlled by the AI player get the same bonuses (they don't fill the table)?

--  Settings:
--  All options are enabled by default and can be turned off individually, set to "0" to turn the option off.
--  You can also change the values at your convenience.
Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 780
Quality Points : 78
Registration Date : 2015-09-06

[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Empty
PostSubject: Re: [Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions   [Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions Icon_minitime2018-12-09, 10:34

***** Updated on December 08, 2018 *****

This script is now part of the Unknown Mod.
See this thread: [Unknown Mod] General Informations
Back to top Go down
 
[Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions
Back to top 
Page 1 of 1
 Similar topics
-
» [Unknown Mod] Changes to the Secondary Skills, and new Secondary Skills
» secondary skills table
» [Feature requests] New Secondary Skills
» [Ironfist ver 0.8.4] Name of Spell replaced by "(null)" in Shrines
» [Ironfist ver 1.2.1] Sorrow's End script

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 :: Modding and Mapmaking-
Jump to: