+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Holo Builder

  1. #1
    Pyr
    Pyr is offline
    Wire Amateur Pyr's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    58

    Default Holo Builder

    Have you ever wanted to create a model with holograms? But never got to it because you dont want to sit there and put in numbers with guess work, to assemble it?
    Have you ever wanted to create a holo maze, but it was just too much work for such little productivity?
    Have you ever wanted to amaze your friends in how fast you can build things out of holograms?

    Well worry no more, as Holo Builder is here!


    What it does:

    Holo builder is an E2 script PACKED to the rim with tools to position, scale, and rotate holograms to your will.
    But thats not all, after your finished building, it can generate a script to build the same structure!

    What can I do with it?

    You can...
    Make a holo maze under a minute.
    Create a snow man.
    Make a solar system complete with cell shading under 30 seconds.
    Create a holo spaceship for a new E2 chip you plan on coding.
    Build that holo level for your E2 game youve always needed.
    Build over other peoples shit to piss them off. :3

    How does it work?

    When you first spawn it, check your console, if you enabled concmd; It should have instructions on how to use it.
    Otherwise...

    Code:
    ************************************** 
      
    Welcome to Pyromaniacs holo builder. 
    This will allow you to build holos 
    quickly and accurately, then be given a 
    generated code that will pre-build your holos. 
    Which you then can code and material 
    as you wish. 
      
    Instructions: 
       *Doesn't need param, can use what your looking at. 
    say !mode <modename> to select mode. 
    say !reset to reload the chip without re-spawning. 
    say !po <holonum>* <vec> accurately moves a holo relative to the E2 chip. 
    say !a <holonum>* <vec> accurately changes a holos angles. 
    say !sc <holonum>* <vec> accurately changes a holos scale. 
    say !m <holonum>* <string> changes a holos model. 
    say !s <holonum>* to select a specific holo. 
    say !c <holonum>* to copy the specified holo. 
    say !p <holonum1> <holonum2> to parent holo 1 to holo 2 
    say !pa <holonum>* to parent everything to this holo 
    say !up <holonum>* to unparent a holo 
    say !cs <holonum>* <number[optional]> to create a cell shade holo around the specifyed holo. 
    say !us to unselect all holos. 
    say !wh <number> to change wall height. [Wall mode only] 
    say !ww <number> to change wall width. [Wall mode only] [Wall type 2 only] 
    say !gn to get the highlighted holos number. 
    say !print to generate the code. 
    Make sure to place the chip under your holos 
    before you generate the code, else the positions 
    will be kind of far away from the chip. 
      
    Mode: gedit 
    Mouse2 -                 Select holo model 
    Mouse1+Drag -            Create holo 
    Mouse1+Crouch+Drag -     If cube is selected, it will lock its ratio to 1:1:1 
    Use+Drag -               Move holo 
    Crouch+Mouse1+Drag -     Rotate holo 
    Use+Mouse1 or 2 -        Move holo forward/backward 
    Crouch+Mouse2 -          Delete holo 
      
    Mode: scale 
    Use+Drag -               Scale holo on X axis 
    Mouse1+Drag -            Scale holo on Y axis 
    Mouse2+Drag -            Scale holo on Z axis 
    Crouch+Mouse1+Drag -     Scale holo 
    Crouch+Use+Drag -        Move holo 
    Crouch+Use+Mouse1 or 2 - Move holo forward/backward 
      
    Mode: move 
    Use+Drag -               Move holo on X axis 
    Mouse1+Drag -            Move holo on Y axis 
    Mouse2+Drag -            Move holo on Z axis 
    Crouch+Use+Drag -        Move holo 
    Crouch+Use+Mouse1 or 2 - Move holo forward/backward 
      
    Mode: rotate 
    Use+Drag -               Rotate Yaw 
    Mouse1+Drag -            Rotate Pitch 
    Mouse2+Drag -            Rotate Roll 
    Crouch+Mouse1 -          Zero Angles 
      
    Mode: wall 
    Mouse1+Drag -            Create a box 60 units high, with custom width/length 
    Mouse2+Drag -            Create a wall from point A to point B 
    Crouch+Mouse1+Drag -     Create ceiling 
    Crouch+Mouse2 -          Delete holo 
      
    **************************************
    Tips:
    To deactivate the chip, you can type "!mode <random shit here>" That will disable the chip. hurhrurhrurh
    Before typing "!print", make sure your chip is close to the holograms you made, else the positions generated will be far away from the chip.
    Parenting does not get generated in code. [quite yet. D:] I might work on it later.


    Media Plox?
    k







    I want now, gimme, gimme.

    Its about 770 lines of code, so ill upload the actual file, rightclick and press "save as" and save it to your garrysmod/data/expression2 folder.
    This chip is continuously being updated and changed, so check it out often.
    RIGHTCLICK AND PRESS SAVE AS

    Something didn't work as I expected. Or didn't work at all...
    BUG
    Tell me the mode and the button combination that causes the problem.
    If its a chat command then tell me what you said.
    I will reward you with a cookie if you do, kthnx.

    I love any feedback, tell me if i made a mistake somewhere or something. I have flawophobia.
    Last edited by Pyr; 02-05-2010 at 07:47 AM.

  2. #2
    Wire Noob nickgn12's Avatar
    Join Date
    Aug 2009
    Location
    In Garry Newman's Closet
    Posts
    11

    Default Re: Holo Builder

    Pairo you rulz

    Quote Originally Posted by Pyr View Post
    Build that holo level for your E2 game youve always needed.
    har
    Last edited by nickgn12; 02-04-2010 at 07:57 PM. Reason: har
    ?Any fool can use a computer. Many do.?
    (Ted Nelson)

  3. #3
    Pyr
    Pyr is offline
    Wire Amateur Pyr's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    58

    Default Re: Holo Builder

    Not too much feed back :c [lol thanks nick :3]

    This chip goes really well with holo builder: http://www.wiremod.com/forum/advance...simulator.html
    You can position the planets and it will return the size and position of them. Solar system win :O

  4. #4
    Wire Sofaking feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    1,155

    Default Re: Holo Builder

    Looks neat, like a chat-controlled holo painter. Myself I made one using the use key (press to create, "draw" it, then press to stop), with a few commands to set what holomodel, color, scale (radius (good for spheres), xyz (good for cubes), and line), but it was not as advanced, and far from as well presentated. Ever.

    The best part of this if you ask me, is probably that you say it will generate code you can put in first() for an e2 to do the same.

    How do you see which holo you are manipulating? I know one way (2 if you count finds, but that sux in many cases), but I would love to know if there is a better way. Sure a find might be good for this, as a player dont input stuff that fast rly...


    I wonder though, just as an off-topic question, why doesnt it seem like holoentityos()+vec(XScale/2,0,0) returns the middle of front plane of holo? It seems like the holos dont scale perfectly or something...

  5. #5
    Pyr
    Pyr is offline
    Wire Amateur Pyr's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    58

    Default Re: Holo Builder

    Quote Originally Posted by feha View Post
    Looks neat, like a chat-controlled holo painter.
    Chat control is the minority of the E2, Most of the functions are used though button combinations so you can build hella fast :V.

    Quote Originally Posted by feha View Post
    The best part of this if you ask me, is probably that you say it will generate code you can put in first() for an e2 to do the same.
    Edit: Ohhhh i get what you mean, no, dont put it in "first()" lol. just paste it into the e2.

    Quote Originally Posted by feha View Post
    How do you see which holo you are manipulating?
    I made it manipulate the holo closest to the owners face. :V

    Quote Originally Posted by feha View Post
    I wonder though, just as an off-topic question, why doesnt it seem like holoentityos()+vec(XScale/2,0,0) returns the middle of front plane of holo? It seems like the holos dont scale perfectly or something...
    Holograms scale has different units. Unless you are useing "holoScaleUnits", then something like this should fix it:
    Code:
    holoEntity(1):pos()+vec((XScale*12)/2,0,0)

  6. #6
    Wire Amateur Spooky's Avatar
    Join Date
    Oct 2009
    Location
    Sweden
    Posts
    34

    Default Re: Holo Builder

    Nice, Got my download! Gonna check it out right now!

  7. #7
    Pyr
    Pyr is offline
    Wire Amateur Pyr's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    58

    Default Re: Holo Builder

    Oops sorry, I messed up the ceiling builder... Lemme fix that real quick...

    Edit: Fixed, updated link in post above.
    Or download here
    Last edited by Pyr; 02-05-2010 at 07:47 AM.

  8. #8
    Wire Sofaking feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    1,155

    Default Re: Holo Builder

    Quote Originally Posted by Pyr View Post
    Edit: Ohhhh i get what you mean, no, dont put it in "first()" lol. just paste it into the e2.
    I never tested it (probably wont), I jsut assumed that putting the generated code in first wouldm kae a e2 build the same holo structure.

    Quote Originally Posted by Pyr View Post
    Holograms scale has different units. Unless you are useing "holoScaleUnits", then something like this should fix it:
    Code:
    holoEntity(1):pos()+vec((XScale*12)/2,0,0)
    Ofc I use holoScaleUnits()! But why isnt it in units (and according to you need that formula to get real units)?

  9. #9
    Pyr
    Pyr is offline
    Wire Amateur Pyr's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    58

    Default Re: Holo Builder

    Not help thread kthnx :c

    I ment if you DONT use holoScaleUnits(), then use the formula :l

    Quote Originally Posted by feha View Post
    I never tested it (probably wont), I jsut assumed that putting the generated code in first wouldm kae a e2 build the same holo structure.
    Try it, it is one of the most epic things you will ever use.

  10. #10
    Wire Noob nickgn12's Avatar
    Join Date
    Aug 2009
    Location
    In Garry Newman's Closet
    Posts
    11

    Default Re: Holo Builder

    Quote Originally Posted by Pyr View Post
    Try it, it is one of the most epic things you will ever use.
    I second that statement :3
    ?Any fool can use a computer. Many do.?
    (Ted Nelson)

+ Reply to Thread
Page 1 of 2 12 LastLast

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