View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 28.02.2012, 06:09Posts: 18 Likes: 0
 

 Post Topic: custom UI could not show Some function which connect by FG
PostPosted 08.05.2013, 04:38 
the custom Ui which I maked by flash (it is GFX now)
for the first time I connected all things like pic below.
before.png
everything looks Ok, and then I save it in to "UI Actions".
but after I closed ce3 and open it again, everything changed.
it only show me the effects which I made in flash.
Console show me these :

Code:
[Error] <Flash> Error: GFxLoader failed to open 'FlashAssets\testBtn.swf' [FlashAssets\testBtn.swf]
[Error] <Flash> GFxLoader failed to open "FlashAssets\testBtn.swf" [FlashAssets\testBtn.swf]
[Error] [UIAction] btn1: Can't find flash file: "FlashAssets\testBtn.swf"
[Error] <Flash> Error: GFxLoader failed to open 'FlashAssets\HP.swf' [FlashAssets\HP.swf]
[Error] <Flash> GFxLoader failed to open "FlashAssets\HP.swf" [FlashAssets\HP.swf]
[Error] [UIAction] HP: Can't find flash file: "FlashAssets\HP.swf"
[Error] [UIAction] LoadingScreen: Can't find flash file: ""
[Error] <Flash> Error: GFxLoader failed to open 'HUD.gfx' [HUD.gfx]
[Error] <Flash> GFxLoader failed to open "HUD.gfx" [HUD.gfx]
[Error] [UIAction] HUD: Can't find flash file: "HUD.gfx"
[Error] <Flash> Error: GFxLoader failed to open 'FlashAssets\shia.swf' [FlashAssets\shia.swf]
[Error] <Flash> GFxLoader failed to open "FlashAssets\shia.swf" [FlashAssets\shia.swf]
[Error] [UIAction] kanba: Can't find flash file: "FlashAssets\shia.swf"
[Error] <Flash> Error: GFxLoader failed to open 'FlashAssets\load pics after press btn.swf' [FlashAssets\load pics after press btn.swf]
[Error] <Flash> GFxLoader failed to open "FlashAssets\load pics after press btn.swf" [FlashAssets\load pics after press btn.swf]
[Error] [UIAction] load pics after press btn: Can't find flash file: "FlashAssets\load pics after press btn.swf"
[Error] <Flash> Error: GFxLoader failed to open 'FlashAssets\Item.swf' [FlashAssets\Item.swf]
[Error] <Flash> GFxLoader failed to open "FlashAssets\Item.swf" [FlashAssets\Item.swf]
[Error] [UIAction] viewItem: Can't find flash file: "FlashAssets\Item.swf"
[Warning] [UIAction] FG: UIElement "HUD3D" does not exist, referenced at node "UI:Display:Display"
[Warning] [UIAction] FG: UIElement "HUD2D" does not exist, referenced at node "UI:Display:Display"
[Warning] [UIAction] FG: UIElement "HUD2D" does not exist, referenced at node "UI:Display:Display"
[Warning] <Sound> Trying to play a sound at (0,0,0) position in the entity SCAR020 (SCAR). Entity may not be initialized correctly!
Disable Accelerators
<Lua> [AI] Reseting AI
<Lua> [AI] Initialising TPS queries for Test
<Lua> [AI] Initialising TPS queries for Grunt
<Lua> PipeManager: Creating goal pipes
--- AI: Loading goal pipes XML file: Scripts/AI/GoalPipes/GoalPipesFogOfWar.xml...
--- AI: Loading goal pipes XML file: Scripts/AI/GoalPipes/GoalPipesBasicAI.xml...
--- AI: Loading goal pipes XML file: Scripts/AI/GoalPipes/GoalPipesCivilian.xml...
<Lua> PipeManager: Finished creating goal pipes!
[Error] [UIAction] StartAction failed! UIAction hud_2d not valid!
[Error] [UIAction] StartAction failed! UIAction hud_3d not valid!
[Error] [UIAction] StartAction failed! UIAction hud_radar not valid!
[Warning] [UIAction] LUA: Try to access UIAction DisplayUseText that is not valid!
[Warning] [UIAction] LUA: UIAction DisplayUseText does not exist
[Warning] [UIAction] LUA: Try to access UIAction DisplayUseText that is not valid!
[Warning] [UIAction] LUA: UIAction DisplayUseText does not exist
Compile Illum@Common_ZPassVS(RTa0040040)(VS) (81 instructions, 6/217 constants) ...
Compile Illum@Common_MotionBlurPassVS(RTa0040040)(VS) (117 instructions, 9/225 constants) ...
Compile Cloth@Common_MotionBlurPassVS(RTa0040000)(VS) (117 instructions, 9/225 constants) ...


