Double jump powerup

Locked
Kabus
Posts: 5
Joined: Fri Feb 12, 2010 10:04 pm

Double jump powerup

Post by Kabus »

Hello, I want to do a Q3 arena mod. I need to do a double powerup, but I dont know how on it.
For start I please any step by step tut (I´m newbie).
Thx.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Double jump powerup

Post by ^misantropia^ »

You want to add a new power-up? Search the game/ and cgame/ source for e.g. PW_REGEN or PW_HASTE, that should give you an indication of how power-ups are implemented in Q3A.
Kabus
Posts: 5
Joined: Fri Feb 12, 2010 10:04 pm

Re: Double jump powerup

Post by Kabus »

Ok, I think, that in g_active.c, how I do double jump function?
Whispere
Posts: 25
Joined: Sun Jan 17, 2010 5:22 pm

Re: Double jump powerup

Post by Whispere »

It is good idea. You must edit g_active.c,
bg_public.h, bg_misc.c, bg_pmove.c.
Locked