AprQ2's triggers (since v1.18)

Forum for Skins, Maps, Configs etc.

Moderators: Moderators, Mappers

Haudrauf
tripped on its own grenade
Posts: 331
Joined: Tue Aug 26, 2003 11:20 am
Location: de
Contact:

Post by Haudrauf »

Haudrauf's silly advanced aprq2.cfg:

if $h_LCA is 3 then the round is running.. if $h_LCA 0, then the round is over..
The script reports enemy down messages as long as the round is running.. afterround is not being counted nor reported anymore.

The enemydown message has a roundfrags counter :P

Code: Select all

// aprq2 specific commands //////////////////////////

set cl_maxfps 120 // i want the physics :)

set r_maxfps 120 // dont overdrive, keep smooth since...:
set gl_swapinterval 1 // have 120hz on my monitor
set s_ambient 0
set cl_async 0

set gl_celshading 1

bind f12 screenshotjpg

untrigger all


trigger "a_enterlevel" "#cl_enterlevel"
trigger "a_changelevel" "#cl_changelevel"

trigger "a_lights" "LIGHTS..."
trigger "a_camera" "CAMERA..."
trigger "a_action" "ACTION!"
trigger "a_roundend" "The round is over:"

set h_LCA 0
set h_roundfrags 0
// this minimizes abuse by other people randomly telling LIGHTS, CAMERA, ACTION.. whatever
alias a_lights "if $h_LCA == 0 inc h_LCA"
alias a_camera "if $h_LCA == 1 inc h_LCA"
alias a_action "if $h_LCA == 2 a_roundstart"
// if h_LCA is 3 then the round is running

alias a_roundstart "set h_LCA 3; set h_roundfrags 0"
alias a_roundend "set h_LCA 0"


alias a_enterlevel "h_mapstart"
alias a_changelevel "h_mapend"

alias t_1enemydown "if $h_LCA == 3 t_2enemydown"
alias t_2enemydown "inc h_roundfrags; t_enemydown" // routes to real killmessage
alias t_enemydown "radioteam enemyd;   say_team :: (ˆ) erased $h_roundfrags (ˆ) (%K - $loc_there$)" // "enemy down"


// ssg killtriggers
trigger "t_1enemydown" "* scope thanks to $name$"
trigger "t_1enemydown" "* between the eyes from $name$"
trigger "t_1enemydown" "* picked off by $name$"
trigger "t_1enemydown" "* sniped in the stomach by $name$"
trigger "t_1enemydown" "* shot in the legs by $name$"
trigger "t_1enemydown" "* was sniped by $name$"

// knife killtriggers
trigger "t_1enemydown" "* throat slit by $name$"
trigger "t_1enemydown" "* surgery, compliments of $name$"
trigger "t_1enemydown" "* was gutted by $name$"
trigger "t_1enemydown" "* was stabbed repeatedly in the legs by $name$"

//kicks
trigger "t_1enemydown" "* ass kicked by $name$"
trigger "t_1enemydown" "* Bruce Lee put on it by $name$ *"

//punches
trigger "t_1enemydown" "* got a free facelift by $name$"
trigger "t_1enemydown" "* was knocked out by $name$"

//flyby :)
trigger "t_1enemydown" "* was taught how to fly by $name$"


// everything else.
trigger "t_1enemydown" "* underestimated $name$'s *"
trigger "t_1enemydown" "* accepts $name$'s *"
trigger "t_1enemydown" "* ate $name$'s *"
trigger "t_1enemydown" "* via $name$'s *"
trigger "t_1enemydown" "* after $name$'s *"
trigger "t_1enemydown" "* from $name$'s *"
trigger "t_1enemydown" "* of $name$'s *"
trigger "t_1enemydown" "* to $name$'s *"
trigger "t_1enemydown" "* by $name$'s *"
trigger "t_1enemydown" "* caught $name$'s *"
trigger "t_1enemydown" "* against $name$'s *"
trigger "t_1enemydown" "* remove $name$'s *"
trigger "t_1enemydown" "* ph34rs $name$ so much he *"



