Skip to content

Posts from Scripts

4.8 (8 ratings)
In reply to Вампир-лорд
User Avatar
12 years ago
Auto-translated
Vampire Lord
How do you separate one script from another?
Could you please provide more details?
User Avatar
12 years ago
Auto-translated
When I write one script, and then another one after it, all the scripts stop working.
In reply to Вампир-лорд
User Avatar
12 years ago
Auto-translated
Vampire Lord
When I write one script, and then another one after it, all the scripts stop working.
Post it here, and I'll take a look at the errors.
User Avatar
12 years ago
Auto-translated
I need a script where a hero transforms another defeated hero (or monster) into a copy of himself, with the same skills, stats, and level, and with 1 creature of level 1 from the hero's race. (Ideally, without artifacts).

Added 1 hour 24 minutes later
Does such a script exist?
User Avatar
12 years ago
Auto-translated
It is definitely impossible to turn a monster into a hero with skills. Copying parameters and race seems to be not difficult. I'm not sure about the skills; artifacts, it seems, cannot be copied.

Or, you will simply have to write a VERY complex check for EVERY skill and artifact in the game.
User Avatar
12 years ago
Auto-translated
I don't need artifacts.

And using mana? Every day, the script will check the amount of mana. If it is >= X, then it takes X mana and creates a clone of the hero.
Is it possible to recreate this wonder in this way? And how do I make the mana at the beginning of the game equal to zero?
User Avatar
12 years ago
Auto-translated
Is it possible to remove a specific hero perk?
In reply to Dyrman
12 years ago
Auto-translated
Dyrman
Is it possible to remove a specific hero perk?

Yes, it is.
Check the script in the first mission for Ornella – she loses her racial knight skills.
In reply to antonag07
User Avatar
12 years ago
Auto-translated
antonag07
Sure.
Check the script in the first mission for Ornella – she loses her racial knight skills.
What? No one loses anything there.
In reply to RedHeavenHero
12 years ago
Auto-translated
RedHeavenHero
What? No one loses anything there.
Ornella starts the mission with the "Counterattack" skill (racial Knight skill) - by the end of the mission, she becomes a Necromancer (racial "Necromancy" skill):cool:
In reply to antonag07
User Avatar
12 years ago
Auto-translated
antonag07
Ornella starts the mission with the "Counterattack" skill (racial Knight skill) - by the end of the mission, she becomes a Necromancer (racial "Necromancy" skill):cool:
Firstly, it's not a skill, but a perk. Secondly, it's possible to remove even those that have been further upgraded (for example, forget about the Ballista while having the Rapid Fire skill upgraded). If this is possible with what's available in the campaign, then it's great!) But there's no way to check it yet. :)
User Avatar
12 years ago
Auto-translated
And isn't it used there to create a Necromancer hero, or something like that?
In reply to antonag07
User Avatar
12 years ago
Auto-translated
antonag07
Ornella starts the mission with the "Counterattack" skill (racial Knight skill) - by the end of the mission, she becomes a Necromancer (racial "Necromancy" skill):cool:
Ornella the Necromancer is already a different hero. The Knight is removed, and a Necromancer is placed instead, and she is given experience. No operations are performed with skills/abilities.
In reply to RedHeavenHero
User Avatar
12 years ago
Auto-translated
RedHeavenHero
Ornella, the Necromancer, is a different hero altogether. The Knight is removed, and the Necromancer is placed instead, and she is given experience. No operations are performed with skills/abilities.
Sadness envelops my heart :(
What if at least one skill is added, without worrying about the connections?
For example, add the "Rapid Shot" skill, without having the "Ballistics" skill.
In reply to Dyrman
User Avatar
12 years ago
Auto-translated
Dyrman
Sadness envelops my heart :(
But what if we just add a skill, without worrying about dependencies?
For example, add a rate of fire skill, without having the ballista skill.
Script cheating in single-player. But, as I understand it, it doesn't work in multiplayer?

Statistics

Welcome our newest member: recijeb