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 40 60 ... 73 74 75 76 77 ... 80 100 120 126 · «PREV / NEXT»
Chaosfan
Chaosfan

Tavern Dweller
posted October 31, 2009 10:56 PM

How do you change the chance of a hero of a certain faction getting a skill i.e. Demon Lords have a 15% of getting Logistics. Also, how do you change the skills that a hero has to start with. Sorry for all the questions.
____________
Heroes 6 needs Black Dragons and Titans

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


Honorable
Legendary Hero
First in line
posted November 01, 2009 08:27 AM
Edited by VokialBG at 08:28, 01 Nov 2009.

Quote:
Is it possible to have more than six skills, without cheating or changing the .exe?


No.

Quote:
How do you change the chance of a hero of a certain faction getting a skill i.e. Demon Lords have a 15% of getting Logistics. Also, how do you change the skills that a hero has to start with. Sorry for all the questions.


For the socond one you have to open the heros xdb file and just change the skill name. You can learn more by visiting this thread. For the first one, you can change the files with the skill trees, anyway I can't help you with locations rigth now.
____________

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

Tavern Dweller
posted November 01, 2009 11:52 AM

Ok, thanks a lot.
____________
Heroes 6 needs Black Dragons and Titans

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


Hired Hero
posted November 02, 2009 02:20 AM

Simple Question

hey everyone, I'm just curious about something... I'm trying to set an object's Z value to raise it off the ground, however when i click the ground/another object, the initial object does not raise and the Z value returns to 0. Anyone know why this might be happening?

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


Promising
Supreme Hero
Map Creator
posted November 02, 2009 02:57 AM

Quote:
hey everyone, I'm just curious about something... I'm trying to set an object's Z value to raise it off the ground, however when i click the ground/another object, the initial object does not raise and the Z value returns to 0. Anyone know why this might be happening?


yes... after U've typed a new value on the z box  remember to use your "enter" key  
____________

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


Hired Hero
posted November 02, 2009 05:39 AM
Edited by Seiat at 06:33, 02 Nov 2009.

Sweet, I figured it out... thank you!!! I have one more question if anyone can answer it. How can I import custom music to replace town/battle/siege music?

What I mean by that is not change the actual music within the whole game, but a possible way to implement the music within the single map? Is this possible?

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

Tavern Dweller
posted November 03, 2009 06:46 PM

How do you modify the Skill Wheel?
I know how to change creature stats etc. just not sure which file in the data the skill wheel is located. If anyone could help I'd really appreciate it.
____________
Heroes 6 needs Black Dragons and Titans

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


Hired Hero
posted November 03, 2009 10:21 PM

Alright, so that last one IS impossible.. but this shouldn't be.. I'm tryin to figure out how to set it so when a question box is cancelled, the building can be revisited to finish the quest. Global variables du1 and du2 are set to 0. Script is as follows:

function tod (heroname)
if GetCurrentPlayer () == PLAYER_3 then
if du2 == 1 then
MessageBox("Maps/SingleMissions/Devils Children/du6.txt");
end;
if du1 == 0 then
MessageBox("Maps/SingleMissions/Devils Children/du1.txt");
StartCombat("Raelag", nil, 3, 42, 150, 56, 100, 84, 100, nil, nil, nil );
sleep(10)
MessageBox("Maps/SingleMissions/Devils Children/du2.txt");
du1 = 1;
if du1 == 1 then
if du2 == 0 then
QuestionBox("Maps/SingleMissions/Devils Children/du3.txt", "y1");
else
MessageBox("Maps/SingleMissions/Devils Children/du8.txt");
Trigger(OBJECT_TOUCH_TRIGGER, "du", nil);
end;
end;
end;
end;
end;

function y1 (heroname)
if GetPlayerResource(PLAYER_3, GOLD) >= 500000 then
if GetPlayerResource(PLAYER_3, SULFUR) >= 150 then
MessageBox("Maps/SingleMissions/Devils Children/du5.txt");
AddHeroCreatures("Raelag", 84, 150)
sleep(1)
SetPlayerResource(GetCurrentPlayer(), 6, GetPlayerResource(GetCurrentPlayer(), 6) - 500000);
sleep(1)
SetPlayerResource(GetCurrentPlayer(), 4, GetPlayerResource(GetCurrentPlayer(), 4) - 150);
sleep(1)
du2 = 1;
elseif GetPlayerResource(PLAYER_3, GOLD) < 500000 then
if GetPlayerResource(PLAYER_3, SULFUR) < 150 then
MessageBox("Maps/SingleMissions/Devils Children/du6.txt");
end;
end;
end;
end;

There are no bugs other then I can't revisit after cancelling the questionbox, or if there aren't enough resources then you can't revisit. What am I doing wrong here?

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


Famous Hero
Fresh Air.
posted November 04, 2009 01:15 AM

Is it possible to control a neutral troop on the map?Like making it go directly to X point, whenever user´s turn ends the creature would move one square of the map.Any hints as how to script this?

EDIT:
so the following is all my code in map properties/scripts-->

function SpawnAssassins()
montype = 72;
moncnt = 50;
CreateMonster("a1",montype, moncnt, 50,106,1,0,0,0);
end;


Trigger(NEW_DAY_TRIGGER, "RunDaily");


