+ Reply to Thread
Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 65

Thread: [E2][Release] 3D2D Text

  1. #21
    Mario, hard at work Filipe's Avatar
    Join Date
    Jun 2007
    Location
    Portugal - Lisbon
    Posts
    401
    Blog Entries
    1

    Default Re: [E2][Release] 3D2D Text

    Quote Originally Posted by VVoMan_PL View Post
    That's really useful, would be nice to have it in official SVN!
    I concur!

    Slap some limits on it, have a look through the lua, optimize where needed and I don't see why this couldn't be put in the official SVN, it's certainly useful, and I don't see how it'd be any worse than regular props or holos.
    beep boop

  2. #22
    Lifetime Supporter dracotonisamond's Avatar
    Join Date
    Jun 2009
    Location
    127.0.0.1
    Posts
    376

    Default Re: [E2][Release] 3D2D Text

    Bug Report Time . when i tried to do this:
    Code:
    S=lastSaid()
    runOnTick(1)
    if(first())
    {
        holoTextCreate(1)
        holoTextPos(1,entity():pos()+vec(0,0,15))
        holoTextAng(1,entity():isWeldedTo():angles())
    
    }
    holoTextScale(1,2)
    holoText(1,S)
    holoTextParent(1,entity():isWeldedTo())
    I get this.
    Code:
    Entity [104][prop_physics]
    Player [3][SPiRALFACToR]
    ...s/gmod_wire_expression2/core/custom/cl_textholos.lua:110: bad argument #1 to 'WorldToLocal' (Vector expected, got nil)
    Entity [104][prop_physics]
    recived:
    1
    Entity [104][prop_physics]
    Player [3][SPiRALFACToR]
    ...s/gmod_wire_expression2/core/custom/cl_textholos.lua:110: bad argument #1 to 'WorldToLocal' (Vector expected, got nil)
    Oh. and this is freaking AWESOME. i hope you can get this in the official svn.
    keep up the epic work.

    cheers.
    dracotonisamond
    Last edited by dracotonisamond; 02-21-2010 at 05:02 PM. Reason: Removed some admin echo's from error

    Quote Originally Posted by JatGoodwin in wiremod IRC
    <JatGoodwin> ITSBTH, the point of rainmeter is to impress the lamers with your leet computer
    <JatGoodwin> software equivalent of putting lights in your computer

  3. #23
    Wirererer bobthe2lol's Avatar
    Join Date
    Aug 2007
    Location
    US,NY
    Posts
    309

    Default Re: [E2][Release] 3D2D Text

    Update to the newest version in the OP, i fixed that and a few other errors (thanks bromverg for letting me beta test on your private server (and spam barrells and crash it lol!))

  4. #24
    Wirererer bobthe2lol's Avatar
    Join Date
    Aug 2007
    Location
    US,NY
    Posts
    309

    Default Re: [E2][Release] 3D2D Text

    Ok, so i'm going to add a size limit, and its going to be clientside. If the clients want to change their max size, let them. It will be clamped to what ever the clientconvar for min and max are set to. I will also make a serverside convar for a max amount of them. Also, i will add a clientside block like holos have. That is all.

    Or not. I will set the cost very high (for creating one it will be about 300) because this is the easiest way to stop people spaming them. Or rather, making alot of lag because of them
    Last edited by bobthe2lol; 02-21-2010 at 07:26 PM.

  5. #25
    Wirererer bobthe2lol's Avatar
    Join Date
    Aug 2007
    Location
    US,NY
    Posts
    309

    Default Re: [E2][Release] 3D2D Text

    Wait a sec, how do i set the cost for a function more than 20? Or even better, how do i just add x amount of ops when ever a function is called?

  6. #26
    Wire Sofaking N00bDud3's Avatar
    Join Date
    Jul 2009
    Location
    Error: Unknown Location
    Posts
    1,252

    Default Re: [E2][Release] 3D2D Text

    I think you just use E2setCost(X) above the code and E2setCost(0) after, but I'm not sure. I'll peek into some of the built-in E2 functions to see how they did it.

    EDIT: I was close, it seems to be
    Code:
    __e2setcost(X)
    #Function goes here#
    __e2setcost(nil)
    X being the cost you want.

    I found that in hologram.lua



  7. #27
    Wirererer bobthe2lol's Avatar
    Join Date
    Aug 2007
    Location
    US,NY
    Posts
    309

    Default Re: [E2][Release] 3D2D Text

    I wish. Cost is clamped to 20 i think. Atleast, anything over 20 is set to 20 so... yea

  8. #28
    Wirererer bobthe2lol's Avatar
    Join Date
    Aug 2007
    Location
    US,NY
    Posts
    309

    Default Re: [E2][Release] 3D2D Text

    Updated OP With newer version, now has a serverside convar for a max amount per player, and 2 clientside ones for max and min size And uploading a new video to xfire

    Last edited by bobthe2lol; 02-22-2010 at 04:55 PM.

  9. #29
    Wire Sofaking N00bDud3's Avatar
    Join Date
    Jul 2009
    Location
    Error: Unknown Location
    Posts
    1,252

    Default Re: [E2][Release] 3D2D Text

    I don't think that size should be client-side, unless the size it is drawn at is clamped client-side.



  10. #30
    Wirererer bobthe2lol's Avatar
    Join Date
    Aug 2007
    Location
    US,NY
    Posts
    309

    Default Re: [E2][Release] 3D2D Text

    It is. I did it that way so everyone can choose their own settings. If yotu dont want to see it at all, just set min and max both below 1, because anyting below 1 wont draw

+ Reply to Thread
Page 3 of 7 FirstFirst 12345 ... LastLast

LinkBacks (?)

  1. 06-08-2010, 07:12 PM
  2. 03-10-2010, 08:34 AM

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