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: ~ QUESTIONS Topic and FAQ - Modders Workshop ~
Thread: ~ QUESTIONS Topic and FAQ - Modders Workshop ~ This Popular Thread is 126 pages long: 1 ... 20 21 22 23 24 ... 40 60 80 100 120 126 · «PREV / NEXT»
Arhaeus
Arhaeus

Tavern Dweller
posted January 30, 2008 03:56 AM

It doesn't work. I placed the file in D:/H5/maps/3W/ambush01.txt. And the script is:

function Fambush01( heroname )
if GetObjectOwner( heroname ) == PLAYER_2 then
MessageBox(GetMapDataPath().."ambush01.txt");
StartCombat( heroname, nil , 3,  113, 1, 113, 1, 113, 1, nil);
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", nil);
end;
end;
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", "Fambush01");



What is wrong?

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


Promising
Supreme Hero
posted January 30, 2008 10:24 AM

D:/H5/maps/3W/ambush01.txt can not be your map folder. Your map folder is where your map files are located, inside the .h5m archive. Alternatively, when you edit your map with the editor, you can place your file in:
Editor\H5MMods\YOURMAP\Maps\SingleMissions\YOURMAP\

You should find your map-tag.xdb and map.xdb files there, along with all the automatically generated text files. When you close your map in the editor, it will pack this folder again into the .h5m.

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

Tavern Dweller
posted January 30, 2008 01:03 PM

I've d tried that, and it didn't worked. I have put ambush01.txt in /Editor/H5MMods/2/Maps/Multiplayer/2/ , and I verified in 2.h5m and ambush01.txt is in /Maps/Multiplayer/2/.

I've d tried this scripts:

function Fambush01( heroname )
if GetObjectOwner( heroname ) == PLAYER_2 then
MessageBox(GetMapDataPath().."ambush01.txt");
StartCombat( heroname, nil , 3,  113, 1, 113, 1, 113, 1, nil);
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", nil);
end;
end;
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", "Fambush01");

and


function Fambush01( heroname )
if GetObjectOwner( heroname ) == PLAYER_2 then
MessageBox("/Maps/Multiplayer/2/ambush01.txt");
StartCombat( heroname, nil , 3,  113, 1, 113, 1, 113, 1, nil);
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", nil);
end;
end;
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", "Fambush01");

and


function Fambush01( heroname )
if GetObjectOwner( heroname ) == PLAYER_2 then
MessageBox("Maps/Multiplayer/2/ambush01.txt");
StartCombat( heroname, nil , 3,  113, 1, 113, 1, 113, 1, nil);
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", nil);
end;
end;
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "ambush01", "Fambush01");


What should I do?

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


Promising
Supreme Hero
posted January 30, 2008 04:48 PM
Edited by sfidanza at 20:54, 30 Jan 2008.

Send me the map: stephane.fidanza (at) gmail.com
I'm sure it's nothing big. Maybe your text file encoding (should be UTF-16LE)...

Edit: as I suspected, it was simply a text encoding issue. The text was windows-1252. Changing the encoding to UTF-16LE fixed the problem.

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


Promising
Famous Hero
posted January 30, 2008 11:47 PM

I don't know if any of you here are interested in the Gods Faction thread, but I was wondering if it was possible to make creatures recruitable in the Tear of Asha building?

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


Honorable
Legendary Hero
Far-flung Keeper
posted January 30, 2008 11:52 PM

It seems so:  Kronos1000 and VokialBG attempted to make level 8 creatures recruitable from the Tear of Asha back when GotP was still alive.  However I don't know how to do it myself, so this post's usefulness is limited

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


Famous Hero
Evil lolcat
posted February 01, 2008 12:20 PM

Why cant i do any MODs? i do it by the instrutions.

data.pakarchiveextract to. But when i extract it, it just coming out as one file. Tell me what is wrong? maybe its because i downloaded the game from the Emule.
____________

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


Honorable
Legendary Hero
First in line
posted February 01, 2008 12:56 PM
Edited by VokialBG at 12:57, 01 Feb 2008.

What you exactly mean with "it just coming out as one file"?

Try to update your WinRar if its version is old.
____________

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


Famous Hero
Evil lolcat
posted February 01, 2008 01:19 PM

Its like insted of all of those files (towns,monsters and all the other stuff) it comes out just one data.pak file.
____________

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


Honorable
Legendary Hero
First in line
posted February 01, 2008 01:52 PM

