1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Off-Topic

Automatic Texture Update

  • jaboo224
  • November 4, 2007 at 6:45 PM
  • jaboo224
    • November 4, 2007 at 6:45 PM
    • #1

    The guys at Unknownworlds (Natural Selection 2 Developers) have been creating some sweet tools for source. They made a LUA debugger and they have had talks about source recognizing .swf files for ingame GUI etc.

    But recently they showed off this cute app that is pretty awesome for us texture artists. It allows us to automatically see our textures updated in the environment

    Video of it in action

    http://www.unknownworlds.com/files/ns2/bsp_viewer.mov

    Blog entry

    http://www.unknownworlds.com/ns2

  • Erratic
    • November 4, 2007 at 6:49 PM
    • #2

    The video link is crashing IE/Firefox

  • Sindwiller
    • November 4, 2007 at 6:53 PM
    • #3
    Quote from Erratic

    The video link is crashing IE/Firefox

    Works for me (Konqueror)

    Neat tool

  • Zeta
    • November 4, 2007 at 6:58 PM
    • #4

    fantastic tool.

    video also crashes for me.

    (edit - is the app not available for download?)

  • Sa74n
    • November 4, 2007 at 7:09 PM
    • #5

    looks like philipk textures to me

    definitely a very very useful tool! this shouldve been part of the sdk since valve first released the sdk.

  • Wunderboy
    • November 4, 2007 at 7:24 PM
    • #6

    I could of sworn Nem's Crafty does this already.

  • dissonance
    • November 4, 2007 at 7:29 PM
    • #7

    Good lord, this looks amazing. Why has nobody done this yet?

    Also, for god's sake, PLEASE do not EVER allow swf files in a game! Do you have any idea how amazingly insecure that is?

    Quote from Sindwiller

    Works for me (Konqueror)

    lolWorks fine in Epiphany.

  • dux
    • November 4, 2007 at 7:58 PM
    • #8

    2 awesome tools posted in the space of a week, rock on

  • Fяэ&a
    • November 4, 2007 at 8:35 PM
    • #9

    pretty cool

  • Thrik
    • November 4, 2007 at 9:11 PM
    • #10

    How is using .swf files for the GUI insecure?

  • KoKo5oVaR
    • November 4, 2007 at 9:52 PM
    • #11
    Quote from Wunderboy

    I could of sworn Nem's Crafty does this already.

    Actually yes it does, the only difference is that you have to reload the bsp, but since it's really fast ... :x

    and yeah .. you only have the diffuse.

  • dissonance
    • November 4, 2007 at 11:50 PM
    • #12
    Quote from Thrik

    How is using .swf files for the GUI insecure?

    code injections, cookie grabbing, etc.Well, unless they clamp down severly on what swf's can do, what kinds of commands they can execute.

    In which case they'd almost be as well, if not better off supporting svg.

  • fonfa
    • November 4, 2007 at 11:52 PM
    • #13

    do want phong on world geometry

    <3

  • Meotwister
    • November 5, 2007 at 12:37 AM
    • #14

    That's rather awesome.

  • Thrik
    • November 5, 2007 at 1:13 AM
    • #15

    Well, I didn't really think it was something the players would be having anything to do with dissonance -- just a way for the developers to do more animated, fancy HUD elements (possibly useful for the RTS-like overview thing in Natural Selection).

    I guess if you introduce the whole 'community content' aspect there's room for issues, but I wouldn't imagine it'd be too bad considering we run .swf files all the time anyway.

    I've never really heard of .swf files being very insecure in the dramatic way you describe. In fact, I haven't really heard of .swf security issues at all. Is it really that bad?

  • dissonance
    • November 5, 2007 at 2:30 AM
    • #16
    Quote from Thrik

    I've never really heard of .swf files being very insecure in the dramatic way you describe. In fact, I haven't really heard of .swf security issues at all. Is it really that bad?

    Do you have a myspace account?Think of it this way: swf's can execute any javascript commands. They can dump cookies, sessionid's, and - if something's wrong on your end - inject and execute code.

    If the dev's took anything out that wasn't related to mouseovers or the like, then I wouldn't have a problem with it. If they just make a swf viewer, though, then there would be a problem.

    But yes, get it working properly and that would add a whole 'nother element of awesome (or awesomely cheesey =D) to HUDs.

  • Wunderboy
    • November 5, 2007 at 7:01 AM
    • #17
    Quote from dissonance

    Do you have a myspace account?Think of it this way: swf's can execute any javascript commands. They can dump cookies, sessionid's, and - if something's wrong on your end - inject and execute code.

    The sky is falling!

    SWF is just a file format and it's pretty much open. My assumption is their going to include code to open and interact with the SWF files in game as they wouldn't be able to embed the current flash player into the engine.

    The game isn't a browser, there is no Javascript interpreter in it to execute Javascript for a start and I doubt things like file operations and code execution is going to work either.

    More than likely they'll take an open-source SWF lib and just use a sub-set of it's code to allow vector based, interactive HUD elements that communicate event's back to the engine via LUA or something. Thats's how I'd do it.

  • dissonance
    • November 5, 2007 at 7:16 AM
    • #18
    Quote from Wunderboy

    The sky is falling!

    SWF is just a file format and it's pretty much open. My assumption is their going to include code to open and interact with the SWF files in game as they wouldn't be able to embed the current flash player into the engine.

    The game isn't a browser, there is no Javascript interpreter in it to execute Javascript for a start and I doubt things like file operations and code execution is going to work either.

    More than likely they'll take an open-source SWF lib and just use a sub-set of it's code to allow vector based, interactive HUD elements that communicate event's back to the engine via LUA or something. Thats's how I'd do it.

    Sounds good, but in that case, why not just use SVG? It's a whole lot easier to edit.I'm down for it either way, though.

  • Wunderboy
    • November 5, 2007 at 8:13 AM
    • #19

    Actually I thought SVG was a better idea too but I guess more people are familiar with SWF.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  2. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  3. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  4. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  5. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  6. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  7. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  8. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  9. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  10. Classic Maps Reborn For CS2

    SillySpaceCat
    May 31, 2026 at 10:33 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™