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: Script rework?
Thread: Script rework? This thread is 9 pages long: 1 2 3 4 5 6 7 8 9 · «PREV
SAG
SAG


Promising
Supreme Hero
WCL owner
posted November 24, 2009 08:40 AM

make 1 cell with artifact visible on adventure map
____________
I play HoMM3 at www.heroes-
III.com

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


Famous Hero
posted November 24, 2009 10:23 AM

Making it visible is not the problem. Somewhat more problem is finding the distance. Should be something like dx²+dy²<max, but only on same level. So there have to be 2 nested loops: First loop looping through all heroes, second loop for each hero loop through all whatever, calculate quadratic distance, and if less than something, make the square visible for player.

I'd really suggest to do that loop only once a day, not on every step of the hero. This loop takes time, and this would slow down movement significantly.

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


Promising
Supreme Hero
WCL owner
posted November 24, 2009 10:53 AM

just one loop in !?HM trigger...I don't think it will slow down movement significantly
____________
I play HoMM3 at www.heroes-
III.com

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


Famous Hero
posted November 24, 2009 11:14 AM
Edited by Siegfried at 11:59, 26 Nov 2009.

Hmmm, would be possible. But it would (visually) slow down movement. It would cost time to loop through whole map on every step of the hero. The bigger the map the more movement would visually slow down.

I'd prefere 2 nested loops once a day.

My computer is not that fast (1GHz), maybe your computer is faster and you don't see it slowing down that significantly

-------------------------------------------------------------

For the syneries script i'm currently searching for good ideas for some typical castle combos. Currently first for typical knight combos. So f.ex. leadership/artillery(or ballistics), leadership/offense, leadership/armorer, leadership/archery.

I think leadership/pathfinding should increase combat speed? Leadership/logistics may reduce the after-battle movement loss.

Maybe leadership/offense could add double attack to some stacks? maybe leadership/armorer could add more retaliations to some stacks? Double attack would be permanent for whole battle, more retaliations could change for every turn. Double attack is simply double attack. More retaliations could be as many as 12 (3 for leadership plus 3 for armorer plus 3 for leadership or armorer specialist plus 2 for first skill plus 1 for second skill).

Then i need good ideas for diplomacy/estates ("find" some peasants weekly? Or is that better with eagle eye? Or with scouting? Or give some weekly extra income based of owned towns?), diplomacy/leadership and estates/leadership. All these should be typical knight properties.


Update: O.k., this weekend i'll do the artifact spy script. For now i'll take the spyglass artifact as the key. If anybody wants another artifact, feel free. I'll post the script sunday evening.

until then...

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


Known Hero
posted November 26, 2009 02:42 PM

Hi again, sorry for not being here to comment your progress
I can do it right now :

Leadership/pathfinding : I'd like to add morale depending on the terrain here... but I don't know.
Combat speed is just veeeery powerful. If you want to stick to this idea, the synergy should only add 1 speed to one stack, then to two stack, then to three stacks depending on your skills masteries.

Leadership/logistics : I don't know why I see it as a unique Battle Mage ability... nevermind. Well, anyway I like this one, but I would rather add movement points after battle instead of reduce the loss, only if you win. You get high morale if you win, so your troops can move further this day.

Leadership/offense : ok for the double attack ability, but this way it could be too powerful IMO. Maybe you could just give a chance to a stack to attack with a double strike. Leaderdship mastery would increase the possible number of stacks, offense mastery would increase the chance to double strike.

