Forum

frag flash

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Postby FrikaC » Wed May 31, 2006 2:45 am

As I've said before I've been intentionally sabotaging QCCX support for some time. As a prelude to a phase out.
FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby the bamph » Thu Jun 08, 2006 1:40 pm

update

well, the palfrom thing doesn't work here (I've tried every combination possible, still nothing)

so

i've put a centerprint and stuffcmd after the attacker frag count and now i get a (barely noticeable) screenflash and FRAG word when i kill someone. It's not too fancy, but I guess it'll have to do. :roll:
the bamph
 
Posts: 10
Joined: Sun Apr 16, 2006 10:05 am

Postby Dr. Shadowborg » Thu Jun 08, 2006 4:51 pm

the bamph wrote:update

well, the palfrom thing doesn't work here (I've tried every combination possible, still nothing)

so

i've put a centerprint and stuffcmd after the attacker frag count and now i get a (barely noticeable) screenflash and FRAG word when i kill someone. It's not too fancy, but I guess it'll have to do. :roll:


If you want to use Palfrom, use it in the function Killed, which is located in combat.qc. Place it just under where clientobituary is called, put in checks to make sure that the target isn't the attacker, and make sure that the origin for the effect is attacker.origin. It should work like a charm. :wink:

Oh, and if you're still using reaperbots, make sure you put in a check to ignore applying the effect to them, otherwise something bad could happen. Frikbot does it automatically, but reapers are a different story. (I looked at reaperbots once a loooong time ago, the code scared the crap outta me, but then I found Frikbot, and have been using them quite happily ever since.)
User avatar
Dr. Shadowborg
InsideQC Staff
 
Posts: 1110
Joined: Sat Oct 16, 2004 3:34 pm

Postby the bamph » Thu Jun 08, 2006 9:08 pm

Dr. Shadowborg wrote:Oh, and if you're still using reaperbots, make sure you put in a check to ignore applying the effect to them, otherwise something bad could happen. Frikbot does it automatically, but reapers are a different story. (I looked at reaperbots once a loooong time ago, the code scared the crap outta me, but then I found Frikbot, and have been using them quite happily ever since.)


i switched to Frikbot too recently. :D

i'll try what you posted, thanks!
the bamph
 
Posts: 10
Joined: Sun Apr 16, 2006 10:05 am

Postby the bamph » Fri Jun 09, 2006 5:29 pm

i just updated my combat.qc and FINALLY, it works! :o

BTW, i had to move the combat.qc under client.qc in progs.src too.

thanks Dr.Shadowborg for the tutorial and pointers and thanks everyone else for opening my eyes and saving me from the tyranny of ProQCC and Reaperbots. :wink:
the bamph
 
Posts: 10
Joined: Sun Apr 16, 2006 10:05 am

Postby the bamph » Tue Jun 13, 2006 3:30 pm

after a bit of tweaking and playing, i've cusomized the Frikbots to suit my needs (woohoo!). Here are screenshots:

http://i49.photobucket.com/albums/f285/ ... quake1.jpg
the centerprint in that shot ^^^ is the word "FRAG", the screenflash has an intensity that is noticeable but it doesn't hurt your eyes if you deathmatch with it hardcore-style

http://i49.photobucket.com/albums/f285/ ... quake2.jpg
(centerprint for suicide, no screenflash effect)

if anybody wants a tutorial for this, just tell me and i'll make one.
the bamph
 
Posts: 10
Joined: Sun Apr 16, 2006 10:05 am

Previous

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest