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 5 - Modders Workshop > Thread: One player map
Thread: One player map
Funnyach
Funnyach

Tavern Dweller
posted May 11, 2015 12:20 AM

One player map

Hello people,

I've been trying to create a Map that I can play with just me as a player. I want it to be available in multiplayer map selection.

Here are the ideas I tried and failed at.

1. Create a singleplayer scenario instead -> failed because I didn't want to create the map myself.

2. Put two player's towns on a map directly next to each other, put a goal that's not OBJECTIVE_KIND_DEFEAT_ALL and just kill off the other dude at the start -> killing the other player still won me the game.

3. Going from 2, I tried to find the goal settings in the data.pak. I found them and changed them for the map L4 (L4.xdb). I changed them to OBJECTIVE_KIND_BUILD_GRAAL. However, when I tried it out, the game still finished after I killed the other dude. (I made sure I played the right map)

4. I thought about just changing the check before I start the game so that it would let me press the start button even when I have only one player selected. I couldn't find the files for that though.


tl;dr Please help me find a way (or just tell me a way) to play alone on a multiplayer map.

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


Famous Hero
Dragon of justice
posted May 11, 2015 06:53 AM

You could open it in map editor, chamhlge victory conditiobs to desired one and remive all terraain around AI's Castle? Or simply renove him even i guess. I suppose you want to use the RMG?

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


Famous Hero
posted May 11, 2015 08:03 AM

You could:
Create the map and then "mask" (function in Editor)around the ai's Castle so he cant move.

Otherwise try to search a map from the campaign (example homm 5 map 1 - human campaign) and look into her, what they change to play it as only 1 player

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

Tavern Dweller
posted May 11, 2015 10:53 AM

markmasters said:
You could open it in map editor, chamhlge victory conditiobs to desired one and remive all terraain around AI's Castle? Or simply renove him even i guess. I suppose you want to use the RMG?


When I remove all players but one, I can't start the game because I have only one player selected. My goal with this is also, that I can just spam enter to advance days really fast, and even a completely cut off AI would take time for its turn.
Yes, I want the RMG.

lotihoti said:
You could:
Create the map and then "mask" (function in Editor)around the ai's Castle so he cant move.


See above.

lotihoti said:

Otherwise try to search a map from the campaign (example homm 5 map 1 - human campaign) and look into her, what they change to play it as only 1 player


I actually did that. I couldn't find the difference concernign my problem. My guess is, that in a normal multiplayer map, every time I defeat an enemy (completely defeat), it checks if tht was the last enemy and if yes, makes me win the game. This seems to be simply turned off for the singleplayer scenarios (that a campaign is composed of).

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


Famous Hero
posted May 11, 2015 11:19 AM

Did you remove the "kill them all" objectiv in objectives for you?

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

Tavern Dweller
posted May 11, 2015 01:45 PM

lotihoti said:
Did you remove the "kill them all" objectiv in objectives for you?


Yeah, I changed it to BUILD_GRAAL.

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


Famous Hero
posted May 11, 2015 02:04 PM
Edited by lotihoti at 14:05, 11 May 2015.

Try to create/add your map as a campaign - maybe it works this way.

Basically i know not even one map where you can run around without another enemy.

Because the start button on a campaign works different (at least it look like). I hope that is going to work.

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


Famous Hero
Dragon of justice
posted May 11, 2015 02:20 PM

Agreals trial is one which starts with no enemt iirc...

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

Tavern Dweller
posted May 11, 2015 03:36 PM

lotihoti said:
Try to create/add your map as a campaign - maybe it works this way.

Basically i know not even one map where you can run around without another enemy.

Because the start button on a campaign works different (at least it look like). I hope that is going to work.


You can only add singleplayer scenarios to a campaign, I already tried that. And yes, there is indeed no map where you can run around alone, except the campaign missions. That's why I want to make one .

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

Tavern Dweller
posted May 11, 2015 03:38 PM

markmasters said:
Agreals trial is one which starts with no enemt iirc...


Is that a custom one? Because my main problem with the campaign maps is the level cap and the restriction in faction choice.

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


Famous Hero
Dragon of justice
posted May 11, 2015 05:34 PM

Its a single scenario which was also part of the demo

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


Admirable
Legendary Hero
modding wizard
posted May 11, 2015 06:13 PM

You can freeze AI heros with script function:

EnableHeroAI("Godric", nil);

Also disable AI taverns
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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

Tavern Dweller
posted May 11, 2015 09:56 PM

magnomagus said:
You can freeze AI heros with script function:

EnableHeroAI("Godric", nil);

Also disable AI taverns


Where would I put these lines? Can I open a console ingame?

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


Famous Hero
posted May 12, 2015 08:05 AM

Open your map with your Editor:
Press "m" - go to "scripts" - type your script in there.

For disabling the ai's  Taverne:

Klick on the ai's town. Press "space" - there you can enable and disable buildings (if i remember correctly).
If not: klick on the ai's town, property tree, there somewhere is a list with enabled and not enabled buildings.

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