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: Question for Alexspl (plugin help)
Thread: Question for Alexspl (plugin help)
LordCameron
LordCameron


Known Hero
Veteran of the Succession Wars
posted December 06, 2023 01:30 AM

Question for Alexspl (plugin help)

In your First Aid Tent Plugin you have a line which says:

#include ".... HotA homm3.h "

I can't figure out which file this is or where I should put it. My Horn of the Abyss folder doesn't have any files called homm3

I'd be grateful for some help here. (completely new to playing around with editing/making my own plugins)

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


Responsible
Supreme Hero
posted December 06, 2023 06:17 AM

There

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


Known Hero
Veteran of the Succession Wars
posted December 06, 2023 04:40 PM

Thank you kindly

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


Known Hero
Veteran of the Succession Wars
posted December 07, 2023 02:44 AM

Got a second question if you're willing.


I was playing around with the FirebirdImmune to Firemagic plugin and managed to make Centaur Captains Immune to fire easily enough.


My question is with this:

o_pCreatureInfo[CID_HYDRA].flags = 0x409B;


Is there a list of flags somewhere? I've been looking all over without luck.

I'm looking to give Hydras regeneration, but also be interesting to see a list with information on fly and everything else

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


Responsible
Supreme Hero
posted December 07, 2023 09:52 AM

Here are known flags -

enum creature_flags
{
 CF_DOUBLE_WIDE = 0x1,
 CF_FLYING_ARMY = 0x2,
 CF_SHOOTING_ARMY = 0x4,
 CF_HAS_EXTENDED_ATTACK = 0x8,
 CF_ALIVE = 0x10,
 CF_CATAPULT = 0x20,
 CF_SIEGE_WEAPON = 0x40,
 CF_KING_1 = 0x80,
 CF_KING_2 = 0x100,
 CF_KING_3 = 0x200,
 CF_IMMUNE_TO_MIND_SPELLS = 0x400,
 CF_SHOOTS_RAY = 0x800,
 CF_NO_MELEE_PENALTY = 0x1000,
 CF_UNUSED = 0x2000,
 CF_IMMUNE_TO_FIRE_SPELLS = 0x4000,
 CF_TWO_ATTACKS = 0x8000,
 CF_FREE_ATTACK = 0x10000,
 CF_NO_MORALE = 0x20000,
 CF_UNDEAD = 0x40000,
 CF_MULTI_HEADED = 0x80000,
 CF_FIREBALL_ATTACK = 0x100000,
 CF_IMMOBILIZED = 0x200000,
 CF_SUMMONED = 0x400000,
 CF_CLONE = 0x800000,
 CF_MORALE = 0x1000000,
 CF_WAITING = 0x2000000,
 CF_DONE = 0x4000000,
 CF_DEFENDING = 0x8000000,
 CF_SACRIFICED = 0x10000000,
 CF_RED_COLORING = 0x20000000,
 CF_GREY_COLORING = 0x40000000,
 CF_DRAGON = 0x80000000,
};

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


Known Hero
Veteran of the Succession Wars
posted December 07, 2023 05:11 PM

Thank you again!

So if Fire immunity is 0x4000
What does the 9B mean in 0x409B?


And I guess the lack of regen either means it's unknown or implemented in a different method?


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


Responsible
Supreme Hero
posted December 07, 2023 06:34 PM

0x409B = 0x4000 + 0x80 + 0x10 + 8 + 2 + 1. Someone made Hydras fly?

Quote:
And I guess the lack of regen either means it's unknown or implemented in a different method?

Yes, it's hardcoded. You need a plugin to add such an ability as regeneration.

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


Known Hero
Veteran of the Succession Wars
posted December 07, 2023 06:47 PM

AlexSpl said:
0x409B = 0x4000 + 0x80 + 0x10 + 8 + 2 + 1. Someone made Hydras fly?




Haha, oops. I didn't actual test the plugin more than chucking a fireball at them. I gotta try the rest out now
____________
What are Homm Songs based on?

 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.0268 seconds