[Ohrrpgce] SVN: james/8566 Add two new NPC movement types, "Chase You (Direct)" and "Avoid You (Dir
James Paige
Bob at hamsterrepublic.com
Tue Mar 21 10:44:01 PDT 2017
Here is some thinking-out-loud:
What if there was an NPC option to change the target of Chase/Avoid ?
Possible values:
* leader (current default)
* hero slot 1,2,3
* last hero in caterpillar
* other NPC
What would be the best way to implement NPC following?
The easiest way would be to add a couple values to the NPC definition, one
for NPC ID, and another for copy count. That would also leave open the
option later on to add a convenient target-picker in the map editor in NPC
placement mode... but all copies of an NPC ID would all need to have the
same target.
Perhaps a better option would be to make Chase/Avoid target an NPC instance
property. That would require me to create a convenient target-picker in the
map editor right now... but then I will need to implement npcloc-#.reld map
lumps before I can implement it.... so not really any downside, just more
upfront work I need to do to make it happen this way.
On Tue, Mar 21, 2017 at 10:27 AM, <subversion at hamsterrepublic.com> wrote:
> james
> 2017-03-21 10:27:31 -0700 (Tue, 21 Mar 2017)
> 185
> Add two new NPC movement types, "Chase You (Direct)" and "Avoid You
> (Direct)"
> The existing Chase/Avoid types have been recaptioned "Chase You
> (Meandering)" and "Avoid You (Meandering)"
> ---
> U wip/customsubs.rbas
> U wip/game.bas
> U wip/game.bi
> U wip/testgame/npcwalktest.rpg
> U wip/udts.bi
> U wip/whatsnew.txt
> U wip/yetmore2.bas
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170321/162fccd2/attachment.htm>
More information about the Ohrrpgce
mailing list