Modding PA Main Menu

Discussion in 'Mod Discussions' started by ozonexo3, April 24, 2014.

  1. ozonexo3

    ozonexo3 Active Member

    Messages:
    418
    Likes Received:
    196
    I have small project in my head, but first i need to know few thinks.

    In main menu you can watch youtube/twich movies. Is it using Flash Player? If yes, can i play anything in MainMenu that is in flash?
  2. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    Check the video's HTML using the debugger. I don't have PA up right now but it should be easy to figure out.
  3. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    YouTube video playback it's HTML5 video for sure. I didn't clicked on Twitch in current build, but before it's just open streams in external browser.

    There was few bugs where flash player was used and glitched, but it's was long time ago in alpha with old Coherent. Clearly it's not something supported and even if you can make it work for you this will cause issues for many players especially on Mac/Linux.

    I suppose it's still technically possible to force Coherent use plugins somehow, but this is clearly won't work in future at all because Chrome will remove NPAPI plugins support and Coherent will follow soon.
    Last edited: April 24, 2014
  4. ozonexo3

    ozonexo3 Active Member

    Messages:
    418
    Likes Received:
    196
    Yeah, i know. I remember it in alpha. Rught now added div with swf object, but its not playing.

    In html there already is:
    <script type="text/javascript" src="swfobject.js"></script>

    I need to work with this more, but there is a chance, that it will work
  5. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Might be you can say what exactly you want to achieve with it? :)
    There is HTML/JavaScript-based SWF players and those can work for many flash files already.
  6. ozonexo3

    ozonexo3 Active Member

    Messages:
    418
    Likes Received:
    196
    i want to play Unity3D Flash game.

    Strange, looks like PA is not using "start.html" anymore :/ eh, I don't know how all these exacly works. I'm not good in web code
  7. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    It is using start.html, that is the main menu.
  8. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Is it your game? Unity should have Native Client development and I suppose there should be way to enable Native Client in Coherent/PA.
  9. ace902902

    ace902902 Active Member

    Messages:
    548
    Likes Received:
    212
    are we getting tank commander back In mod form?
  10. ozonexo3

    ozonexo3 Active Member

    Messages:
    418
    Likes Received:
    196
    Yes, it can be my game. Unity can also deploy game to Flash Players swf and I want to try to put it in PA menu. This can give us tool to make cool stuff
  11. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Unity 5 have HTML5 export announced so It's will be possible to use it within PA without pain in ***. :)
  12. someonewhoisnobody

    someonewhoisnobody Well-Known Member

    Messages:
    657
    Likes Received:
    361
    Check out my In Game Browser mod, check out the OP to see how to use it in your mods.
    ozonexo3 likes this.
  13. ozonexo3

    ozonexo3 Active Member

    Messages:
    418
    Likes Received:
    196
    It looks cool, i will check it for sure! Thanks
  14. ozonexo3

    ozonexo3 Active Member

    Messages:
    418
    Likes Received:
    196
    Well, this all web browsers in game is quite interesting, and creates some big questions. I will realy like to see in PA something like is in StarCraft2 - Section with minigames based on game. In future we will propably be able to mod PA gameplay in many ways, they will be a real mods to PA. But what about making something that is based on this web part of PA? This is integrall part of PA, so moding it, adding features should also be count as PA mod, right?

    Just thinking: What will happend if someone will create a small game, that is using for example some units, or hud graphics and to play it you will need to instal mod to PA and play it from PA, this will be a mod to PA or still retail game? It will not use resources outside, this will be still going on inside PA, this will be integral part of PA. Ok, i will get resources and convert and pack them to other files, but this still count to moding.

    How far can we go using this web part? Right now its only used to display movies, but we can go far than this for sure, but where is border between mod and other product displayed in PA? Twitch for example is just other thing implemented inside PA, becouse you can get to it in many other ways - from web browser, from phone etc. and you don't need PA to use it. So when you will add something that work only inside PA, you can't play it in any other way, than from PA, what to do with that?

Share This Page