Change NPC Apperance
Hello!
I'm working on an epic quest that is laid out as follows: You either align yourself with Freeport / Qeynos (EQ2-like) and the quest will you take through a story line of which faction controls the city. So Freeport could control Qeynos and Qeynos to Freeport. When this happens, I would like to change the guards to match their respective colors (Pretty much a database appearance update) Is anything like this even possible? I know you can change some stats but not sure if the quest system can interact with the database doing a mass change. |
Quote:
Code:
sub EVENT_SPAWN { You can add this into your global default.pl or you can just put the one on the bottom into each individual script. Code:
sub EVENT_SPAWN { |
You can also check out Spawn Conditions as outlined here a little:
http://www.eqemulator.net/wiki/wikka...pawnConditions I'd also recomend checking out the quests associated with Sleepers (the four dragons) as a good example. This might take a bit more work, but could let you have separate factions and npcs that spawn (a cosmetic/texture change would leave freeport guards on freeport faction despite looking like qeynos guards). |
Quote:
|
Spawn Conditions are what makes the Day/Night cycle work. They can be queued with a quest script, and give you a second set of NPCs that will spawn.
You would then, I believe, have to add in the new NPC spawn points at the various points around the town. It would be somewhat labor intensive. This would let you give each guard a unique name, look, faction, loot set, ect. |
This gives me a really cool idea on a way to use spawn conditions Day/Night cycles. You could make a city under control by one faction during the day and a different one at night. Kithicor was done similar to that essentially, but doing it with a city is more interesting. You could even phase in certain sets of opposing npc faction spawns to gradually spawn at sunrise and sunset then remaining static for awhile until the next cycle.
Now by phasing them in you could create a cycle of conflict between NPC's during those hours. The dynamics of it could be really impressive you could kind of create a sort of Trojan Horse atmosphere if you will where a city gets ransacked during the night. |
Shards of Dalaya has done some of that to a lesser extent. They have merchants and stores closing at night, along with some shady merchants coming out. I could see some more intense rotations being interesting...perhaps gambling, criminals, and drunks that attack you if you get too close. Hehe.
|
Qeynos already has the corrupt guards spawning in the evening. Just need to expand upon it.
Quote:
|
All times are GMT -4. The time now is 04:24 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.