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

Entity System v1.1


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xfusionlockx
AlliedModders Donor
Join Date: Aug 2014
Old 04-04-2019 , 14:26   Entity System v1.1
Reply With Quote #1

A couple months ago, I wrote a basic entity control system for props and prop ownership so I didn't have to each time I want to write a new building plugin.

Features:
Quote:
  • Prop Ownership
  • Prop Naming
  • Getting Entity Type
    • Cycler - cycler
    • Door - prop_door_rotating
    • Dynamic - prop_dynamic
    • Light - prop_light
    • NPC - npc_
    • Physics - prop_physics
    • Unknown
  • Setting Render Color
  • Setting Entity Motion
  • Extra Information Storing
  • Teleporting To Crosshair
Changelog:
Quote:
  • v1.1 - Updated a critical flaw in the system so now it'll actually work.
  • v1.0 - Added the system.
It's pretty simple and easy to use. I plan on writing up better documentation.

Prop Spawning Example: [4/8/19: Updated]
Code:
int iProp = CreateProp(Entity Name (cycler, prop_dynamic_override, prop_physics_override), Entity Model, Prop Name);
	
EntitySystem iEntity = EntitySystem(iProp);
	
iEntity.SetColor(255, 255, 255, 255);
	
iEntity.TeleportToCrosshair(iClient);
	
iEntity.Owner = iClient;
entitysystem.inc v1.1 Download

Last edited by xfusionlockx; 04-08-2019 at 15:03. Reason: Updated thread for v1.1.
xfusionlockx is offline
 



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 14:06.


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