Wiremod Forums  

Go Back   Wiremod Forums > Wiremod Skills > Wiremod Addons

Wiremod Addons Have you created a wiremod addon? Post it here.

View Poll Results: Is this stuff useful? (Please comment on your answer)
Yes 49 79.03%
Yes, but it isn't general enough 9 14.52%
It's alright, but it needs improving 2 3.23%
No 2 3.23%
Voters: 62. You may not vote on this poll

Reply
 
LinkBack (2) Thread Tools Display Modes
Old 07-12-2008   2 links from elsewhere to this Post. Click to view. #1 (permalink)
Lifetime Supporter
 
DuFace's Avatar
 
Join Date: Aug 2007
Posts: 210
DuFace is on a distinguished road
Default Entity Gates, Vector Gates, and other stuff

I've been working on a selection of gates over the past week and I'm finally ready to release a beta. The only thing that causes this to be a beta is that I haven't been able to test these scripts in multiplayer, so if anyone can and then provide me with feedback that would be ace.

Here's what's in the download:

Vector Gates
  • Description can be seen here.
  • Added the Expression Conversion gates back in after a conversation with Syranide.

Entity Gates

There are loads of gates in this category, most of which are self-explanatory.
  • You
  • Owner
  • Identity
  • Name
  • Position
  • Colour
  • EntId
  • Class
  • Parent
  • Velocity
  • Forward/Right/Up vectors
  • Max Health/Health
  • Model
  • Skin/Skin Count
  • IsPlayer
  • IsConstrained
  • IsInWorld
  • IsNPC
  • IsOnFire
  • IsOnGround
  • IsPlayerHolding
  • IsVehicle
  • IsWeapon
  • Can See
  • Multiplexer/Demultiplexer
  • Latch/D-latch
  • Equal/Inequal

Player Gates

Still technically entity gates, but will only produce valid output if the input entity is of class player.
  • Alive
  • Armour
  • Crouching
  • Death/Kill Count
  • Aim Vector
  • InVehicle
  • SteamID
  • Team ID/Name
  • Seconds Connected
  • IsLockedOnto

Expression Gate Interfaces
  • Conversion between E-Gate vector and Vector data type
  • Conversion between E-Gate vector and components
  • Conversion between E-Gate packets and String data type

String Buffer

From the hi-speed perspective this acts exactly the same as a RAM. However it also exhibits behaviour similar to the Address Bus because it outputs chunks of its memory as String data. As of now only four inputs/outputs are supported. I may add more later if people care.

Also, inputs and outputs access the same address space. This does not act like the data port where Port0 out and Port0 in are different. On this device String1 in and String1 out are the same.


Modified Ranger

Added an [optional] Entity output. Also added several inputs:
  • IgnoreLevels - number of props the beam is allowed to pass through before returning a valid trace.
  • ClassFilter (String) - a semi-colon separated list of entity classes that will be ignored when trying to trace.
  • EntityExclude (Entity) - a particular entity to ignore during the trace operation.

Modified Target Finder

Records which players are currently targets. This only works for entities of class player, anything else will return zero constantly. To find out if you're the target of a target finder, spawn a You gate and an IsLockedOnto gate.


Bonus Console Command!

Have you ever wanted to convert a String into a list of ASCII codes? Well now you can! Type stringtochars into the console followed by the string you want to convert and it'll output an array of ASCII codes for you.


Screen Shots

I'll admit these aren't great, but at least they show something happening.



Also, just in case you didn't guess, the Entity String Decoder used above is _Kilburns. I just used it to give me some string input.


Known Bugs
  • Parent/Owner don't seem to do anything, but I've included them anyway in case anyone works out what I've done.
  • To place a You gate, you need to click on it again after it's spawned to allow it to read the player parameter.
  • Ranger (BETA) beam doesn't draw correctly.

Attachments
  • stringbuftest.txt - CPU program that demonstrates how to use the String Buffer.
  • stringtest.txt - Expression that receives input from a string/packet conversion gate and writes it to a console screen. Also outputs a packet that can be used with a packet/string conversion gate.

That's everything I have for the time being. The Modified Target Finder and Ranger will show up under the Wire - Beta section so they don't override the existing wire tools.

Please feel free to comment on anything here, anything you'd like added and any bugs you find.

Have fun!
Attached Images
File Type: jpg wireext1.jpg (98.9 KB, 715 views)
File Type: jpg wireext2.jpg (239.2 KB, 765 views)
File Type: jpg wireext3.jpg (272.8 KB, 725 views)
Attached Files
File Type: rar wire_ext_duface.rar (25.7 KB, 167 views)
File Type: txt stringbuftest.txt (4.7 KB, 44 views)
File Type: txt stringtest.txt (732 Bytes, 45 views)
__________________
Fields of Green

Last edited by DuFace; 07-29-2008 at 03:57 AM. Reason: Correcting crappy formatting
DuFace is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-12-2008   #2 (permalink)
andy1976uk
Guest
 
andy1976uk's Avatar
 
Posts: n/a
Default Re: Entity Gates, Vector Gates, and other stuff

Eeeeeeexcellent Smithers *downloading*
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-12-2008   #3 (permalink)
Lifetime Supporter
 
DuFace's Avatar
 
Join Date: Aug 2007
Posts: 210
DuFace is on a distinguished road
Default Re: Entity Gates, Vector Gates, and other stuff

Bloody hell that was fast.
__________________
Fields of Green
DuFace is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-12-2008   #4 (permalink)
Wire Amateur
Points: 1,298, Level: 19 Points: 1,298, Level: 19 Points: 1,298, Level: 19
Activity: 0% Activity: 0% Activity: 0%
 
Wodden's Avatar
 
Join Date: Sep 2007
Location: Leipzig, Germany
Posts: 59
Wodden is on a distinguished road
Send a message via ICQ to Wodden Send a message via MSN to Wodden Send a message via Skype™ to Wodden
Thumbs up Re: Entity Gates, Vector Gates, and other stuff

Quote:
Originally Posted by andy1976uk View Post
Eeeeeeexcellent Smithers
Indeed

Btw Nice work! This is really usefull. *downloads*
__________________

Quote:
Originally Posted by l3ulletje View Post
Jeez you sure had fun with colours and fonts and underlines and bolds and aaarrgh eyes... the pain! the pain!
My IQ is 117
████████
████████
████
███
Wodden is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-13-2008   #5 (permalink)
andy1976uk
Guest
 
andy1976uk's Avatar
 
Posts: n/a
Default Re: Entity Gates, Vector Gates, and other stuff

You forgot a poll option: "Yes, give DuFace knighthood". I'd have clicked that
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2008   #6 (permalink)
andy1976uk
Guest
 
andy1976uk's Avatar
 
Posts: n/a
Default Re: Entity Gates, Vector Gates, and other stuff

Slight bug: Something I just noticed is that the Ranger's beam keeps going even after it's reached a prop it should stop at. Had it see through 10 PHX plates, and report the colour of the 11th thing lol, but the beam was still drawing after that.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2008   #7 (permalink)
Lifetime Supporter
 
DuFace's Avatar
 
Join Date: Aug 2007
Posts: 210
DuFace is on a distinguished road
Default Re: Entity Gates, Vector Gates, and other stuff

Yeah I knew about this actually but forgot to put it in the known bugs section. The only reason it does that is because I haven't modified the client side of the ranger in any way at all. I wanted to get it out into the field and see what response it got before tarting it up a bit.

Anyway the solution is in my head, so it just needs to be put into code.
__________________
Fields of Green
DuFace is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-18-2008   #8 (permalink)
Wire Sofaking

 
ShaRose's Avatar
 
Join Date: Mar 2007
Location: Burin, Newfoundland, Canada
Posts: 454
ShaRose is on a distinguished road
Default Re: Entity Gates, Vector Gates, and other stuff

Downloading now, then I'll mix it in with the main wire gates code. Then commit.

EDIT: Just to say to everyone else, I asked him over PM's while everyone's commit was messed up.

EDIT: Well, the vector gates anyways, I'm gonna wait till I have _Kilburn's permission to commit the string gates to commit the stuff that needs string gates :P
__________________
Click here to try my jet!
A new one with less parts and better performance will come *soon!

*In valve time

Last edited by ShaRose; 07-18-2008 at 08:46 PM.
ShaRose is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-18-2008   #9 (permalink)
Inactive
 
willthemage's Avatar
 
Join Date: Jun 2008
Location: Cassadaga, New York
Posts: 81
willthemage is an unknown quantity at this point
Default Re: Entity Gates, Vector Gates, and other stuff

I know this sounds dumb where are the files I need to download.
willthemage is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-23-2008   #10 (permalink)
Lifetime Supporter
 
DuFace's Avatar
 
Join Date: Aug 2007
Posts: 210
DuFace is on a distinguished road
Default Re: Entity Gates, Vector Gates, and other stuff

Quote:
Originally Posted by ShaRose View Post
Downloading now, then I'll mix it in with the main wire gates code. Then commit.

EDIT: Just to say to everyone else, I asked him over PM's while everyone's commit was messed up.

EDIT: Well, the vector gates anyways, I'm gonna wait till I have _Kilburn's permission to commit the string gates to commit the stuff that needs string gates :P
Awesome, cheers!


Quote:
Originally Posted by willthemage View Post
I know this sounds dumb where are the files I need to download.
The wire_ext_duface.rar file in the attachments section at the bottom of my original post.
__________________
Fields of Green
DuFace is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.wiremod.com/forum/wiremod-addons/5661-entity-gates-vector-gates-other-stuff.html
Posted By For Type Date
The Scrapheap - Discussion Forum: Extra Wire Stuff This thread Refback 09-28-2008 01:11 PM
Scrapheap / Extra Wire Stuff This thread Refback 07-14-2008 06:10 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vector gates are already there. AzraelUK Custom Gates 3 10-02-2008 10:28 PM
Advanced gates / Custom gates IEF015 Wiremod Website Chat 1 07-22-2008 01:04 AM
Vector Gates DuFace Wiremod Addons 5 07-13-2008 01:26 AM
gates b33rdude Help & Support 1 03-23-2008 08:00 PM


All times are GMT -7. The time now is 05:57 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Ad Management plugin by RedTyger
adjunct
adjunct
adjunct
adjunct
gilt
gilt
gilt
gilt
gallery
gallery
gallery
gallery