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 > Heroes 3.5 - WoG and Beyond > Thread: Change creature types? (for example: change flying creatures to walking creatures)
Thread: Change creature types? (for example: change flying creatures to walking creatures)
raksha0xx
raksha0xx

Tavern Dweller
posted May 09, 2011 10:27 PM
Edited by raksha0xx at 22:32, 09 May 2011.

Change creature types? (for example: change flying creatures to walking creatures)

Hi,

I`ve read a few threads but I didn`t really find something that could help a beginner like me.
I have a question to you.
I`ve downloaded a few new creature .def`s and replaced them with old ones. I replaced some non-flying creature`s with flying creatures. But there is the problem that they`re now not really flying. The qestions are:

1.How to change a non-flying creature to a flying or teleporting creature?
How to change a flying creature to a non-flying or teleporting creature?
How to change a teleporting creature to a flying or non-flying creature?
How to change an archer creature to a non-archer creature?
How to change a non-archer-creature to a archer creature?

2.How to make slower or faster movements for creatures, that they are as fast as/as slow as their animation speed?

3.How to change the use of hexes for a creature?

4.How to expand the creature`s "strike-area" (normal attack, attack two hexes (like a dragon), attack all creatures around it)?

5.How to add abilities like double-strike or the sharpshooter-ability to a creature?

I hope you can help me.

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


Adventuring Hero
Current Russian Peasant
posted May 10, 2011 07:32 PM
Edited by Al_Mualim at 19:36, 10 May 2011.

You can do some of this things with ERM scripts. Try to look to ERM help:
Quote:
!!MA:S#/$;
Monster # (Format C) has a Speed of $.

!!MA:X#/$;
Set flags to $ for monster # (Format C).
Use with BIG care $ Bits:
0x00000001 = 1 - DOUBLE_WIDE - Takes 2 square

0x00000002 = 2 - fly

0x00000004 = 4 - shooter
If you give this ability to a non-shooter, you get several error messages along the lines of "missing
resource." Presumably the graphic showing it shooting.

0x00000008 = 8 - extended attack radius (2 square)
That is, a breath weapon (depth not radius). This doesn't function when using a range ability, but works for a
ranged unit when it hits an adjacent unit.

0x00000010 = 16 - alive

0x00000020 = 32 - CATAPULT
Cyclopes have this ability.

0x00000040 = 64 - SIEGE WEAPON - cannot move

0x00000080 = 128 - KING_1
This is all 7th level creatures and neutral dragons that aren't KING_2 or KING_3.

0x00000100 = 256 - KING_2
Angels, Archangels, Devils, Archdevils.

0x00000200 = 512 - KING_3
Giants, Titans

0x00000400 = 1024 - immune to mind spell

0x00000800 = 2048 - monster: 35,74,75
This means "no obstacle penalty," since Archmages have that ability and Mages don't.
This one seems a bit mystifying. 74 and 75 are Beholders and Evil Eyes and I don't recall them ever having a "no obstacle penalty" ability.

0x00001000 = 4096 - no penalty in close combat

0x00002000 = 8192 - ----

0x00004000 = 16384 - IMMUNE_TO_FIRE_SPELLS

0x00008000 = 32768 - shoot twice
This also makes a non-range unit attack twice - Crusader, Wolf-Raider

0x00010000 = 65536 - no enemy retaliation
The Cerberus has this ability (in addition to Hydra etc.) However if you give a unit this ability, it will attack in all directions, not just forwards like the Cerberus. Also, you can have this ability but still allow retaliation; then the creature actually attacked will retaliate (the others won't).

0x00020000 = 131072 - no moral penalty

0x00040000 = 262144 - undead

0x00080000 = 524288 - attack all enemies around

0x00100000 = 1048576 - extended radius of shooters
This is the Magog/Lich/Power Lich ability. You don't appear to be able to give a creature this ability. I assume since Magogs and Liches work differently, the program must check creature number.

0x80000000 - 2147483648 - Dragon
This one screws you up in ERM because the same bit is used for signs. You can still use it though if you work out what the correct large negative number is. I assume all it affects is the Vial Of Dragon Blood.
And this is used also for "Dragons" Hero's specialty (Mutare).

Example:
Example:
!?OB3/6/0; there must be an archer in 3/6/0
!!IF:M^Set Archer to shoot twice^;
!!MA:X2/?i;
!!VRi:+32768;
!!MA:X2/i;


If you dont want to calculate flags you may use ERM Script Master

and, you can too edit animations speed in file CrAnim.txt

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

Tavern Dweller
posted May 10, 2011 09:11 PM

Thank you for all the information.
Can you tell me at last in what script file I have to edit this?

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


Promising
Legendary Hero
fallen artist
posted May 10, 2011 09:27 PM

I think it's a good time to read some tutorial. They are sticked for purpose...
____________
The future of Heroes 3 is here!

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

Tavern Dweller
posted May 11, 2011 06:29 PM

Thank you very much for all the informations. I am able now to make this changes.
Thank you

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0452 seconds