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

[DEV] tEntDev - Prop Loader


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
7933
Plugin Version:
1.0
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Module for tEntDev to apply properties on entity from file previously saved via sm_ted_select
Old 01-26-2022 , 15:25   [DEV] tEntDev - Prop Loader
Reply With Quote #1

Description:
Allows you to apply properties on entity from kvtest.txt file previously saved via sm_ted_select (or sm_ted_selectid <id>) command of tEntDev.
Settings (ConVars):
Nothing.
Requirements:
- SourceMod 1.10+
- tEntDev
Command usage samples
  • sm_ted_load <opt. entity index> <opt. property(ies) filter> <opt. kvtest file path/name>
Notice: all arguments are optional.
Filter supports regular expressions. Multiple filters could be specified via whitespace, enquoted as single argument.

PHP Code:
// Apply all properties from kvtest.txt file to aimed target
sm_ted_load

// Apply all properties from kvtest.txt file to entity 4
sm_ted_load "4"

// Apply properties m_vecOrigin and m_angRotation on aim target
sm_ted_load "" "m_vecOrigin m_angRotation"

// Apply all properties from kvtest_other.txt file to entity 4
sm_ted_load "4" "" kvtest_other.txt 
TODO:
- Add support of array-based props. See: #1701
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
Attached Files
File Type: sp Get Plugin or Get Source (sm_ted_load.sp - 179 views - 5.3 KB)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-28-2022 at 01:57.
Dragokas 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 00:37.


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