Results 1 to 10 of 524

Thread: Open Sauce Ideas thread

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Senior Member Rambo's Avatar
    Join Date
    Jun 2009
    Posts
    135

    Re: Open Sauce Ideas thread

    Quote Originally Posted by Kornman00 View Post
    The function doesn't show in-game because it's not programmed into the .DLL HaloCE is using.
    Then how do we get the DLL to recognize map resources or at best, program it into the DLL as a recompile?

    Quote Originally Posted by Kornman00 View Post
    Why are you defining two functions for this? You would only need one, switch_lightmap (either taking a short to represent the lightmap index or a string which the code will then try to find in the bsp_set blocks).
    Because, when making a complicated day-night system where the lightmap needs to sync according to the biped killed, you don't want it to just switch Lightmap because then it might get stuck without a check. That's why I incorporated a check function such as structure_lightmap_index to make sure that if someone tries to glitch the lightmaps or BSP switches by selecting a BSP or lightmap other than the one in use to purposefully mess up the time of day to gain an unfair advantage over someone, they cannot. With a complex but robust checking system, the lightmap would be able to be locked to where it is, but that could only be done via a structure_lightmap_index command.

    Furthermore, I want to have the ambient sounds change according to what time of day it is (e.g. crickets and owls for night time and birds and cicadas for daytime). One could easily do this in a cluster portal, but I'm using sound scenery to make the experience more "full" sounding, if you know what I mean.

    So I should set switch_lightmap as a string argument and the return should be a boolean, correct? What should the structure_lightmap_index be?
    Last edited by Rambo; November 2nd, 2009 at 08:06 AM.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •