Light model problem

Discussion in 'Mapping Questions & Discussion' started by Acclipse, Oct 9, 2021.

  1. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    upload_2021-10-9_22-33-2.png

    When i added a light entity near the prop it looks weird as the bulb glass isnt bright. I found 2 skins for it and the other one is just dark.This is kinda stupid but I need help.The model I used is models/props_2fort/lightbulb001.mdl.
     
  2. nesman

    aa nesman master of fast travel

    Messages:
    696
    Positive Ratings:
    594
    Can you show us a shot of this in hammer? Hard to tell what you've got currently.
     
  3. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    You mean the object properties?
     
  4. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
  5. MOCOLONI

    MOCOLONI L6: Sharp Member

    Messages:
    371
    Positive Ratings:
    78
    Did you disable vertex lighting before or after experiencing your issue?
     
  6. Crash

    aa Crash func_nerd

    Messages:
    3,235
    Positive Ratings:
    5,185
    Usually there is a sprite placed on lights to give them the glow you are thinking of, check a decompiled map for it.
     
  7. nesman

    aa nesman master of fast travel

    Messages:
    696
    Positive Ratings:
    594
    • Agree Agree x 1
  8. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    I disabled vertex lighting after the issue
     
  9. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    upload_2021-10-12_17-32-39.png
    I found out that i need to add a env_sprite entity for the glow
    but i didnt find how to add the glow as i just copy pasted it from a map
     
  10. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    upload_2021-10-12_17-33-33.png
    whenever i open it it auto types sprites/ but nothing shows up
    i tried to find a sprite named glow but i didnt find it anywhere
     
  11. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    Well i added a env_sprite in the bulb and its the same as before
    upload_2021-10-12_19-2-54.png
     
  12. L.A.1o2

    L.A.1o2 L1: Registered

    Messages:
    22
    Positive Ratings:
    2
    put it just outside of the lightbulb so it's not covered by the light bulb
     

    Attached Files:

  13. nesman

    aa nesman master of fast travel

    Messages:
    696
    Positive Ratings:
    594
    Try using one of the lights from the prefab I linked.
     
  14. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    Hmmm i tried it but it looks like a block of glow
     
  15. MOCOLONI

    MOCOLONI L6: Sharp Member

    Messages:
    371
    Positive Ratings:
    78
    Remove "materials/" from the path. Also make sure the light bulb model isn't solid or else the env_sprite will have to be placed outside of its collisions (as otherwise the sprite will not render).

    Sprites are to be extracted from the .VPK files and then viewed through the game's developer mode ("-tools" launch option).
     
  16. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    upload_2021-10-13_14-38-14.png
    Oof it looks like this. Thanks
    Hmmm how do u extract those anyway?
     
  17. Acclipse

    Acclipse L1: Registered

    Messages:
    15
    Positive Ratings:
    0
    upload_2021-10-13_20-48-40.png
    And i found a thread about this same problem
     
  18. MOCOLONI

    MOCOLONI L6: Sharp Member

    Messages:
    371
    Positive Ratings:
    78
    Nevermind, actually - I was thinking of 'particles' when I said that, which doesn't necessarily apply to sprites. However, if you still want to go for it: normally one would use 'vpk.exe' to pack and unpack these archives; however, it seems that you can only pack them as of late, whereas unpacking only generates the folder structure but won't extract the actual files.

    GCFScape is currently one reliable way to go. You'll want to open tf2_textures_dir.vpk for the textures, and tf2_misc_dir.vpk for the configuration files associated to said textures, which you may customize and pack into your map. You'll also need VTFLib for that (though you can use a regular notepad (preferably Notepad++) for opening .vmt files)