what I can do?
thank you for your watch and waitting for all your help~~!

PS:
UI also could not see in Launcher ,why?
My version:CryENGINE_PC_v3_4_5_6666_freesdk

User avatar   Media Support Media SupportMember since: 04.12.2007, 03:23Posts: 7106Location: NorwayStatus: Online Likes: 65
 

 Post Topic: Re: custom UI could not show Some function which connect by
PostPosted 10.05.2013, 09:43 
1. Store .SWF / .GFX files under Game/Libs/UI and not FlashAssets.
2. Never use spaces in filenames or folders under CE3 directories.


 
 
 

< Vascotia Studios >

Image   Image   Image   Image   Image

Join our Social Sites!
  Beginner BeginnerMember since: 28.02.2012, 06:09Posts: 18 Likes: 0
 

 Post Topic: Re: custom UI could not show Some function which connect by
PostPosted 15.05.2013, 03:57 
Lavizh thanks for your help.
I did everything as you said,the botton still no effect in Launcher .
I will show you what I did.
1.png
A simple FG entity"Rain1"
2.png
test the botton the effect OK ,it's rainning.
save everything close editor, open the Launcher.
3.png
press botton nothing happen.
close it open editor again , I found something was changed.
The FG entity called "Choose Entity" not "Rain1".(I could not upload pic anymore)

That is what I did, and I think I found the problem but I have no idea to solve it.
User avatar   Beginner BeginnerMember since: 11.05.2013, 21:06Posts: 4Location: Germany, Duisburg Likes: 1
 

 Post Topic: Re: custom UI could not show Some function which connect by
PostPosted 19.05.2013, 11:55 
Quote by Lavizh:
1. Store .SWF / .GFX files under Game/Libs/UI and not FlashAssets.
2. Never use spaces in filenames or folders under CE3 directories.


As I am on UI creation right now, I have a question concerning this, too.

There is no Game/Libs/ folder in the current engine destribution. I thought the folder/file organization may have changes, as I read the documentation and could not find concerning files/folders. Existing UI elements, which I can load in the UI Emulator, are placed in a different folder. But after your post to "Store .SWF / .GFX files under Game/Libs/UI", I am confused.

Was there a restructuring of the file/folder system?
User avatar   Media Support Media SupportMember since: 04.12.2007, 03:23Posts: 7106Location: NorwayStatus: Online Likes: 65
 

 Post Topic: Re: custom UI could not show Some function which connect by
PostPosted 19.05.2013, 11:57 
I guess you havn't unpacked the Libs\UI folder in GameData.pak yet?

Read up on CryEngine 3 Directory Structures :
http://freesdk.crydev.net/display/SDKDO ... +Structure


 
 
 

< Vascotia Studios >

Image   Image   Image   Image   Image

Join our Social Sites!
User avatar   Beginner BeginnerMember since: 11.05.2013, 21:06Posts: 4Location: Germany, Duisburg Likes: 1
 

 Post Topic: Re: custom UI could not show Some function which connect by
PostPosted 19.05.2013, 12:05 
Quote by Lavizh:
I guess you havn't unpacked the Libs\UI folder in GameData.pak yet?

Read up on CryEngine 3 Directory Structures :
http://freesdk.crydev.net/display/SDKDO ... +Structure


thank you very much. Sometimes it's the little things :))

btw: I'm just getting started