Mirage Source
So I said I was finished with my quest system... - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: So I said I was finished with my quest system... (/showthread.php?tid=1672)



So I said I was finished with my quest system... - Rian - 11-04-2008

And I did, but I thought of one last thing I kinda want to add. The problem is, I can't think of how to do it.

In my quest system, you can make the player kill npcs to complete the quest. I want like, a special "Boss" kind of npc, that only spawns on the map if the player has to kill it for a quest. That way you can randomly have a giant NPC that attacks on sight rampaging through a map (or several maps) in noob town.

I figured there's a couple different ways to approach it, either adding a new variable to npcs, or to the map properties. But when it actually comes to checking if a player on the map has a quest with a "boss" npc, and spawning that npc only when that player is on the map.

Keep in mind, I haven't started coding this at all. Just been brainstorming and looking at the spawn npc sub. Help me brainstorm mirage.


Re: So I said I was finished with my quest system... - Joost - 13-04-2008

I have a quest system as well. Basicly, 100 flags in player file, and a talk system. And I'll just add in the KillNPC() sub If NpC = 13 then Flag12 = True

No fuxadvanced questeditor, but it does the job perfectly.


Re: So I said I was finished with my quest system... - Dr. Spoon - 16-04-2008

well as far as having an npc show up on a specific map
after a certain set of requirements is possible..
using the old source code i released a long time ago
in that one i had npcs that only showed up at night time..
that system could easily be adapted to
show any specific npc once a certain conditions have been met

the source code is still around here some place
it may help but hey its just an idea