+ Reply to Thread
Page 2 of 20 FirstFirst 123412 ... LastLast
Results 11 to 20 of 195

Thread: [E2] Holograms Done.

  1. #11
    ◕␣◕ McLovin's Avatar
    Join Date
    Sep 2008
    Location
    Batman, Turkey
    Posts
    2,346
    Blog Entries
    3

    Default Re: [E2] Holograms Done.

    Zeik found the problem. Sorry about all the downloads :/. Ill upload the new code now.
    Anticept - HP you are terrible at trolling. Always have been. Leave it up to the pros like Jat.
    Black Phoenix - Actually cunt goes into bullshit. Bullshit does not fit in cunt.
    Drunkie - Logically, Jat Goodwin must be a fist pumping guido.

  2. #12
    Wirererer Zanik's Avatar
    Join Date
    Sep 2008
    Posts
    118

    Default Re: [E2] Holograms Done.

    Lol, alright, i shall let you know if i spot any more errors, can i have that speedo code? :S

  3. #13
    Wire Sofaking ZeikJT's Avatar
    Join Date
    Dec 2008
    Location
    California
    Posts
    1,391

    Default Re: [E2] Holograms Done.

    Here's the two E2 codes I was using to test out the holos:
    Code:
    @name HoloFun
    @inputs 
    @outputs 
    @persist I P B Dist Offs Spin Speed
    @trigger all
    interval(10)
    if(first()|duped()){
    Speed = 0.5
    Dist = 50
    Offs = 12
    Spin = 360
    I = 0
    }
    if(I<10){
    I++
    createHolo(I,entity():pos()+I*vec(0,0,Offs))
    holoShadow(I,0)
    holoColor(I,vec((I/10)*255,0,((11-I)/10)*255),230)
    holoModel(I,"cube",1)
    }elseif(P<Dist){
    P+=Speed
    Pos = entity():pos()
    holoPos(1,Pos+P*vec(1,0,0)+vec(0,0,Offs*1))
    holoAng(1,ang((P/Dist)*Spin,0,0))
    holoPos(2,Pos+P*vec(-1,0,0)+vec(0,0,Offs*2))
    holoAng(2,ang((P/Dist)*-Spin,0,0))
    holoPos(3,Pos+P*vec(1,0,0)+vec(0,0,Offs*3))
    holoAng(3,ang((P/Dist)*Spin,0,0))
    holoPos(4,Pos+P*vec(-1,0,0)+vec(0,0,Offs*4))
    holoAng(4,ang((P/Dist)*-Spin,0,0))
    holoPos(5,Pos+P*vec(1,0,0)+vec(0,0,Offs*5))
    holoAng(5,ang((P/Dist)*Spin,0,0))
    holoPos(6,Pos+P*vec(-1,0,0)+vec(0,0,Offs*6))
    holoAng(6,ang((P/Dist)*-Spin,0,0))
    holoPos(7,Pos+P*vec(1,0,0)+vec(0,0,Offs*7))
    holoAng(7,ang((P/Dist)*Spin,0,0))
    holoPos(8,Pos+P*vec(-1,0,0)+vec(0,0,Offs*8))
    holoAng(8,ang((P/Dist)*-Spin,0,0))
    holoPos(9,Pos+P*vec(1,0,0)+vec(0,0,Offs*9))
    holoAng(9,ang((P/Dist)*Spin,0,0))
    holoPos(10,Pos+P*vec(-1,0,0)+vec(0,0,Offs*10))
    holoAng(10,ang((P/Dist)*-Spin,0,0))
    }elseif(B<Dist*2){
    B+=Speed
    Pos = entity():pos()
    holoPos(1,Pos-(Dist-B)*vec(-1,0,0)+vec(0,0,Offs*1))
    holoAng(1,ang(0,(B/Dist)*-Spin,0))
    holoPos(2,Pos-(Dist-B)*vec(1,0,0)+vec(0,0,Offs*2))
    holoAng(2,ang(0,(B/Dist)*Spin,0))
    holoPos(3,Pos-(Dist-B)*vec(-1,0,0)+vec(0,0,Offs*3))
    holoAng(3,ang(0,(B/Dist)*-Spin,0))
    holoPos(4,Pos-(Dist-B)*vec(1,0,0)+vec(0,0,Offs*4))
    holoAng(4,ang(0,(B/Dist)*Spin,0))
    holoPos(5,Pos-(Dist-B)*vec(-1,0,0)+vec(0,0,Offs*5))
    holoAng(5,ang(0,(B/Dist)*-Spin,0))
    holoPos(6,Pos-(Dist-B)*vec(1,0,0)+vec(0,0,Offs*6))
    holoAng(6,ang(0,(B/Dist)*Spin,0))
    holoPos(7,Pos-(Dist-B)*vec(-1,0,0)+vec(0,0,Offs*7))
    holoAng(7,ang(0,(B/Dist)*-Spin,0))
    holoPos(8,Pos-(Dist-B)*vec(1,0,0)+vec(0,0,Offs*8))
    holoAng(8,ang(0,(B/Dist)*Spin,0))
    holoPos(9,Pos-(Dist-B)*vec(-1,0,0)+vec(0,0,Offs*9))
    holoAng(9,ang(0,(B/Dist)*-Spin,0))
    holoPos(10,Pos-(Dist-B)*vec(1,0,0)+vec(0,0,Offs*10))
    holoAng(10,ang(0,(B/Dist)*Spin,0))
    }elseif(P>=Dist){
    P=-Dist
    #P=0
    B=0
    }
    Code:
    @name HoloFun 2
    @inputs 
    @outputs 
    @persist Dist Amt Ang Off
    @trigger all
    runOnTick(1)
    Pos=owner():pos()
    Pos:setZ(Pos:z()+50)
    if(first()|duped()){
    Model="cube"
    Skin=1
    Scale=vec(0.5,1,1)
    Alpha=255
    Shadow=0
    Dist=75
    Amt=10
    Ang=360/(Amt+1)
    N=0
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(255,0,0),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(204,0,51),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(153,0,102),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(102,0,153),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(51,0,204),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(0,0,255),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(51,0,204),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(102,0,153),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(153,0,102),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(204,0,51),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    N++
    createHolo(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()),vec(1,1,1),ang(Ang*N+Off,Ang*N+Off,0))
    holoColor(N,vec(255,0,0),Alpha)
    holoModel(N,Model,Skin)
    holoScale(N,Scale)
    holoShadow(N,Shadow)
    }
    Off++
    if(Off>360){Off=0}
    N=0
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    N++
    holoPos(N,vec(Pos:x()+cos(Ang*N+Off)*Dist,Pos:y()+sin(Ang*N+Off)*Dist,Pos:z()+65))
    holoAng(N,ang(Ang*N+Off,Ang*N+Off,0))
    I hope they still work. Have fun with em.
    Against stupidity the Gods themselves contend in vain.
    -Friedrich Schiller

    The flame puts me in the mood to "Do it!".
    -Dart, Legend of Dragoon

  4. #14
    Wire Amateur R4NG3D-PWN3R's Avatar
    Join Date
    Mar 2009
    Posts
    90

    Default Re: [E2] Holograms Done.

    Is there a command to make your own polygon? Using some kind of table...

    Code:
    Vectors = {(X,Y,Z)(X,Y,Z)(X,Y,Z)(X,Y,Z)}
    
    CreateHolo(Vectors, ent:pos() + vec(0,0,100))
    Something like this, but with as many vectors as you want would be nice... (If possible)

    ^ Dont make me do this to you! ^

  5. #15
    Wirererer pl0x's Avatar
    Join Date
    Aug 2008
    Posts
    238

    Default Re: [E2] Holograms Done.

    Quote Originally Posted by R4NG3D-PWN3R View Post
    Is there a command to make your own polygon? Using some kind of table...

    Code:
    Vectors = {(X,Y,Z)(X,Y,Z)(X,Y,Z)(X,Y,Z)}
    
    CreateHolo(Vectors, ent:pos() + vec(0,0,100))
    Something like this, but with as many vectors as you want would be nice... (If possible)
    there is no such command, and im not sure if it's even possible, but im probably wrong

  6. #16
    Master of Mars Magos Mechanicus's Avatar
    Join Date
    May 2008
    Posts
    852

    Default Re: [E2] Holograms Done.

    So... is there a download anywhere or what? I wanna try, and it seems like some people have got their hands on it.
    I can wire anything directly into anything! I'm the Professor!
    -Professor Hubert Farnsworth

  7. #17
    ◕␣◕ McLovin's Avatar
    Join Date
    Sep 2008
    Location
    Batman, Turkey
    Posts
    2,346
    Blog Entries
    3

    Default Re: [E2] Holograms Done.

    Quote Originally Posted by Magos Mechanicus View Post
    So... is there a download anywhere or what? I wanna try, and it seems like some people have got their hands on it.
    Yea sorry I released with more problems then I intended. Ill work on trying to fix it sorry guys :/.
    Anticept - HP you are terrible at trolling. Always have been. Leave it up to the pros like Jat.
    Black Phoenix - Actually cunt goes into bullshit. Bullshit does not fit in cunt.
    Drunkie - Logically, Jat Goodwin must be a fist pumping guido.

  8. #18
    Wire Amateur R4NG3D-PWN3R's Avatar
    Join Date
    Mar 2009
    Posts
    90

    Default Re: [E2] Holograms Done.

    Quote Originally Posted by pl0x View Post
    there is no such command, and im not sure if it's even possible, but im probably wrong
    Depends on how the Cubes and stuff are made, if they are made on the fly by the engine... Then it should be, but if its made on a modelling software then, no it isnt... -_-

    ^ Dont make me do this to you! ^

  9. #19
    ◕␣◕ McLovin's Avatar
    Join Date
    Sep 2008
    Location
    Batman, Turkey
    Posts
    2,346
    Blog Entries
    3

    Default Re: [E2] Holograms Done.

    Quote Originally Posted by R4NG3D-PWN3R View Post
    Depends on how the Cubes and stuff are made, if they are made on the fly by the engine... Then it should be, but if its made on a modelling software then, no it isnt... -_-
    No there is no function for that and if you want a different shape just make one with the ones given... -_-
    Anticept - HP you are terrible at trolling. Always have been. Leave it up to the pros like Jat.
    Black Phoenix - Actually cunt goes into bullshit. Bullshit does not fit in cunt.
    Drunkie - Logically, Jat Goodwin must be a fist pumping guido.

  10. #20
    ◕␣◕ McLovin's Avatar
    Join Date
    Sep 2008
    Location
    Batman, Turkey
    Posts
    2,346
    Blog Entries
    3

    Default Re: [E2] Holograms Done.

    Alright, think i fixed it.
    Anticept - HP you are terrible at trolling. Always have been. Leave it up to the pros like Jat.
    Black Phoenix - Actually cunt goes into bullshit. Bullshit does not fit in cunt.
    Drunkie - Logically, Jat Goodwin must be a fist pumping guido.

+ Reply to Thread
Page 2 of 20 FirstFirst 123412 ... LastLast

Similar Threads

  1. E2 Holograms
    By McLovin in forum Wiremod Addons & Coding
    Replies: 156
    Last Post: 06-17-2009, 12:14 PM
  2. tutorials on holograms?
    By MrCoffee93 in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 3
    Last Post: 06-26-2008, 12:55 PM
  3. Color Inputs for Holograms
    By Yerocrg in forum Ideas & Suggestions
    Replies: 0
    Last Post: 04-11-2007, 05:36 AM
  4. Help with Holograms
    By Yerocrg in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 04-10-2007, 10:39 PM

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