Menu

Tools Commit Log


Commit Date  
[r2420] by damon_caskey

komap {map} {apply}: Remap when KO'd.

{map}: Remap index.
{apply}: 0 = Apply as soon as entity touches ground from fall. 1 = Apply on last frame of fall or death animation.

2009-09-28 15:56:12 Tree
[r2419] by damon_caskey

New script Event: onpainscript - Fires after all pain values are set to entity. Returns following variables:

void self: Calling entity.
int type: Attack type.
int reset: Reset flag for pain animation.

Openborvariant additions:

float lasthitx: X location of last hit.
float lasthita: Y location of last hit.
float lasthitz: Z location of last hit.

New attack supplement: staydown {rise} {riseattack}

{rise} - Additional time in centiseconds before entity's next rise.
{riseattack} - Additional time in centiseconds before entity's next riseattack. If -1, entity cannot rise attack at all.

Both values are reset once entity rises or rise attacks. Open to get & changeentityproperites as:

int iRise = getentityproperty(vEntity, "staydown");
int iRiseattack = getentityproperty(vEntity, "staydownatk");

changeentityproperty(vEntity, "staydown", {rise}, {riseattack});

2009-09-26 00:49:53 Tree
[r2418] by damon_caskey

Added openborvariants: lasthitx/a/z.
New script event: onpain - fires immediately after entity is put into pain animation. opens up some new tricks with hit reactions.

2009-09-25 16:14:25 Tree
[r2417] by utunnels

Removed a debug print.

2009-09-24 07:49:25 Tree
[r2416] by utunnels

Spawn weapon item at z=100000 so it won't get killed by the engine instantly.

2009-09-23 12:46:19 Tree
[r2415] by utunnels

Change bikder's offscreenkill value to 300.

2009-09-23 08:45:37 Tree
[r2414] by utunnels

Add model header command "offscreenkill".

2009-09-23 08:02:35 Tree
[r2413] by utunnels

Added colourmap to getentityproperty

2009-09-23 06:43:07 Tree
[r2412] by utunnels

Fixed blendfx command for alpha 1.

2009-09-22 15:38:47 Tree
[r2411] by damon_caskey

Entity script: onkillscript - Runs when engine clears entity from play. Useful to clear out any leftovers, variables, or whatever without messing up death routines.

2009-09-22 14:24:17 Tree
Older >
MongoDB Logo MongoDB