PDA

View Full Version : Area Names?



Zarian
14-09-2008, 16:03
Okay, I'm not good at searching through forums, so forgive me if this is posted elsewhere :P.

In MBII maps, on the team overlay, it states where your teammates are in the map. I'm wondering how to do this in my own maps. I've looked everywhere and found nothing :S.

For example, in mb2_dotf, it reads things like 'Main Corridor', 'Generator Shaft' etc. etc.

Thanks,

~Zarian Makasi

DarthNormaN
14-09-2008, 16:22
thats done via target_locations
just read the entity def for more information about how to use it ;)

Zarian
14-09-2008, 16:57
Ah, thats exactly what I wanted! Thanks for the (crazily) fast reply o.o

~Zarian

Zarian
16-09-2008, 19:02
BUMP. I have another question :P.

How do I add a custom NPC to my map? The npc_spawner entity reads from the npcs.cfg. Can I pack my own version of npcs.cfg into my pk3? Because just creating the npc and placing it in ext_data > npcs doesn't work with npc_spawner. o.o

And, where can I find npcs.cfg in the first place?

~Zarian

Pilo T
16-09-2008, 19:12
Ah, thats exactly what I wanted! Thanks for the (crazily) fast reply o.o

~Zarian

20 minutes is crazy fast? I wish I had your sense of time while I was at class/work.:|

As for the NPC thing, it sounds like you've got the right idea. It's been a LONG while since I dealt with NPCs, though, so I can't remember exactly.

Zarian
17-09-2008, 13:54
20 minutes is crazy fast? I wish I had your sense of time while I was at class/work.:|

Yeah, most forums I'm on it takes at least a day to a week to get a reply XD.

Zarian
17-09-2008, 16:00
The thing is, I did a search through all of my base assets folder and can't find npcs.cfg. Does it even exist in JKA?

Frost
17-09-2008, 17:18
You don't need npcs.cfg. You just need a file.npc in the ext_data > npcs folder with your npc definitions and name. Then you use the npc name in the spawner.