Search found 68 matches
- 26 Jun 2015, 19:23
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
- 26 Jun 2015, 14:17
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
Good! Thanks Maciek! It looks pretty simple. I will get a look at h4util. I think then, I will be able to do a little programm that will automaticaly detect each hero, then modified and insert script for each hero. I will be really happy if we can easily use the recursive methode#2, because we will ...
- 26 Jun 2015, 04:46
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
But if 2 heroes join army, will the artifact script run like the messages from your example, so it doesn't end up on just the one of them? If method #1 is use (without recursive script), there is no problem. Each hero can have the exact same script and all variable for artifact can have the same na...
- 25 Jun 2015, 15:55
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
Then it also shouldn't be necessary to add hero 1, 2, 3.. I'm not sure if we can differ between 2 or more heroes in the same army, though. What do you mean?? I will do the script on 1 hero and the same script can then be copy (I hope) on all hero on the map. I already use a similar script for artif...
- 25 Jun 2015, 15:18
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
- 25 Jun 2015, 14:48
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
I tried to do a similar thing with artifacts, but using PatFx's suggested variables (set to +1), but all artifacts would end up on the first hero. So I don't have any simple solution.. I had the exact same problem. The way triggerable event works: Let's say there is 4 hero on the map with all the s...
- 25 Jun 2015, 09:46
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
The first issue is that we have 1 variable e.g Longsword, which will check the amount on ALL AI heroes. If triggered they all go off at the same time, and we must assume the heroes carries different numbers of a given artifact, so will the game be able to tell the difference between hero 1 carrying...
- 25 Jun 2015, 09:18
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
- 25 Jun 2015, 01:44
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
How many artifacts do you think it is required to check for in the script? I'm more concerned about complexity, as there is already a good amount of artifacts, and each additional check is multiplied with all artifacts. I'm more thinking that to limit complexity, all artifacts would be equipped onl...
- 23 Jun 2015, 17:38
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
It depends on wheter we Can put variables on artifacts if there is 2 or more. Then we Can give back all but still ensure AI doesnt equip 3 Stunning Arrow. The first artifact that we give back is put in an empty equip slot. There is an easy way to solve this (equip 3 Arrow), but the script will be b...
- 23 Jun 2015, 14:37
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
New weapon list (with defense priority over attack damage for low level weapon): Sword of the God (+3 attack/defense, +50% friendly) Axe of Legend (+8 attack, +40% friendly) True Gryphonheart Blade (+8 attack, +40% friendly) Crusader’s Mace (+30% friendly) Bull Rune Battleaxe (+50 attack) Frost Hamm...
- 22 Jun 2015, 21:37
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
Weapons: keeping in mind that attack isn't as useful as defence I totally agree! The Axe isn't as useful as the Giant Slayer and Angel's Blade in that regard. In fact, it's probably not as useful as the Longsword, either. Then, the Greatsword is two-handed, so I'd put it below the Dwarven Hammer. T...
- 22 Jun 2015, 21:03
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
Few little things I want to talk to you about the artifact script: 1- You know that if the hero has few items of the same type (for exemple: 3 Longsword, 1 equip and 2 in the backpack) and you remove a Longsword with a script, the first Longsword that will be remove is one in the backpack. So we wil...
- 22 Jun 2015, 19:12
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
About weapons, I'd say the opposite of what Karmakeld said. In your list, the magic-related weapons are underestimated if anything. Heroes rarely fight in melee, and if they do, they're on the losing end of it. Meanwhile a lot of heroes know at least one school of magic. And Resurrection is useful ...
- 22 Jun 2015, 15:11
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
Misc list: Encounter script: Flaming Arrow (3*3 yard) Maranthea's Mug (+3 moral) Spider's Silk Arrow (Bind) Arrow of Stunning Arrow of Slaying (Slayer) Four Leaf Clover (+1 luck) Gambler's Deck (+1 luck) Horshoes ((+1 luck) Crest of Valor (+1 moral) Crystal of Memory (Immune to Forgetfulness) Poison...
- 22 Jun 2015, 14:20
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
- 18 Jun 2015, 13:52
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
Hi guys, here is my list for weapons: Tiger set Sword of the God (+3 attack/defense, +50% friendly) Angel’s Blade (+3 attack/defense, +50% friendly vs Death) (if opposing troop is Death) Axe of Legend (+8 attack, +40% friendly) True Gryphonheart Blade (+8 attack, +40% friendly) Crusader’s Mace (+30%...
- 05 Jun 2015, 15:19
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
- 04 Jun 2015, 16:51
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
Game checks all heroes for highest attack bonus, consisting of skills and artifacts, and applies it to creatures. Then it checks all heroes for highest defense bonus, consisting of skills and artifacts, and applies it to creatures. Then for luck and morale. These heroes giving attack, defense, luck...
- 03 Jun 2015, 22:55
- Forum: Heroes I-IV
- Topic: Call to H-IV mapmakers - AI enchancing scripts
- Replies: 231
- Views: 104058
If I understand this right, what he's saying is that tactics works on the same code as morale (think leadership). If there are two heroes with leadership, one basic, the other advanced, the result is +2 morale (the better of the two). And if anyone in the party equips an artifact that gives +1 to m...