Notices

Addoutput Syntax Question  Thread Tools Reply
Old 05-19-2012, 10:53 AM   #1
SV_CHEATS 1
L1: Registered
 
SV_CHEATS 1 is offline
Posts: 13
Thanks: 1
Thanked: 0

Default Addoutput Syntax Question


How do you form an addoutput
 
Last edited by SV_CHEATS 1; 05-19-2012 at 03:51 PM.
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 05-19-2012, 02:14 PM   #2
A Boojum Snark
Toraipoddodezain Mazahabado
 
A Boojum Snark's Avatar
 
A Boojum Snark is online now
Posts: 4,308
Thanks: 112
Thanked: 4,498

Default Addoutput Syntax Question


I believe the OnIgnite output is your problem. It is the counterpart to the Ignite input, which is not pyro fire in TF2, is it base Source/HL2 fire. If you send an Ignite to yourself ingame you will see it is different and broken.

If OnIgnite does actually work with TF2 fire and that isn't the issue, I have a couple more ideas:

What commands? Some commands cannot be executed via a p_cc to prevent malicious activity.

You are firing from a case, have you verified that the AddOutput is properly being sent to the player entity? Certain entities do not handle !activator properly and there may be an issue in your logic chain.

__________________
(>^_^)>---[] Mapper Kirby says you must get:
Ultimate Mapping Resource Pack! UPDATED for Steampipe!

 
Reply With Quote
Old 05-19-2012, 02:58 PM   #3
SV_CHEATS 1
L1: Registered
 
SV_CHEATS 1 is offline
Posts: 13
Thanks: 1
Thanked: 0

Default Addoutput Syntax Question


Quote:
Originally Posted by A Boojum Snark View Post
I believe the OnIgnite output is your problem. It is the counterpart to the Ignite input, which is not pyro fire in TF2, is it base Source/HL2 fire. If you send an Ignite to yourself ingame you will see it is different and broken.

If OnIgnite does actually work with TF2 fire and that isn't the issue, I have a couple more ideas:

What commands? Some commands cannot be executed via a p_cc to prevent malicious activity.

You are firing from a case, have you verified that the AddOutput is properly being sent to the player entity? Certain entities do not handle !activator properly and there may be an issue in your logic chain.
They aren't malicious commands. I'm using the "ignite" input. Do outputs like "OnX" work with addoutputs? If so, is the was I scripted it correct with the Onignite point_clientcommand,command,<cmd>
 
Reply With Quote
Old 05-19-2012, 05:08 PM   #4
A Boojum Snark
Toraipoddodezain Mazahabado
 
A Boojum Snark's Avatar
 
A Boojum Snark is online now
Posts: 4,308
Thanks: 112
Thanked: 4,498

Default Addoutput Syntax Question


Sorry, I just realized you did have the syntax wrong. The separator for AddOutput is a colon not a comma. I overlooked it on first glance because the VMF format uses commas to delimit an output. It should work if you do that instead. (I just tested OnIgnite with addoutput ingame)

__________________
(>^_^)>---[] Mapper Kirby says you must get:
Ultimate Mapping Resource Pack! UPDATED for Steampipe!

 
Reply With Quote
Old 05-22-2012, 05:06 PM   #5
SV_CHEATS 1
L1: Registered
 
SV_CHEATS 1 is offline
Posts: 13
Thanks: 1
Thanked: 0

Default Addoutput Syntax Question


Quote:
Originally Posted by A Boojum Snark View Post
Sorry, I just realized you did have the syntax wrong. The separator for AddOutput is a colon not a comma. I overlooked it on first glance because the VMF format uses commas to delimit an output. It should work if you do that instead. (I just tested OnIgnite with addoutput ingame)
like
addoutput,onignite:oint_clientcommand,command
?or what?
 
Reply With Quote
Old 05-22-2012, 07:12 PM   #6
A Boojum Snark
Toraipoddodezain Mazahabado
 
A Boojum Snark's Avatar
 
A Boojum Snark is online now
Posts: 4,308
Thanks: 112
Thanked: 4,498

Default Addoutput Syntax Question


...I could have just formatted the output you had originally posted, but you blanked your post. I find it really aggravating when people do that. It was closer to correct than what you posted now.

Quote:
Originally Posted by any entity on the VDC
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<ma x times to fire, -1 means infinite>
Input:
AddOutput

Parameter:
OnIgnite p_cc:command:commandstring

__________________
(>^_^)>---[] Mapper Kirby says you must get:
Ultimate Mapping Resource Pack! UPDATED for Steampipe!

 
Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Advertisement

Reply

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 11:59 AM.