+ Reply to Thread
Page 1 of 20 12311 ... LastLast
Results 1 to 10 of 195

Thread: [E2] Holograms Done.

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

    Default [E2] Holograms Done.

    Hey, I know a lot of people have been waiting for a while and I apologize. I went on a vacation, started a game mode and some other things. Anyway here are the E2 functions i plan on releasing the Entity version in a few weeks, after I finish my game mode. I hope you guys enjoy, I was kind of in a rush to release so it might have bugs. If it does just PM me and I will do my best to fix and update. Also, a special thanks to Zeik. Without Zeik these holograms would not be, he helped me A LOT with these along with learning lua . Anyway here you are.

    Code:
    E2 FUNCTION LIST
    
    holoCreate(N,V,V,A,V) - Index, Position, Scale, Angle, Color (RGB,XYZ)
    holoCreate(N,V,V,A) - Index, Position, Scale, Angle
    holoCreate(N,V,V) - Index, Position, Scale
    holoCreate(N,V) - Index, Position
    holoCreate(N) - Index
    holoDelete(N) - Index
    holoDeleteAll()
    holoEntity(N) - Index
    holoReset(N,S,V,V,S) - Index, Model, Scale, Color, Material
    holoScale(N,V) - Index, Scale
    holoScaleUnits(N,V) - Index, Garry's Mod Units
    holoPos(N,V) - Index, Position
    holoColor(N,V,N) - Index, Color, Alpha
    holoColor(N,V) - Index, Color
    holoAlpha(N,N) - Index, Alpha
    holoShadow(N,N) - Index, Shadow
    holoAng(N,A) - Index, Angle
    holoModel(N,S,N) - Index, Model, Skin
    holoModel(N,S) - Index, Model
    holoSkin(N,N) - Index, Skin
    holoMaterial(N,S) - Index, Material
    holoRenderFX(N,N) - Index, Render FX #
    holoParent(N,N) - Index (current Holo), Index (Holo being parented to)
    holoParent(N,E) - Index, Entity
    holoUnParent(N) - Index
    
    MODEL LIST
    
    ["cone"]
    ["cube"]
    ["cylinder"]
    ["icosphere"]
    ["icosphere2"]
    ["icosphere3"]
    ["prism"]
    ["pyramid"]
    ["sphere"]
    ["sphere2"]
    ["sphere3"]
    ["torus"]
    ["torus2"]
    ["torus3"]
    
    CONVAR LIST
    
    wire_holograms_max - Maximum Holograms
    wire_holograms_size_max - Maximum Scale Size
    
    CON-COMMAND LIST
    
    wire_holograms_remove_all - Removes all holograms on the server
    
    wire_holograms_display_owners - Shows names of hologram owners (updates every 1 
    seconds)
    
    wire_holograms_block_name PLAYER NAME - Removes and blocks given player
    
    wire_holograms_unblock_name PLAYER NAME - Unblocks blocked player
    Here is some information about the RenderFX (16 makes it look like a hologram :P) - func_orator - Valve Developer Community

    You tube Vid -
    YouTube - Wiremod E2 HoloGram Demo

    Hope You Enjoy and thanks again Zeik .

    UPDATE

    NEW FUNCTION ADDED! holoScaleUnits( ) allows you to scale the holograms to garry's mod units. Also concommand codes cleaned up. display_owners command now updates every 0.5 seconds and only sends data when needed.

    wire_holograms_block_id is now wire_holograms_block_name and same for unblock. FIND CODE USED FROM find.lua. Also if you create a new hologram at the same index it no longer spawns a new prop but just updates that prop.

    holoReset Added. holoEntity(INDEX) Added (returns hologram entity). holoDeleteAll() Added. And holoParent(n,n) fixed.

    POSITIVE INDEXES ARE CHIP RELATIVE. NEGATIVE INDEXES ARE PLAYER RELATIVE. So one chip cant use another chip's positive indexes! holoCreate() functions now return entities. Holograms now have their own class "gmod_wire_hologram". Any bugs let me know!
    Attached Files Attached Files
    Last edited by McLovin; 07-20-2009 at 10:01 PM.
    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. #2
    Wirererer Zanik's Avatar
    Join Date
    Sep 2008
    Posts
    118

    Default Re: [E2] Holograms Done.

    I just Jizzed in my pants. Have my babies?

    No but srsly, these are epic, dling now, will try and hopefully let you know

  3. #3
    Wire Sofaking Officer Tibbles's Avatar
    Join Date
    Aug 2008
    Location
    Barnus Philbert Boulevard
    Posts
    867

    Default Re: [E2] Holograms Done.

    I tested the Beta on my server, it was epic. Great work. :luaking:

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

    Default Re: [E2] Holograms Done.

    Quote Originally Posted by Zanik View Post
    I just Jizzed in my pants. Have my babies?

    No but srsly, these are epic, dling now, will try and hopefully let you know
    Thanks, Hope you guys enjoy. Any questions just ask ill try to stay up to date on this thread.
    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.

  5. #5
    Wire Sofaking IEF015's Avatar
    Join Date
    Feb 2008
    Location
    London, ON (Canada, eh?)
    Posts
    1,640

    Default Re: [E2] Holograms Done.

    Looks pretty good, can't wait to try it out.
    "It's my favourite country song. And I hate it."

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

    Default Re: [E2] Holograms Done.

    Works great, i set it on an interval with a scale of 5,5,5 and set it to the vector of my aimpos, got spammed with
    ...ities\gmod_wire_expression2\core\custom/hologram.lua:8: Tried to use a NULL entity!
    in console :/. Also, doesnt seem to work right with owner():eye()

    Btw, whats the max size on these? i tried vec(100,100,100) and got the above error also.

    Also, i keep getting a shitload of those errors, randomly, whenever i try to mess with scale.

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

    Default Re: [E2] Holograms Done.

    Quote Originally Posted by Zanik View Post
    Works great, i set it on an interval with a scale of 5,5,5 and set it to the vector of my aimpos, got spammed with
    ...ities\gmod_wire_expression2\core\custom/hologram.lua:8: Tried to use a NULL entity!
    in console :/. Also, doesnt seem to work right with owner():eye()
    :O hm... weird. As I said i was in a bit of a hurry so let me take a look... sorry.

    EDIT: I think its because it may not have enough time to spawn... Ill try to fix sometime tomorrow.

    EDIT2: Oh woops forgot to put the timer in :P. The server simply hasn't had enough time to create the entity. Hang on give it 5 minutes for me to upload and then download and try again.
    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. #8
    Wirererer Zanik's Avatar
    Join Date
    Sep 2008
    Posts
    118

    Default Re: [E2] Holograms Done.

    Yeah, as soon as i make it, i usually get the error.

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

    Default Re: [E2] Holograms Done.

    Quote Originally Posted by Zanik View Post
    Yeah, as soon as i make it, i usually get the error.
    Yup sorry about that try re downloading now. If it still fails ill fix it tomorrow.
    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. #10
    Wirererer Zanik's Avatar
    Join Date
    Sep 2008
    Posts
    118

    Default Re: [E2] Holograms Done.

    One more thing, it seems to hate intervals with a burning passion, and trying that now. Btw, can you post the code for the speedometer, cant see it.

    EDIT-- As soon as i spawn it, i still get the error.
    Last edited by Zanik; 04-29-2009 at 10:44 PM.

+ Reply to Thread
Page 1 of 20 12311 ... 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