Rage through 32 single player levels and 6 deathmatch levels of sheer terror and fully immersive sound and lighting. Arm yourself against the cannibalistic Ogre, fiendish Vore and indestructible Schambler using lethal nails, fierce Thunderbolts and abominable Rocket and Grenade Launchers.

Report abuse NPC WITH USE CODE IN QC (src files)
Filename
ceriuxs_npcqc_fix0red_by_dr.zip
Type
Tutorials
Uploader
ceriux
Date
Feb 8th, 2010
Size
0.24mb (256,379 bytes)
Downloads
222 (1 today)
Embed Button
Mirrors
Download now
Description

Contains a src for a NPC system i coded and was fixed up by Dr. Shadowborg. By looking over this source you should be able to learn how to code an npc, menu , and a use key.


want your npcs to say different things? change the  code like so.

Different menus can be done as simply as changing this bit in npc_use(); from this: 

code:
// if we hits an npc, then yays, we can talk to him! 
         self.npc_menu = 1;

to this: 

code:
// if we hits an npc, then yays, we can talk to him! 
         self.npc_menu = trace_ent.npc_menu;

and then setting the map entity's npc_menu field to whatever you want.

Preview Image
NPC WITH USE CODE IN QC  (src files)
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Quake
Platforms
Windows, Mac, Linux, DOS, N64, DC
Developer & Publisher
id Software
Engine
Quake Engine
Contact
Send Message
Official Page
Idsoftware.com
Release Date
Released Jun 18, 1996
Game Watch
Track this game
Download
Browse
Downloads
Add Download
Members only
Report Abuse
Report download
MD5 Hash
cfab1bc35868299e19f8afdb46b7f3d3
Related Games
Quake
Quake Single & Multiplayer First Person Shooter
Related Engines
Quake Engine
Quake Engine GPL Released Jun 22, 1996
Related Groups
id Software
id Software Developer & Publisher
QuakeDB
QuakeDB Fans & Clans group with 140 members