|
|
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?
|
|
Brian_the_Fist
Hired Hero
|
posted June 14, 2004 05:34 PM |
|
|
Dear Fnord ...
Please! Help me with those monster-& skill-lists!
|
|
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.
____________
|
|
Brian_the_Fist
Hired Hero
|
posted July 02, 2004 12:06 PM |
|
|
to Fnord
Thank you, kind sir!
|
|
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.
____________
|
|
|