.qc (dot qc) - the group for quake c coders of all denominations. If you make quake one mods and write code in quake c, join our group! I'll try to answer any quake c questions - please post your inquiry in the forums...

Forum Thread
  Posts  
Dummy items (Groups : qc : Forum : vault() : Dummy items) Locked
Thread Options
numbersix
numbersix quake-c coder++
May 29 2014 Anchor

Say you try to load a map from another mod, and see this:

PRVM_ED_ParseEpair: Can't find function monster_newguy in server
Host_Error: PRVM_ED_ParseEdict: parse error

What gives?

The map author is referencing a monster spawn function (monster_newguy) on the map. If you are not running the mod that supports it the map can fail to load.

If you want to load this map on your mod without adding these monsters you can:

void() monster_newguy =
{
// you could easily uncomment the next line to convert this into a soldier
// monster_army();

};

Compile your qc code and load the map.

This can also be used as a quick way to permanently remove unwanted items...
Note: you may have to find and comment out duplicate function defines!

Say you dont fancy the ring of shadows - open items.qc and:

void () item_artifact_invisibility =
{
// convert it by uncommenting
// item_artifact_invulnerability();

};

No more rings will appear.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.