mrthuanvn / wot-xvm

Automatically exported from code.google.com/p/wot-xvm
GNU General Public License v3.0
0 stars 0 forks source link

Splitting WoT UI by adding an air instance to host the minimap and battlelog #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How much work would it be to enable moving the minimap and battlelog to another 
application (air) window using localconnection? I'm sure it's possible, but 
it's over my head :*-)

Would be the best next step I can think off x]

Could take it one step further and run the configuration editor in another 
instance to allow real time configuration testing/altering.. 

Original issue reported on code.google.com by marvin.w...@gmail.com on 23 Nov 2012 at 7:04

GoogleCodeExporter commented 9 years ago
I think it is impossible because of restrictions of ScaleForm.

Original comment by m.schedr...@gmail.com on 23 Nov 2012 at 7:08

GoogleCodeExporter commented 9 years ago
BattleLog is already exported, so any ui could just use that output stream. 
Would be a bonus if it could be done in one step using LocalConnection though.

Minimap, I thought it would be possible since it doesn't feed back any data ( 
no input, just graphical output ). So any data to be fed to GfxMinimap could 
probably be piped to another player instance, but I think you couldn't 
instantiate the GfxMinimap class in another player due to not having the 
sdk/license?

Then I thought, the main viewport could perhaps be changed to span multiple 
monitors after which the minimap could be positioned on one screen? This I 
think would be the best option, as it would also make moving other elements 
around much easier since you already have the canvas spanning multiple monitors.

There is a lot of ScaleForm HUD info to be found, but almost exclusively for 
UDK, not BigWorld. I think there would be no difference in implementation 
though?

About scaleform hud GfxMinimap ->

http://forums.epicgames.com/threads/744605-Multiplayer-HUD-s-with-Scaleform-SOLV
ED?p=27648855&viewfull=1#post27648855

Original comment by marvin.w...@gmail.com on 26 Nov 2012 at 11:45

GoogleCodeExporter commented 9 years ago
Disregard about scaleform hud link, was still editing comment but pressed 
submit on accident. Think the rest is pretty much correct though, at least it 
explains why i thought it should be possible. 

Original comment by marvin.w...@gmail.com on 26 Nov 2012 at 11:51

GoogleCodeExporter commented 9 years ago
Again, this is impossible:
http://gameware.autodesk.com/documents/gfx_4.0_flash_support.pdf
LocalConnection 6 No
LocalConnection allowDomain 7 No
LocalConnection allowInsecureDomain 7 No
LocalConnection close 6 No
LocalConnection connect 6 No
LocalConnection domain 6 No
LocalConnection onStatus 6 No
LocalConnection send 6 No

If you still think this is possible, please provide working example.

Original comment by m.schedr...@gmail.com on 11 Dec 2012 at 9:51