function RunDaily()  

if(GetDate(DAY_OF_WEEK) == 1) then
SpawnAssassins();
end;
if(GetDate(DAY_OF_WEEK) == 2) then
SetObjectPosition("a1", 28, 241, floor = 0);
end;
     if(GetDate(DAY_OF_WEEK) == 3) then
SetObjectPosition("a1", 28, 240, floor = 0);
end;
end;

I get the error that "RunDaily" function is not defined. What does this mean?Should i organize my code in a different way?
RunDaily is also the name of a location where i want the craetures to spawn.

I play the map and no creature is spawned...what im i doing wrong?
The map is single player now but i mean to add this to a multiplayer map, will that be a problem too?
Thanx in advance people.

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


Promising
Famous Hero
NCF Blacksmith
posted November 04, 2009 10:03 PM

The problem is : you must put your Trigger() instruction at the very bottom of your code. When you call Trigger(NEW_DAY_TRIGGER, "RunDaily"), the function named RunDaily() has not been declared yet !
SO, first thing to do is putting this Trigger instruction at the end of your LUA file. Next, there is an error in your code : when you say

if(GetDate(DAY_OF_WEEK) == 1) then
SpawnAssassins();
end;

This will never be true, so SpawnAssassins won't ever be used, so no monster stack will be created. It will never be true cause the DAY == 1 corresponds to the day when you run the map. The Trigger NEW_DAY_TRIGGER allow programming hthings to happen from the day 2 minimum. So you must spawn your assassins directly at the beginning of your code, or create them at the day 2.

And it is not possible to add script for multiplayer maps, I think.
____________
NCFBank,
the complete and homogen NCF
library.

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


Famous Hero
Fresh Air.
posted November 05, 2009 12:08 AM

Thanks for the reply! You are a good penquin

I thought it wasnt possible but then how is it that Elvin´s Duel Map from the tournaments has scripting on it? Does it work only for duels?

My map is meant to be rather different from gameplay so expect another question when i encounter another difficulty.

This weekend i will try to avoid players (or player) from dividing armies(or stack) and make it possible to recruit creatures only if hero is inside the town(meaning the upper part) so that the bought creatures merge with the ones the hero has.

If any idea of how to do this then u are going to save me a lot of reading

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

Tavern Dweller
posted November 05, 2009 09:54 AM

Still wondering if anyone knows how to mod the skill wheel.

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


Adventuring Hero
Waking Up
posted November 06, 2009 08:02 PM

Could someone please upload AI Theme Renegade? I need it but unfortunately my computer is broken and I can't instal the game on laptop.

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


Responsible
Supreme Hero
Forgotten but not Forsaken
posted November 07, 2009 10:39 AM

Does anybody know how hero's damage is calculated and is it possible to change it?
____________
HoMM3Lite

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


Admirable
Legendary Hero
modding wizard
posted November 07, 2009 11:55 AM

@chaosfan:

Go to gamemechanics - reftables in data.pak

heroclass.xdb contains the probabilities
skills.xdb the secondary skill structure

it is impossible to make more then 6 skills

@bigjocker:

in defaultstats.xdb


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


Responsible
Supreme Hero
Forgotten but not Forsaken
posted November 08, 2009 04:01 PM

Thanx. Now other questìons.
Is it possible to resize creature? And how to do it if possible?
____________
HoMM3Lite

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

Tavern Dweller
posted November 09, 2009 04:48 PM

Thanks a lot Magnomagus, that helped a lot.
____________
Heroes 6 needs Black Dragons and Titans

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


Honorable
Undefeatable Hero
Smooth Snake
posted November 09, 2009 06:18 PM

Der TSoD
Quote:
Hey guys !!
Watch this! I finally succeed !
I tried for more than six hours on it but I finally made it !
Integrating [Final Fantasy X models into Heroes V !

WUUUHU!! Yeah. I'm looking forward to seeing some kickass swordsmen then.

I just felt like the news didn't get the attention they deserved so I had to quote.
____________
"All I can see is what's in front of me. And all I can do is keep moving forward" - The Heir Wielder of Names, Seeker of Thrones, King of Swords, Breaker of Infinities, Wheel Smashing Lord

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


Promising
Famous Hero
NCF Blacksmith
posted November 10, 2009 06:22 PM

Thx alot
But it seems Heroes V development has finally ended or at least is ending, even for modders, because of Nival and Ubisoft bad "after-developping work".

It didn't really entertain the crowd, but I awaited that, and no one is to be blamed for it (as said the only fautives are Ubisoft and Nival)
So thanks
____________
NCFBank,
the complete and homogen NCF
library.

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


Promising
Supreme Hero
posted November 10, 2009 11:27 PM

Quote:
Thx alot
But it seems Heroes V development has finally ended or at least is ending, even for modders, because of Nival and Ubisoft bad "after-developping work".

It didn't really entertain the crowd, but I awaited that, and no one is to be blamed for it (as said the only fautives are Ubisoft and Nival)
So thanks


yes exactly, for my share, I'm on my end...of course, I will release a next version of RTMG close of the end of this year or close of beginning of the next...but development of my own Heroes V is on its end too.

 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 40 60 ... 73 74 75 76 77 ... 80 100 120 126 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2364 seconds