|
Thread: H6 map editor - triggers - questions & answers | This thread is pages long: 1 2 3 · «PREV / NEXT» |
|
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.
|
|
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.
|
|
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...
|
|
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).
|
|
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
|
|
natalka
Supreme Hero
Bad-mannered
|
posted May 10, 2013 05:39 PM |
|
|
|
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.
|
|
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
|
|
natalka
Supreme Hero
Bad-mannered
|
posted May 20, 2013 03:58 PM |
|
|
Do you know If I can ban certain skills in the editor?
|
|
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 ?
|
|
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.
|
|
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.
|
|
natalka
Supreme Hero
Bad-mannered
|
posted June 01, 2013 03:32 PM |
|
|
How do you make the underground so dark like in campaign maps?
|
|
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.
|
|
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
|
|
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).
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
|