C
cpate
Guest
Hi all! I'm quite new to this so I appreciate all feedback.
I'm currently trying to figure out how to best approach having numerous NPCs with varying importance (more important -> more features), different dialogue, etc.
I had originally thought to create one generic NPC object and create ini files to set the name, sprite, dialogue options, etc., for each NPC. But now I'm considering having different NPC objects depending on their function (merchant vs bystander). Which still leaves me with the option of creating ini files for each instance of merchant or bystander.
The reason I want to have this information stored externally (as opposed to in the Creation Code of each instance) is because if I find it more adaptable and simpler to change. Is this recommended?
Essentially what I'm asking is the following:
1. What are good practices in terms of organization and performance for creating numerous (>100) NPCs? External storage and generic objects, one object per NPC, etc.
2. Assuming external storage is the way to go, are ini files recommended?
Thanks!
I'm currently trying to figure out how to best approach having numerous NPCs with varying importance (more important -> more features), different dialogue, etc.
I had originally thought to create one generic NPC object and create ini files to set the name, sprite, dialogue options, etc., for each NPC. But now I'm considering having different NPC objects depending on their function (merchant vs bystander). Which still leaves me with the option of creating ini files for each instance of merchant or bystander.
The reason I want to have this information stored externally (as opposed to in the Creation Code of each instance) is because if I find it more adaptable and simpler to change. Is this recommended?
Essentially what I'm asking is the following:
1. What are good practices in terms of organization and performance for creating numerous (>100) NPCs? External storage and generic objects, one object per NPC, etc.
2. Assuming external storage is the way to go, are ini files recommended?
Thanks!