// useful hit-triggers:
// sniper
//trigger "t_hithim" "You hit * in the stomach"
//trigger "t_hithim" "You hit * in the legs"
trigger "t_hithim" "* you have AP rounds..."

//m4
//trigger "t_hithim" "You hit * in the legs"
//

ImageOwner of http://aq2maps.quadaver.org
Not part of #aq2admins for a reason.
S3ci0r
tried to put the pin back in
Posts: 288
Joined: Wed Jul 20, 2005 4:20 am
Location: pl
Contact:

Post by S3ci0r »

I hate semi-auto pistol:

Code: Select all

trigger "weapon" "MK23 Pistol set for semi-automatic action"
Image
Janner
found a way out
Posts: 200
Joined: Tue Mar 08, 2005 12:09 pm
Location: nl

Post by Janner »

I think that's an echo, which won't trigger. I've made a whole script based on echo's, which i discovered after... Maybe in next Apr version :D
Cnnlngs
plummets to its death
Posts: 68
Joined: Wed Oct 05, 2005 8:34 pm
Location: cl

Post by Cnnlngs »

it's not an echo :shit:
Janner
found a way out
Posts: 200
Joined: Tue Mar 08, 2005 12:09 pm
Location: nl

Post by Janner »

It isn't? Then I have to be doing something wrong with that script... I will take a look into it some day...
stan0x
killed itself
Posts: 407
Joined: Sun Aug 29, 2004 4:17 pm
In-game Name: stan0x
Location: Netherlands
Operating System: Windows 7, linux
Processor model/speed: i7 2600K
Memory: 16GB DRR3
Hard drive: 1 x 240GB SSD 5 x 2 TB
Graphics card: GTX470
Monitor: LG
Mouse: MX
Keyboard: Steelseries G7
Location: nl

Post by stan0x »

any new stuff ?

like to share ????????

:bday:
#clan.fubar #narf #heks #aq2world
S3ci0r
tried to put the pin back in
Posts: 288
Joined: Wed Jul 20, 2005 4:20 am
Location: pl
Contact:

Post by S3ci0r »

sure...

Code: Select all

trigger	"_sniper_check"	"*has a Kevlar*AP*"
trigger	"_sniper_check"	"you hit * in the chest"
trigger	"_sniper_check"	"you hit * in the stomach"
trigger	"_sniper_check"	"you hit * in the legs"

alias		"_sniper_check"	"if $cl_weaponmodel eq models/weapons/v_sniper/tris.md2 then _enemyhit"
alias		"_enemyhit"		"say_team -###- %P's hit in the %D form the SNIPER RIFLE -###-"
Image
SuicidaLP
bleeds to death
Posts: 459
Joined: Sun May 13, 2007 10:51 am
Location: pt
Contact:

Post by SuicidaLP »

S3ci0r wrote:sure...

Code: Select all

trigger	"_sniper_check"	"*has a Kevlar*AP*"
trigger	"_sniper_check"	"you hit * in the chest"
trigger	"_sniper_check"	"you hit * in the stomach"
trigger	"_sniper_check"	"you hit * in the legs"

alias		"_sniper_check"	"if $cl_weaponmodel eq models/weapons/v_sniper/tris.md2 then _enemyhit"
alias		"_enemyhit"		"say_team -###- %P's hit in the %D from the SNIPER RIFLE -###-"
:P just a bug form instead of from xD
Image
Stric
needs some Pepto Bismol
Posts: 730
Joined: Tue Jul 29, 2003 5:41 am
Location: si
Contact:

Post by Stric »

I do ROFL :santa:
Image
Image
^stric^
Pe0n
was flattened
Posts: 139
Joined: Fri Jan 27, 2006 4:11 pm
Location: jm
Contact:

Post by Pe0n »

:hop: :hop: :hop:
Image
Post Reply