|
Thread: Change creature types? (for example: change flying creatures to walking creatures) | |
|
raksha0xx
Tavern Dweller
|
posted May 09, 2011 10:27 PM |
|
|
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.
|
|
Al_Mualim
Adventuring Hero
Current Russian Peasant
|
posted May 10, 2011 07:32 PM |
|
|
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
|
|
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?
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted May 10, 2011 09:27 PM |
|
|
|
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
|
|
|
|