hmmm if you want to extract all the files and folders just open data.pak with WinRaR (latest version, check here for it). Mark all folders and files in data.pak (Ctrl + A) and extract them.
____________

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


Hired Hero
posted February 01, 2008 07:20 PM
Edited by Bloodly at 19:50, 01 Feb 2008.

...Very basic 'modder' here, with an odd question.

Poking around the files, I notice that the majority of the buildings in 'Game Mechanics/TownBuildingsSharedStats' have the line, <Creature>CREATURE_UNKNOWN</Creature>.

The implication is that any building can have a creature(Any creature?) assigned to it for hiring, especially given the Dwellings have actual creature names in that area.

I tried with this, changing 'CREATURE_UNKNOWN' in the Preserve Town Hall xdb file to 'CREATURE_WOLF'.  That's all-nothing else.  Thankfully, no problems in-game(No sudden crashing or anything), but no wolves for hiring when I built the Town Hall-an apparent failure(Though I'll admit, I didn't bother advancing to Tier 4, and the Wolf IS a Tier 4 creature...Nope.  Just checked with a loaded game.  Nothing new.).

Maybe some of you have experimented with adding creatures in a similar way and know what the problem might be?

Of course, there's always the danger that having the new creature will push off another creature from the town hiring list...I'll worry about that after this works, if at all possible.

Thank you for your time.
____________

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


Promising
Supreme Hero
Map Creator
posted February 01, 2008 08:24 PM

Quote:
Why cant i do any MODs? i do it by the instrutions.

data.pakarchiveextract to. But when i extract it, it just coming out as one file. Tell me what is wrong? maybe its because i downloaded the game from the Emule.


no comment needed...  !!
____________

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


posted February 02, 2008 12:40 AM

Questions

1. In the default game HoMM5, 1 sprite casting Wasp Swarm does the exact same damage as 4 sprites casting Wasp Swarm.
I would like for spell damage to increase depending on the number of units like regular melee/shooter damage so that 4 sprites casting Wasp Swarm do 4x as much damage as 1 sprite casting Wasp Swarm.
Please tell me how, if it's possible. Thanks.

2. Do randomly spawned units of the same race offer to Join your army more frequently than other races? If this can be changed, what file is it located in?

Thanks
____________

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


Famous Hero
The efreet
posted February 02, 2008 11:59 AM

Two short questions:
1. How to change basic level of Sorrow to advanced or expert level in Sorrow Strike?
2. How to change resource produced by resource silo?
____________

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


Admirable
Legendary Hero
modding wizard
posted February 02, 2008 12:30 PM
Edited by magnomagus at 12:37, 02 Feb 2008.

@Shiny:

1.Impossible because creature amount is connected with spellpower, even if every creature would mean +1 extra spellpower, the calculation of the damage will prevent it from working that way. If you read the fanmanual you will understand the system better.

2.Creatures from the same race are set to join earlier, specialization creatures even more.


@Hellburn:

1. Almost sure it is impossible
2. In data.pak: GameMechanics\Reftables\TownTypesInfo.xdb


____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Promising
Famous Hero
posted February 02, 2008 05:27 PM

Would it be possible to get a building like the Memory Mentor in your city? Or maybe add a Memoery Mentor function to your Marketplace?

I ask because I really hate the hero development on maps with no memory mentors.

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


Honorable
Legendary Hero
Far-flung Keeper
posted February 02, 2008 05:32 PM

I'm afraid that is most likely impossible.

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


Promising
Famous Hero
posted February 02, 2008 05:34 PM

Is there any way you can think of to integrate Memory Mentor functions into a common object found on all or most maps?

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


Honorable
Legendary Hero
Far-flung Keeper
posted February 02, 2008 05:39 PM

From what I can see here every building has an ID tag which determines its specific function.  So I think you can only replace one building's functions with those of others, but you can't integrate them together.

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

Tavern Dweller
posted February 02, 2008 09:17 PM

How can I get the effect of "Spring of Eldritch Renewal"? this script sets doubles current mana but only equal to hero's maximum mana, not equal with his double maximum mana.

function geweas_mana(heroname)
if heroname == GEWEA then
MessageBox(GetMapDataPath().."gh.txt");
hero_mana_double = 2*GetHeroStat(heroname, STAT_MANA_POINTS);
ChangeHeroStat(heroname, STAT_MANA_POINTS, hero_mana_double);
end;
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "gewea's_mana" , "geweas_mana");

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 126 pages long: 1 ... 20 21 22 23 24 ... 40 60 80 100 120 126 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.5535 seconds