Infopanel.png not displaying correct frames
Re: Infopanel.png not displaying correct frames
Updated to the binary you sent me. Haven't updated the scripts yet. Mission 4 doesn't seem to crash anymore. Order Mission 1 is more stable (just slow). Mission 3 now crashes on start.
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Infopanel.png not displaying correct frames
I was thinking hard again last night about this infopanel thing I've been yacking on about for what seems like an eternity...
Why not have the panels loading like an icon? Icons have frames and the lua code is quite simple to do. The only thing is that instead of using the:
that loads the icon file, would I be able to do this?
Then I just use the same lookup table that is in icons.lua, in a new file dedicated to the infopanel...problem solved!
Why not have the panels loading like an icon? Icons have frames and the lua code is quite simple to do. The only thing is that instead of using the:
Code: Select all
icon.G = CGraphic:New("tilesets/" .. wargus.tileset .. "/icons.png", 46, 38)
Code: Select all
icon.G = CGraphic:New("ui/" .. wargus.race .. "/infopanel.png", 176, 176)
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Infopanel.png not displaying correct frames
Was tracking through the latest trunk source, and noticed someone has updated the InfoPanel code some more...Still not working though in game. Just wondering if it needs to be modified in lua or is someone going to get in and get it functioning.
Only way I can see it being able to work is adding code from the old 2.1 codebase which actually had it working properly.
Anyone?
Only way I can see it being able to work is adding code from the old 2.1 codebase which actually had it working properly.
Anyone?
Re: Infopanel.png not displaying correct frames
What do you think of the latest trunk?
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Infopanel.png not displaying correct frames
Not sure what you mean? If it is referring to the new menu functionality, then I would have to say that I have been a little confused at to how to access all the skirmish maps for wargus now. None of them appear in the "Standard Game" map selection window...Where are they now? How do I get to them?
Re: Infopanel.png not displaying correct frames
It would be great to find a solution to this issue
In Wyrmsun there are some infopanel graphics which are at present unused because of this.
In Wyrmsun there are some infopanel graphics which are at present unused because of this.
Re: Infopanel.png not displaying correct frames
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Infopanel.png not displaying correct frames
Looks good Kyran, but do you have any answers maybe from the other devs on the infopanel thing?
Will be good when it's working. I'm mucking around with code pieces right now as a matter o fact. Trying to figure this out! GRRRR so frustrating when my knowledge of this engine is limited because of lackluster commenting in the code.
Will be good when it's working. I'm mucking around with code pieces right now as a matter o fact. Trying to figure this out! GRRRR so frustrating when my knowledge of this engine is limited because of lackluster commenting in the code.
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Infopanel.png not displaying correct frames
I got a P.M from cybermind. He mentioned that the new Popup code has been implanted in the engine, but they have yet to intergrate it in the code. Any Indication of when the next version of the engine is coming out? trunk or release...Any news is good.
- DinkyDyeAussie
- Posts: 260
- Joined: Fri Feb 10, 2012 10:39 am
- Location: Australia
Re: Infopanel.png not displaying correct frames
So now it works Protest over. I'm happy for now Infopanel.png now behaves exactly like it should finally. Thanks Cybermind