forums | blogs | polls | tutorials | downloads | rules | help

Add new comment

HardLess wrote:
I'll take a look at this, in order to know if I could work something out and get this hire shop working. Perharps it does not need to much tweaking, and they already did most of the work.

This is the kind of thing I don't understand, it is like GPG released there games before the end of the dev. It is like the formations system, which has its icons and some codes here and there, but finally nothing in-game.


You are right, most of the work has been done. I've been able to get the hire shop working and hire a mercenary.

What I did was copy hire_shops.gas from World.ds2map to the info folder of my test map. I then changed the hire_templates to hero_human_male and hero_human_female instead of farmboy and farmgirl.

Then I added a custom npc to the map (with a conversation of course - based on one of the pet seller conversations from the Legendary Mod). Working from what components.gas stated I added a hire block with a screen_name = "Aranna Mercenaries". In the store block I added can_sell_members = true; as it seemed to crash the game if it was omitted as soon as you clicked on the store. As well I added a local_spec = act_1_spec; to tell the storekeeper what he was selling.

You could control the mercenary and even open his inventory but as you see he actually has no inventory as such. Otherwise everything seemed to work except I couldn't close the store window (clicking on the x in the top right corner did nothing).

And that's as far as my little experiment got. Except as you noticed the mercenary was added as a fifth member to a four member party that hasn't purchased a fifth slot yet. However the six character limit seems hard coded as the game wouldn't allow me to add a mercenary to a six member party. However if you're doing away with party members as such, this limit isn't of concern to you.