Some Newbie questions.


(Magus) #1

Hi everyone,

I’m rather new to modding Q3-based game code so I have some questions:

  1. How can I rearrange the weapons that can be selected in the limbo menu, ie. If I want to give a Soldier the Garand with Rifle Grenade, where do I go to do this?

  2. I want to make a slow poison syringe that gets neutralised after a medic jabs his poisoned buddy, or he picks up a med-pack. I tried sifting through the G_BurnMeGood but its mostly Greek to me. I know this will take some doing, including adding new entity states etc. What I need to know is how to do the periodic damaging of the player.

  3. I want to allow the Covert Ops to Spot for mortar carrying soldiers. I found the artillery strike code but I cant find were it designates an area for mortar teams.

Any help would be appreciated.


(sniser) #2
  1. try ClientTimerActions() in g_active.c?

  2. Check out the cg_commandmap.c, g_teammapdata.c and prolly others :slight_smile:


(nUllSkillZ) #3

1.) I’ve just posted my addition of a new weapon (a poison syringe) at the thread:
Deadly Syringes
Because I’ve included this as new weapon you can take a look at source (download link in the mentioned thread).
I haven’t changed the limbo menu because the special weapons are not displayed there.

EDIT:
In addition you will find the weapons according to classes also in the file “bg_classes.c”.


(Magus) #4

Thanx Guys, been most helpful, I will check those files post haste

:banana: