+ Reply to Thread
Page 3 of 53 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 526

Thread: Advanced HUD Tools

  1. #21
    Wire Sofaking moggie100's Avatar
    Join Date
    Dec 2007
    Posts
    416
    Blog Entries
    1

    Default Re: Advanced HUD Tools

    Thanks LightDemon666, but that doesn't really solve the problem.

    When you're making a new SENT, that works, as it sets up the wire inputs, but if you're calling "Wire_CreateInputs" on an already created SENT, it resets the wiring, and recreates the inputs, detaching it from the rest of your contraption.

    The "Wire_AdjustInputs" function in wirelib should do it, but it always fails due to not being able to reference the current inputs :/

  2. #22
    Wire Amateur LightDemon666's Avatar
    Join Date
    May 2007
    Location
    Seventh level of Hell third door on the right.
    Posts
    30

    Default Re: Advanced HUD Tools

    O, sorry misunderstood what you needed. I don't think I have ever seen adjustinputs work correctly. Every time I have come across it there has been some kind of error.

  3. #23
    Wire Sofaking moggie100's Avatar
    Join Date
    Dec 2007
    Posts
    416
    Blog Entries
    1

    Default Re: Advanced HUD Tools

    Quote Originally Posted by LightDemon666 View Post
    O, sorry misunderstood what you needed. I don't think I have ever seen adjustinputs work correctly. Every time I have come across it there has been some kind of error.
    MWUAHAHAH! got it working

    Expect a SVN update soonish!

  4. #24
    Wire Amateur LightDemon666's Avatar
    Join Date
    May 2007
    Location
    Seventh level of Hell third door on the right.
    Posts
    30

    Default Re: Advanced HUD Tools

    Quote Originally Posted by moggie100 View Post
    mwuahahah! Got it working :d
    nice!!!!!!!!!!!!!!!!!!!!!!!!!!

  5. #25
    Wire Sofaking moggie100's Avatar
    Join Date
    Dec 2007
    Posts
    416
    Blog Entries
    1

    Default Re: Advanced HUD Tools

    Ergh... This kind of error has been plaguing me since I started this...

    "attempt to perform arithmetic on local 'flags' (a nil value)"

    Its invariably when a client-side function calls a server-side function, because the variable is local-scope and the function cant read it... which is annoying, but weird, 'cos the other parameters to the function work fine...

    Rarggh!

    *Tears fur out in frustration*

  6. #26
    Wire Sofaking moggie100's Avatar
    Join Date
    Dec 2007
    Posts
    416
    Blog Entries
    1

    Default Re: Advanced HUD Tools

    -=Double Post For Update=-

    The problem I detailed above is still there, HOWEVER I have a workaround for now - just set the settings on the tool to whatever you want, then spawn one and hit it again to update, and the correct settings will be applied.

    Hopefully I can fix this soon, but until I do, just remember to double-click the SENT on creation :P

    Either way, new SVN update, and .RAR update!

    -=Update Rev 5=-
    • Inputs now only show when they're needed (no end inputs for point elements, etc.)
    • Line and Box modes for XY->XY type indicators.
    • "Use World Coordinates" now works as expected, turning on 3d input mode.
    • World Coordinates now applies to XY->XY indicators, (XYZ-XYZ mode?)
    • End coordinates now become 3D inputs when in world coordinate mode.



    As for Urablahblah's question a while ago... How's this for ya?






    Locator -> Locator lines *Grins inanely*

    Just check the 'Use World Coordinates' box and use an XY-XY indicator!
    Last edited by moggie100; 09-23-2008 at 11:31 AM.

  7. #27
    Wire Amateur MaxImash's Avatar
    Join Date
    Sep 2008
    Location
    UK, England
    Posts
    30

    Default Re: Advanced HUD Tools

    This is damn awesome, I can't believe it wasn't thought of or done earlier.
    Good job moggie!
    Been using this alot on my contraptions.
    Bored?
    Read a Story

    A Few Contraptions Worth Mentioning
    C&C3 Orca
    C&C3 Firehawk
    Stryker APC- Unfinished

    Enjoi

  8. #28
    Wire Sofaking moggie100's Avatar
    Join Date
    Dec 2007
    Posts
    416
    Blog Entries
    1

    Default Re: Advanced HUD Tools

    Quote Originally Posted by MaxImash View Post
    This is damn awesome, I can't believe it wasn't thought of or done earlier.
    Good job moggie!
    Been using this alot on my contraptions.
    Thanks! Its nice to hear that people are using this

    -=SVN Update=-

    Various hotfixes applied, now at revision 7.

    Advanced duplication is partially supported, I'll work on that next when I get some time, but I'll be 'out of the office' - so to speak - for the next couple of days, as I'm off to meet people at IBM (whoo!)

    If anyone has a contraption that makes good use of these please post it here! I'd like to see what people are doing with this so I can better tailor it to what people want.

  9. #29
    Wire Amateur Urablahblah's Avatar
    Join Date
    Mar 2008
    Posts
    79

    Default Re: Advanced HUD Tools

    So the first three screenshots are what I made with the new indicator functionality, first is a box with adjustable X, Y, Z, width, and height (and in the future Rot_XYZ). Pretty simple but fun none the less.

    The second one was trying to figure out a good way to use the indicator scaling. Right there the equation used was Size=Min(50000/distance, 50) so that if its closer than 1000 units it will only get to be 50pix wide.

    The last three are trying to figure out how the heck the XYZ to XYZ box works, I couldn't make sense of it for the life of me. How exactly does it evaluate moggie?

    Regardless of the box freaking out, This thing is great! I love it and it has so many uses! Keep up the good work!

    Gold stars for you! :star::star::star:
    Attached Thumbnails Attached Thumbnails Advanced HUD Tools-hl2-2008-09-27-01-32-40-57.png   Advanced HUD Tools-hl2-2008-09-27-02-09-54-56.png   Advanced HUD Tools-hl2-2008-09-27-02-14-14-10.png   Advanced HUD Tools-hl2-2008-09-27-00-45-37-23.png   Advanced HUD Tools-hl2-2008-09-27-00-46-40-32.png  

    Advanced HUD Tools-hl2-2008-09-27-00-46-43-34.png  

  10. #30
    Wire Sofaking moggie100's Avatar
    Join Date
    Dec 2007
    Posts
    416
    Blog Entries
    1

    Default Re: Advanced HUD Tools

    Quote Originally Posted by Urablahblah View Post
    The last three are trying to figure out how the heck the XYZ to XYZ box works, I couldn't make sense of it for the life of me. How exactly does it evaluate moggie?
    Err... Y'know, even I'm not sure how that works :P

    It should just take both sets of coordinates in XYZ form, transform them to screenspace XY coordinates, then draw the box from top-left to bottom-right

    Although that may go crazy if you use coordinates that are the wrong way round :P (drawing it backwards)

    I'll poke that in a bit...

+ Reply to Thread
Page 3 of 53 FirstFirst 1234513 ... LastLast

LinkBacks (?)

  1. 02-14-2010, 12:00 AM
  2. 01-28-2010, 12:12 PM

Similar Threads

  1. Advanced Colourer (as opposed to LevyBreak's Advanced Colorer) :D
    By andy1976uk in forum Ideas & Suggestions
    Replies: 8
    Last Post: 07-10-2008, 03:16 AM
  2. Some code tools
    By CAANz in forum Off-Topic
    Replies: 0
    Last Post: 04-30-2008, 07:00 AM
  3. Replies: 16
    Last Post: 02-26-2008, 07:29 AM
  4. OMG! what happen to my tools
    By GhostBuster in forum Installation and Malfunctions Support
    Replies: 4
    Last Post: 10-11-2007, 07:31 AM
  5. better tools
    By kilroy in forum Ideas & Suggestions
    Replies: 7
    Last Post: 10-02-2007, 10:08 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots