Forum

Idea - list of effects

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Idea - list of effects

Postby daemonicky » Thu Apr 28, 2011 11:22 am

In Oblivion you can be invisible for 20 second and have 20 times tronger armor, imbue weapon ... you can put something in a chest. You can poison dagger ... I thought, tt would be awesome to have it in Quake.

They seem to me as effects which can be combined at will. With some restrictions of course.

Lets have linked list of entities. Assigned to for example weapon. They would represent those skills, effects like poison, possibility of breaking, flame ... Each time weapon hits, weapons effect list is walked and effects applied (Weapons touch handler would fire all touch handlers on its entities).

What about poisonous blade which breaks after 20 minutes (send owner T_Damage(99999) :) )? In order for effects to communicate with weapon all entities in a list would have an owner, that weapon.

I havent implemented it yet, but it might be cool. Has similar list of effect entities been made in some mods or have you made one :?:
User avatar
daemonicky
 
Posts: 185
Joined: Wed Apr 13, 2011 1:34 pm

Postby frag.machine » Fri Apr 29, 2011 1:13 am

A poison effect applying 99999 of damage at once would just explode the victim in gibs and look weird. If you're going to do that, make it to apply smalls and frequent amounts of damage (say, 2-4 damage every second for 30-45 seconds).
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest