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 > MapHaven Guild > Thread: H3 How to make AI buy troops from Creature Generators
Thread: H3 How to make AI buy troops from Creature Generators
Titanfall2020
Titanfall2020


Known Hero
posted September 13, 2021 02:54 AM

H3 How to make AI buy troops from Creature Generators

Hi everyone, I'm working with HOTA to try and make a few maps. A problem I keep running into is with the AI not picking up units from his nearby creature dwellings, even if he has the money.

Salamander gave me some good advice, they seem to pick up more often if there is a resource generator near the dwellings, or a seer-hut to return each day one close to them.

But I would like to know if there is an easier way where I don't have to clutter my map with these objects?


Also I'm looking for any advice to change objects like a tree to instead be a quest guard with the HOTA map editor? I can do this easy in Unleashed editor, and then transfer map to HOTA once I'm done making these counterfeit objects. But sadly I have many maps already close to done in HOTA. Does anyone know of a way, perhaps a good guide on hex editing objects like trees?

Cheers guys thank you

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


Supreme Hero
posted September 13, 2021 01:12 PM

Titanfall2020 said:
Also I'm looking for any advice to change objects like a tree to instead be a quest guard with the HOTA map editor? I can do this easy in Unleashed editor, and then transfer map to HOTA once I'm done making these counterfeit objects. But sadly I have many maps already close to done in HOTA. Does anyone know of a way, perhaps a good guide on hex editing objects like trees?

There is a good chance you can open both editors at once and make your object, then just copy and paste it from one to the other. That worked a long time ago for me to quickly edit objects in WoG editor to paste into SoD maps, and I can't see why it shouldn't work for your situation. (Now that I think about it, the only problem with this method is probably that the objects will be unplaceable on highlands and wasteland.)

If that doesn't work you can look into editing the EdObjts.txt file to make your custom objects, that's how I've been doing it recently. It's pretty fast with a custom text file you know and can quickly index and modify.

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

Tavern Dweller
posted September 13, 2021 01:35 PM
Edited by linly at 13:38, 13 Sep 2021.

Game for kids

At first, diligently baking delicious cookies. You can then purchase tools that help you automate production

____________

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


Known Hero
posted September 14, 2021 03:32 AM
Edited by Titanfall2020 at 03:33, 14 Sep 2021.

gnollking said:
Titanfall2020 said:
Also I'm looking for any advice to change objects like a tree to instead be a quest guard with the HOTA map editor? I can do this easy in Unleashed editor, and then transfer map to HOTA once I'm done making these counterfeit objects. But sadly I have many maps already close to done in HOTA. Does anyone know of a way, perhaps a good guide on hex editing objects like trees?

There is a good chance you can open both editors at once and make your object, then just copy and paste it from one to the other. That worked a long time ago for me to quickly edit objects in WoG editor to paste into SoD maps, and I can't see why it shouldn't work for your situation. (Now that I think about it, the only problem with this method is probably that the objects will be unplaceable on highlands and wasteland.)

If that doesn't work you can look into editing the EdObjts.txt file to make your custom objects, that's how I've been doing it recently. It's pretty fast with a custom text file you know and can quickly index and modify.





It works!! Thank you so much!

I have to be careful which objects to copy/paste. But man this is going to save me so much time. I'd been considering remaking like 10 maps from scratch to have this feature lol. Now my ai will buy units like good little bots. Cheers man!

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


Supreme Hero
posted September 14, 2021 08:53 AM

nice, glad to help

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