Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > MapHaven Guild > Thread: H6 map editor - triggers - questions & answers
Thread: H6 map editor - triggers - questions & answers This thread is 3 pages long: 1 2 3 · «PREV / NEXT»
natalka
natalka


Supreme Hero
Bad-mannered
posted April 20, 2013 08:44 PM

Thanatoeil, thx for your immense help. I will put u a video showing all the triggers u helped me with

Is it possible to check faction of hero that is hired? My new idea is to have 1 hero with native army and one with another faction and if u buy a third one then i will be without army.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted April 21, 2013 03:15 PM

Faction of hired hero

Here is a script giving the faction number of hired hero. But it only works if the hired hero is in the garrison side of the town.


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
natalka
natalka


Supreme Hero
Bad-mannered
posted May 02, 2013 05:12 PM

I want to recreate dwelling that let`s u choose between 1 att and 1 def. I put 2 dwellings next to each other and want to remove the one when u choose the other. I can write the script but when the dwelling is removed the game freezes...

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted May 07, 2013 02:04 PM

natalka, maybe I can find why the script doesn't work, but I need your map to investigate (or a test map containing your script).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
niven
niven


Hired Hero
Lord Niven(cz)
posted May 09, 2013 11:00 PM

Hello,
I would like to ask if anyone knows how to change the hero's biography. Then I had not come and it's quite important.
Thanks for the answer

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
natalka
natalka


Supreme Hero
Bad-mannered
posted May 10, 2013 05:39 PM

Finally, I uploaded a video about my map and all the scripts you helped me with. Thanks Thanatoeil.

http://heroescommunity.com/viewthread.php3?TID=38949

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted May 12, 2013 05:31 PM

@Niven,
as far as I could see in the map editor :
- the hero's properties (EntityProperties) allow only to custom name and portrait,
- there is no script function that can be used to custom hero's biography.
So, in my opinion, there is no way to change biography in the map editor.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
niven
niven


Hired Hero
Lord Niven(cz)
posted May 13, 2013 07:12 AM

It is quite sad. I came pretty much everything, but this they could add.
Thanks for the answer

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
natalka
natalka


Supreme Hero
Bad-mannered
posted May 20, 2013 03:58 PM

Do you know If I can ban certain skills in the editor?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted May 20, 2013 06:19 PM

Unfortunately, I didn't find the solution.
I tried following functions, without result :
- Toggle_HeroAbilityRef (with various parameters),
- DisableHeroSpell,
- Scenario_DisablePackAbility.

My turn to have a question.
Is it possible to limit the number of heroes a player can hire ?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
natalka
natalka


Supreme Hero
Bad-mannered
posted May 20, 2013 06:28 PM

Maybe if we find something to crash the game then you can limit number of heroes and I can ban skills.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted May 21, 2013 01:46 PM

How to copy/paste script

Here is the way to copy/paste script in the scripts list (as ctrl-c/ctrl-v are inoperative).

1-Press the ctrl-key
2-Select the script
3-Drag and drop the script

The script is now duplicated.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
natalka
natalka


Supreme Hero
Bad-mannered
posted June 01, 2013 03:32 PM

How do you make the underground so dark like in campaign maps?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted June 02, 2013 02:18 PM

natalka, I took me something like one hour to understand how to set the light (many thanks to Ubisoft and its super user-friendly editor and help tools ), but I found the solution.

But as it is not linked to trigger editing, I wrote the explanations in a new thread : H6 map editor - light settings

I hope it will help you.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
niven
niven


Hired Hero
Lord Niven(cz)
posted June 07, 2013 05:07 PM

Czechs working on five scenarios for the h6. We finished 3 maps, but at the moment I have one problem. I need to set a boss fight where the boss will control the player. I still somehow not and boss runs automatically. You do not know anyone answer. Thank you for your reply

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted June 08, 2013 11:08 AM

niven, I don't know how to do what you describe.
But maybe you can find some ideas if you search in the triggers from the first map of the inferno campaign (where the player controls the boss Azkaal fighting against Xana and her army).
The mapfile is : Inferno_1v1.2.scn (in Data8.orc).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
niven
niven


Hired Hero
Lord Niven(cz)
posted June 08, 2013 11:44 AM
Edited by niven at 12:39, 08 Jun 2013.

to Thanatoeil:
Thanks for the reply.
I edited Azzkal, but I need a this to set the thunderbird and just when it set up this, so playing alone.




 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted June 13, 2013 12:33 AM

niven,
I made some tests, but I did not succeed.
I used a test map with a script containing triggers Scenario_SetOwner and Scenario_StartCombat.

Neutral units (maulers) attacked by the hero (player 1-human) :
- before combat, the maulers are set to player 1 (human) and the hero is set to player 2 (ai) - with trigger Scenario_SetOwner,
- then combat is started (Scenario_StartCombat)
The combat opposed also maulers (player 1 - human) to hero (player 2 - ai).
So, with normal creatures, it works.

After this firt test, I replaced the maulers with a boss. But it doesn't work : in the combat, the boss fights automatically (= not controlled by human player).

So I think that the human player can't control boss creatures.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
niven
niven


Hired Hero
Lord Niven(cz)
posted June 14, 2013 11:35 AM

To me it worked well. When thunder bird replace the hero with an army, and it works just fine. Probably the developers have done so it did not work, which is a shame.
 If by chance someone on this came as using AI set, so I'm very happy.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Thanatoeil
Thanatoeil


Adventuring Hero
posted June 14, 2013 04:25 PM

I made some additional tests to understand the subject "boss combat".

1- I edited the 1st map of Inferno campaign, so that the fight between Azkaal and Xana can be started immediatly.
And the fight happened as intended : Azkaal was controled by player 1 (human player) and fought against Xana who was ai-controled.

2- I edited the map a second time and made only one change : I replaced Azkaal with the Thunderbird (boss creature).
I started the map and launched the fight. And I had no control on this fight : the Thunderbird fought out of my control and Xana fought as ai-controled hero.

My conclusion : Azkaal is the only boss creature that can be used as player controled creature. All other boss creatures are not player controlable.
Nota : Azkaal has been removed from map editor installed with patch 2.1

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 3 pages long: 1 2 3 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0412 seconds