Another update.
This time I've created NPC and quest systems.
This is how NPC are placed in Hammer Editor (I've decided to borrow VMF preprocession trick from ArcJail):

And this is what generated from VMF Preprocessor:
Syntax: Select all
{
"npcs": [
{
"angles": "0 180 0",
"origin": "-155.23 -2039 264",
"class": "chemist"
},
{
"angles": "0 25.5 0",
"origin": "-1674 -1678 264",
"class": "tele_master"
},
{
"angles": "0 0 0",
"origin": "-728 660 0",
"class": "tutor"
},
{
"angles": "0 180 0",
"origin": "-272 -860 0",
"class": "gun_merchant"
}
]
}
This is how NPC classes are defined in ArcRPG data files:
Syntax: Select all
# tele_master.json
{
"name": "npc tele_master name",
"talk": "npc tele_master talk",
"model": "models/humans/group01/male_03.mdl",
"animation": "plazaidle4",
"sprite": "arcrpg/npc_names/tele_master.vmt",
"sprite_offset_z": 58
}
You can place multiple instances of the same NPC class in Hammer editor.
I hope y'all like it!