[Ohrrpgce] [ohrrpgce:bugs] #2031 Hero slices are associated with caterpillar ranks rather than heroes

Bob the Hamster bob_the_hamster at users.sf.net
Mon Jan 22 07:38:52 PST 2018


> Closely related, there are always 4 hero slices regardless of the number of heroes in the active party.

This part is not a bug, definitely intentional. I have plenty of scripts that manipulate all four members of the caterpillar without checking if they exist yet or not. (Like Inn scripts, for example)

I do understand what you mean about it being potentially confusing, but I would rather just document this better. Making them into template slices is an interesting idea.

> Hero slices act rather weird

Agree, that needs to be fixed.

> Also, I think it would be good if hero slices were preserved even when a hero is in the reserve party

That is interesting!
It would be cool to be able to fetch a handle to reserve hero slices. It would be nice to be able to set up any slice modifications for the whole part, both active and reserve, in one script.

I like the idea of keeping a hidden toplevel for disconnected slices



---

** [bugs:#2031] Hero slices are associated with caterpillar ranks rather than heroes**

**Status:** open
**Milestone:** OHRRPGCE
**Created:** Mon Jan 22, 2018 03:02 PM UTC by TeeEmCee
**Last Updated:** Mon Jan 22, 2018 03:02 PM UTC
**Owner:** nobody


Hero slices act rather weird. Slices are assigned to heroes based on their rank. If their rank changes (due to add, delete or swap of heroes) then their slices get reassigned, and the sprites and positions updated to match the hero. But any other slices you've parented to the hero slice will suddenly be parented to a different hero.

Closely related, there are always 4 hero slices regardless of the number of heroes in the active party. I know this has tripped people up, for example, it's very unexpected for "find slice at point" to find a hero that doesn't exist. I intend to mark these slices as template slices to reduce those problems. But it would be better to get rid of them.

Both changes would need a backcompat bit. (It would be the same one)

Also, I think it would be good if hero slices were preserved even when a hero is in the reserve party, so that you don't need to re-stepup slices when the party changes (in future I expect they will be preserved in saved games like other slice) and so that they can be used in future in the Party special screen or other uses.
It's perfectly legal to have slices disconnected from the slice tree, but that creates so many possible edgecases. A safer solution is probably to have a special hidden toplevel slice in the slice tree for storing "disconnected" slices.


---

Sent from sourceforge.net because ohrrpgce at lists.motherhamster.org is subscribed to https://sourceforge.net/p/ohrrpgce/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/ohrrpgce/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20180122/5bd10eb5/attachment.html>


More information about the Ohrrpgce mailing list