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: Regrowth
Thread: Regrowth
Brian_the_Fist
Brian_the_Fist


Hired Hero
posted June 11, 2004 05:57 PM

Regrowth

How to restrict witch huts (/universities/...) to a choice of skills?

How does the monster-selection work in script20.erm (by Pulver & Jonnson)?
Are monsters chosen from a player's army? If so, how to get them chosen from all available (influenced by strongest creature owned by any player)?
How to restrict monster weeks to a choice (/list) of monsters?
How to generate a few (and different) monsters (on the map) each day (or by trigger)?

I'd like to make a script doing the following:
Each step a hero moves, there shall be a small chance of a few creatures (from one or more types) appearing, willing to join the hero (or fightable by choice). How can it be done?


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


Hired Hero
posted June 14, 2004 05:34 PM

Dear Fnord ...

Please! Help me with those monster-& skill-lists!

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


Promising
Famous Hero
posted June 18, 2004 11:16 PM

Quote:
How to restrict witch huts (/universities/...) to a choice of skills?

How does the monster-selection work in script20.erm (by Pulver & Jonnson)?


It's rather complicated. The "week of" cycles through each type of week -- one for each player plus one resource week plus one random week, but it also "remembers" the last monster chosen for a player or week and won't repeat it the next time through the sequence (at least it shouldn't).

The actual selection from a player's army is done the week before -- all heroes are cycled through and one is chosen randomly. If I recall, the town garrisons may also be used if a hero isn't on the adventure map.

Quote:

Are monsters chosen from a player's army? If so, how to get them chosen from all available (influenced by strongest creature owned by any player)?



I'm not quite sure what you mean, but the script is complex and I don't even like editing it too much anymore because it's really easy to mess things up.

Quote:

How to restrict monster weeks to a choice (/list) of monsters?



You'd probably have to write a new script. It could take awhile. Doing a "week of" script is more complex than it seems (at least it was for me).

Quote:

How to generate a few (and different) monsters (on the map) each day (or by trigger)?



You would need a script with a daily timer and then to generate a random number for the monster type. Then generate another set of numbers for location and place the monsters with the UN:I command (as long as the location is empty and clear).

Quote:

I'd like to make a script doing the following:
Each step a hero moves, there shall be a small chance of a few creatures (from one or more types) appearing, willing to join the hero (or fightable by choice). How can it be done?



Use a !?HM-1; trigger for hero movement. This will activate each step a hero takes.

Then, generate a random number for the monster (see the Format C list). See the VR receiver for information about generating random numbers but it's something like the following:  !!VRv1:S0 R173;

Note, there are some numbers you'll always want to skip--the war machines, ghosts, unused entries, etc.

Use the HE-1:C2 command to give monsters to a hero. You can ask beforehand with an IF:Q dialogue if you want to give the player a choice. To have the monster fight, use an HE-1:T command to initiate a battle (see the HE receiver for details) -- v998/v999/v1000 will have the current hero location so you can use that for the battle location parameters.


____________

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


Hired Hero
posted July 02, 2004 12:06 PM

to Fnord

Thank you, kind sir!

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


Promising
Famous Hero
posted July 02, 2004 08:07 PM

Quote:
Thank you, kind sir!



You're welcome. I hope you're able to get your script working the way you want it.
____________

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