Leadership/armorer : adding retaliations, yep. Leadership mastery would increase the number of stacks affected. Armorer mastery would increase the number of retaliations (no more than 3 though, except for specialists, even if I'd like to see only one armorer specialist, Tazar of course).

Displomacy/estates : wandering monsters give you gold if you let them flee, or join them (sounds imba ). A retreating hero gives you gold too (virtual gold, not from his own treasury), or increase the surrender effectiveness (useless in solo games). You can also collect resources from your same alignement troops (like the WoG emblem of cognizance) weekly, not only from peasants, since they don't even belong to castle

I don't think that eagle eye and scouting should give synergies to knights. They don't seem to simply fit the class.

Diplomacy/leadership : reduces morale modifiers when you are leading troops of different alignement.

Estates/leadership : hmm, I don't find something good here. Gives morale for each gold mine earned ?
A knight could become a morale monster with all of these synergies.

Hope this helps !

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


Famous Hero
posted November 26, 2009 04:16 PM

Quote:
Hi again, sorry for not being here to comment your progress
I can do it right now :


No problem. I'll continue this weekend, not possible earlier. So there is plenty of time.

Quote:

Leadership/pathfinding : I'd like to add morale depending on the terrain here... but I don't know.
Combat speed is just veeeery powerful. If you want to stick to this idea, the synergy should only add 1 speed to one stack, then to two stack, then to three stacks depending on your skills masteries.


Hmmm. Morale plus is not worth that much. Morale is limited to 3. So after that (and you get it soon as you have leadership) there is no more bonus.
Yes, combat speed is powerful. Maybe very powerful. Give it to 1 stack puts in the question: Which stack? Maybe better add a chance to increase speed? The minimum skill points is 2. The maximum is 6. May be increased by speciality and first 2 skills by 3+2+1=6. So bonus range is 2-12. Maybe use that for a chance of 20%-120% (limited to 100%)?
Quote:

Leadership/logistics : I don't know why I see it as a unique Battle Mage ability... nevermind. Well, anyway I like this one, but I would rather add movement points after battle instead of reduce the loss, only if you win. You get high morale if you win, so your troops can move further this day.


Well basically i already have that movement loss after battle for everyone. This combo may reduce that loss. But it may be imaginable that specialists may even gain a small movement plus. It's a matter of bonus range. Currently standard loss is 300 pts. I could convert the bonus range from 2-12 to a speed bonus of 100-600. So after subtracting 300 then maybe add up to 600. So indeed a specialist may indeed gain some speed from winning a battle, whereas the normal hero may reduce toe speed loss at maximum to 0 (Both skills at expert = 6. 6*50=300. No more bonus if not specialist. I think this might be useful.
Quote:

Leadership/offense : ok for the double attack ability, but this way it could be too powerful IMO. Maybe you could just give a chance to a stack to attack with a double strike. Leaderdship mastery would increase the possible number of stacks, offense mastery would increase the chance to double strike.


Chance yes. But this has to be set as flag at the beginning of the battle, so during battle there is no dynamic change to that. Contrary to the leadership/armorer combo.
So i thought of giving each stack a chance of getting this ability for this battle.

Quote:

Leadership/armorer : adding retaliations, yep. Leadership mastery would increase the number of stacks affected. Armorer mastery would increase the number of retaliations (no more than 3 though, except for specialists, even if I'd like to see only one armorer specialist, Tazar of course).


I thought of each round each stack gaining 1-6 extra retaliations. Or 0-5 extra retaliations. Number of retaliations is random(0,raw_bonus/2), where raw_bonus is, as always, sum of skill expertises + 3 for specialist + 2 for first skill + 1 for second skill. So raw_bonus is always 2-12. Halved is 1-6. This couold be set up at the beginning of each round.

Quote:

Displomacy/estates : wandering monsters give you gold if you let them flee, or join them (sounds imba ). A retreating hero gives you gold too (virtual gold, not from his own treasury), or increase the surrender effectiveness (useless in solo games). You can also collect resources from your same alignement troops (like the WoG emblem of cognizance) weekly, not only from peasants, since they don't even belong to castle


Gold from neutral stacks? Nice idea. I'd just add some gold to the stack before recalculating agression. The remainder just depends on what you're doing
Surrender effectiveness? Hmmm, i'll think about that.
Collect resources from own troops? Not from this combo. This would be better by leadership/estates, i think. But the idea is good.

Quote:

I don't think that eagle eye and scouting should give synergies to knights. They don't seem to simply fit the class.


Well i don't make any difference between classes any more, except necros. It's just that a knight does not have a high probability of getting this. So i think reveal part of map with eagle eye and scouting is o.k.

The golden bow i've already changed. It is now given in field battles if archery and artillery, and in siege battles if archery and ballistics. No more eagle eye.

But i think of implementing something like SAG suggested, for skills, and maybe increased by spyglass and speculum: Revealing artifacts or mines or monsters in a wider circle than normal detection radius. Let's say scouting plus eagle eye basically inables this (reveals monsters?). Plus estates, and mines are revealed (and resource piles?). Plus mysthicism, and artifacts are revealed.
Quote:

Diplomacy/leadership : reduces morale modifiers when you are leading troops of different alignement.


I don't know if this is possible. I have still to find a way how to check or set a BF stacks morale and luck.
Quote:

Estates/leadership : hmm, I don't find something good here. Gives morale for each gold mine earned ?


Estates and leadership is what a "King" should have. So maybe add some bonus for every town owned? Add morale (as soon as i know how), add speed (-> Sir Mullich!), things like that. Maybe all depending on skill levels and number of towns you own. Must own at least 1 town to enable this.
Quote:

A knight could become a morale monster with all of these synergies.


Yes, but that is intentional. This is the focus of knights. So if developing along this focus this should result in typical and significant bonus.
Quote:

Hope this helps !

Yes!

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


Known Hero
posted November 26, 2009 06:57 PM

I'm pretty sure morale is not limited to +/- 3. It is easy to get more even in vanilla Homm 3, and unless I was really lucky, I saw the diffrence between a morale of +3 and a morale of +8 for example.

I don't know if I am right though, maybe someone erudite can help us, you made me doubt about high morale effectiveness now

So, the morale bonuses could be useful, and a knight could be the master of high morale.

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


Famous Hero
posted November 26, 2009 07:20 PM

Quote:

So, the morale bonuses could be useful, and a knight could be the master of high morale.


That's it! That is the main focus of a knight. And should have typical knight bonus.

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


Admirable
Omnipresent Hero
Wog refugee
posted December 15, 2009 09:52 AM

Toc..Toc...anyone still here? It looked nice, how's going Siegfried
____________
Era II mods and utilities

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 9 pages long: 1 2 3 4 5 6 7 8 9 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0676 seconds