Change the skybox based on the holiday?

Discussion in 'Mapping Questions & Discussion' started by Thanks4TheDiscordBanIibo, Jun 27, 2016.

  1. Thanks4TheDiscordBanIibo

    Thanks4TheDiscordBanIibo L1: Registered

    Messages:
    49
    Positive Ratings:
    49
    -snip, quitting-
     
    Last edited: Dec 31, 2018
  2. Gabe Noodle from Volvo

    Gabe Noodle from Volvo L3: Member

    Messages:
    142
    Positive Ratings:
    32
    I don't think you could change textures with the i/o system. But you could have multiple skybox brushes with different textures, and disable all but the ones used for the holiday.
     
    • Thanks Thanks x 1
  3. Frosty Scales

    aa Frosty Scales

    Messages:
    85
    Positive Ratings:
    34
    You can change the skybox as long as you do it before the map initially loads. Not 100% sure, but if you had a point_servercommand do sv_skyname <sky> as the map spawns (so originating from a logic_auto maybe?) you should have a different skybox on holidays.

    the catch here is that the server running the map needs to set "sv_allow_point_servercommand always"
     
    • Thanks Thanks x 1
  4. Vel0city

    aa Vel0city func_fish

    Messages:
    1,939
    Positive Ratings:
    1,547
    You should ask @Crash how he did it on wubwubwub. That map has like 3 skybox brushes or something. Or watch his video on it, he has one breaking down the map logic 'n stuff (sill waiting on how Trainsawlaser does things though :) )
     
    • Agree Agree x 1
  5. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    One thing you could do for Christmas is make snow displacements on roofs, stairs and the ground, export them to VMFs and use Propper to compile them into prop_dynamic.
     
    • Like Like x 1
  6. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    Hurrah.
     
    • Funny Funny x 1
  7. Diva Dan

    aa Diva Dan hello!

    Messages:
    862
    Positive Ratings:
    1,486
    He has 2 different skyboxes, however one is more of a psuedo-skybox. The initial desert scene has brushes on 5 sides with literall skybox textures of dust bowl or something. When the map launches into space, the fake skybox is removed and the actual skybox becomes visible (space). You'll notice the fake skybox actually rotates when taking off, something impossible to do with normal skyboxes. So sadly he really only uses one true skybox in his map!
     
    • Agree Agree x 1
  8. Pocket

    aa Pocket func_croc

    Messages:
    4,495
    Positive Ratings:
    2,384
    I think I brought this up before; it's possible to have a material proxy that changes some properties of the material when an entity sends an input, isn't it? You might want to look into that.
     
  9. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    It's possible to switch between two light_environment by naming them. There's some information about it somewhere on the forum. Obviously you'd get two sets of lightmaps so keep an eye on that.
     
  10. Diva Dan

    aa Diva Dan hello!

    Messages:
    862
    Positive Ratings:
    1,486
    I think Byre does that when the alien ship explodes, actually!
     
  11. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,443
    Positive Ratings:
    1,199
    Hell, why do you have each spawnpoint named differently? It's useless waste of entdata.
     
  12. Frosty Scales

    aa Frosty Scales

    Messages:
    85
    Positive Ratings:
    34
    It would be a good idea to read the thread before you make remarks about something that's already irrelevant to begin with
     
    • Funny Funny x 1
  13. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    I'm not sure giving each spawn point a unique name would increase the size of the entity data block any more than giving each spawn point the same name. We're talking about kilobytes here though, which really don't matter.
     
    • Agree Agree x 1
  14. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,443
    Positive Ratings:
    1,199
    Entdata here is increased by a lot of outputs.
     
  15. Idolon

    aa Idolon the worst admin

    Messages:
    1,640
    Positive Ratings:
    4,860
    Almost - it's a point light with a high constant value.
     
    • Thanks Thanks x 1
  16. Egan

    aa Egan

    Messages:
    1,320
    Positive Ratings:
    1,570
    The 'entdata' is increased by io, but there is no limit on entdata (afaik). There is a limit on entities (2048 networked, 2048 non-networked) but I've seen a map work on a full server that had over 700% 'entdata'. And as Wormatty said the increase of naming things is negligible.

    @404UserNotFound For the soundscape enable/disable, I don't think you can toggle a soundscape point entity, but you should be able to toggle the soundscape triggers if you use that method of soundscapes.

    You can also, if you want, put the outputs into several logic_relay which you can trigger through the IsAprilFools/etc outputs and then have each relay do the rest from the OnTrigger input. This will make it easier to test things out in the meantime because while in-game you can type into console (with sv_cheats 1 on):
    and it will trigger that relay for you to test and see what happens. This is also useful for organisation. ;)
     
  17. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    That's true. Though I would presume anyone who knew about these things would be using wildcards to address each of the uniquely-named entities with one output. e.g. SpawnPoint_Blue_*
     
  18. Gabe Noodle from Volvo

    Gabe Noodle from Volvo L3: Member

    Messages:
    142
    Positive Ratings:
    32
    Do you not see the irony in you posting something even more irrlevant over a simple mistake?
     
  19. Frosty Scales

    aa Frosty Scales

    Messages:
    85
    Positive Ratings:
    34
    I'd love to see more about this, when I looked it up I just found a facepunch thread with a glitchy example made using a modified version of VRAD. So clearly it's possible in the engine, but I don't see how it'd be done.

    No, because I didn't post anything irrelevant. I answered his question using a quote from the OP.
     
  20. Pocket

    aa Pocket func_croc

    Messages:
    4,495
    Positive Ratings:
    2,384
    The irrelevance of their post's irrelevance is irrelevant.
     
    • Thanks Thanks x 1
    • Agree Agree x 1
    • Funny Funny x 1