Raised This Month: $51 Target: $400
 12% 

[INC] Output Actions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 04-06-2022 , 12:31   [INC] Output Actions
Reply With Quote #1

Description: Get entity output actions.
Many thanks to Addie from the discord server.

GitHub: https://github.com/Ilusion9/outputactions-inc-sm
__________________
Ilusion9 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-12-2022 , 12:50   Re: [INC] Output Actions
Reply With Quote #2

Working nice!


I made test plugin.
*update 16.04.2022

This should only use on test server, not public serve where are players.

1. From this post zip file, take only test.sp plugin file and compile it on your test server.
- install plugin /disabled folder, so it not run automatically.

2. Run server and use server command: sm_dump_datamaps Prop_Data.txt
3. Reboot server, it not like that previous dump command.

4. Use server command: sm plugins load disabled/test
- After 5 seconds, it start read each line from Prop_Data.txt
- This can take over 15 minutes, because file could have over 12 000 lines.
And this part not use simple loop, or else SM stop code automatically.

Plugin now read 1000 lines per game frame, would be now much faster
- You can see messages printed on console.
- Don't hurry, be patient.

5. When finished, you have now file called listclassnameoutputs.kv
- Keep this file, where it is, because plugin will use it on next command.

6. Change map where you like look entity outputs.
7. Use command: sm_lookoutputs
- Plugin create file mapname_outputs.kv
- File have list of map entities with outputs, if there are outputs set.





de_dust2_outputs.kv



listclassnameoutputs.kv



*edit
Hmm... I forgot add feature to collect entity targetnames :/
Maybe added in another day.

*edit edit
small mistake now... gonna fix later


*updated
Attached Files
File Type: zip testplugin_collect_outputs.zip (294.3 KB, 81 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 04-16-2022 at 09:42.
Bacardi is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-15-2022 , 10:48   Re: [INC] Output Actions
Reply With Quote #3

Great job Ilusion9 and Bacardi !!!
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-16-2022 , 09:48   Re: [INC] Output Actions
Reply With Quote #4

I update my test plugin #2
- Old plugin read one line per game frame, what was very slow.
+ Updated plugin read 1000 lines per game frame.

- Old plugin collect only entity "Outputs" in listclassnameoutputs.kv file
+ Updated plugin collect now entity "parameters", "Inputs", "Outputs" in listclassnameoutputs.kv file.
You can look what kind parameters and inputs you can set to entity, most of them would not work but those exist.
Use parameter "names" of end of each lines, don't use lines first "names"

*edit
Made wiki page
https://developer.valvesoftware.com/...inputs_outputs
__________________
Do not Private Message @me

Last edited by Bacardi; 04-16-2022 at 13:42.
Bacardi is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 02:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode