Epic indeed.
Get out. Seriously, do it.
Actually, in lua, yes. For example I tried to make the holo lines thingey but failed. This was a lot easier.
Edit: I did rewrite it all from scratch though. Except for 2 things: The thing that checks if a linked prop is removed, and the ghost which shows when you want to spawn it.
Last edited by Divran; 03-15-2010 at 10:29 AM.
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
SVN UPDATE!
Added 4 inputs to the Adv Entity Marker:
Entity [ENTITY] (Used for the next 2 inputs)
Add Entity [NUMBER] (if != 0, Adds the entity if it is not already linked)
Remove Entity [NUMBER] (if != 0, Removes the entity if it is linked)
Clear Entities [NUMBER] (if != 0, Clears the entire list of linked entities)
Here's the test E2 I used:
To use it, wire it up and hit at stuff with your crowbar.Code:@name @inputs @outputs E:entity Add Remove Clear @persist @trigger runOnTick(1) A1 = owner():keyAttack1() A2 = owner():keyAttack2() U = owner():keyUse() Wpn = (owner():weapon():type() == "weapon_crowbar") E = owner():aimEntity() Add = A1 & Wpn Remove = A2 & Wpn Clear = U & Wpn
Enjoy!
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Bump. What do you think of the inputs?
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Hey Divran, how did you dupe the barrels WHILE having the entity marker duped without losing the last thing you duped?
Have you checked HERE first?
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
SVN UPDATE!
- Added dynamic outputs. This means the entity marker will automatically create new Entity outputs as you link it to new entities, with a maximum of 10 entity outputs. If you want more than 10 entities linked, you'll have to use the array instead.
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
I don't see the point of the add/remove entity input.
Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!
Bookmarks