Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 3 of 6 1 2 3 4 5 6
#4512930 - 03/26/20 08:42 PM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
I suppose it is a bit more like the original. It can get added to a "for much later" to-do list biggrin

Attached Files KA454-23.jpgka-50.14683.jpg
#4512977 - 03/27/20 02:46 AM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Added the Ekran display. It should always show chaff/flare and fuel. It should show any damaged systems. I've tested it and it seems to work ok, and damaged systems are displayed as expected.

PLEASE TEST.

Archive updated in 1st post (also includes 1.16.1 updates)

Attached Files ekran.jpg
#4513016 - 03/27/20 12:39 PM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
New build with a slight change to the EKRAN display, to show the left and right chaff/flare.

Attached Files ekran.jpg
#4513052 - 03/27/20 03:15 PM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Managed to get the cannon rounds to display, but I just need to work out how to scale the font

Attached Files cannon_rounds.jpg
#4513062 - 03/27/20 04:40 PM Re: Updated KA50 Cockpit [Re: messyhead]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


resize texture not working ?

#4513068 - 03/27/20 05:00 PM Re: Updated KA50 Cockpit [Re: ]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Originally Posted by BANITA
resize texture not working ?


I need to reduce the texture resolution. Just working out a bug, then going to try it.

#4513131 - 03/28/20 12:52 AM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Cannon rounds are now shown as multiples of 10 e.g. 23 = 230. I plan to try and improve the font to be a digital style, but it's a bit of work to create a new font set.

Download link updated.

PLEASE TEST.

I was seeing some weird display issues when the cannon was stowed, it would show a random character on the display. I think it was memory related, and I think I've fixed it.

Now I know how to do these displays, the others should be quick to do too.

Attached Files cannon_rounds.jpg
Last edited by messyhead; 03/28/20 12:53 AM.
#4513145 - 03/28/20 07:32 AM Re: Updated KA50 Cockpit [Re: messyhead]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


Great smile i will check later.

#4513193 - 03/28/20 04:52 PM Re: Updated KA50 Cockpit [Re: messyhead]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


works well for now.

#4513327 - 03/29/20 01:23 PM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Could you try loading and exiting the cockpit multiple times?

I keep getting a crash to do with fonts, and I've not changed any code to make it happen, so I don't know what 's causing it.

#4513332 - 03/29/20 01:51 PM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2012
Posts: 1,382
thealx Offline
Member
thealx  Offline
Member

Joined: Dec 2012
Posts: 1,382
Crashes can happen when rendering texture is not deinitialized properly - in wrong moment, or not happen at all.

#4513343 - 03/29/20 02:31 PM Re: Updated KA50 Cockpit [Re: messyhead]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


yes, I also confirm I have a ctd.
messy you can send me please the last file k50-cockpit.lwo ?Nothing more.

#4513374 - 03/29/20 05:35 PM Re: Updated KA50 Cockpit [Re: thealx]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Originally Posted by BANITA
yes, I also confirm I have a ctd.
messy you can send me please the last file k50-cockpit.lwo ?Nothing more.


Ok, thanks for letting me know.

Originally Posted by thealx
Crashes can happen when rendering texture is not deinitialized properly - in wrong moment, or not happen at all.


I'll check this, but I think I've added that.

#4513411 - 03/29/20 10:36 PM Re: Updated KA50 Cockpit [Re: ]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Originally Posted by BANITA
messy you can send me please the last file k50-cockpit.lwo ?Nothing more.


Here you go...

https://drive.google.com/file/d/1fbR7sj6frgOhT-XGhAmKQtMrPxtyUhlG/view?usp=sharing

#4513413 - 03/29/20 10:57 PM Re: Updated KA50 Cockpit [Re: ]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Originally Posted by BANITA
yes, I also confirm I have a ctd.


When are you getting the CTD?

I've tried it a few times with the one I uploaded, and can't get it to CTD. But when I build the code myself, without any changes, then I get a crash and error.

The one I'm seeing is when entering the KA50 cockpit, and the error in the debug log is;

Code
ASSERT c > 0 && c < NUM_CHARACTERS (...\modules\graphics\monofont.c:408)


I'm seeing some weird characters on the texture before the cannon is activated. If I restart my laptop, it works once, then after that, it always does a CTD. So I think it's something not being initialised/de-initialised properly, and the text being shown is still in memory, and gets bigger than the allowed length of 128 chars, hence the error above.

EDIT: I've fixed the issue. There was a single line of code missing. Ok, so it was an important line, but one #%&*$# line biggrin Maybe I should drink less beer when coding biggrin biggrin

Attached Files cannon_rounds_bug.jpg
Last edited by messyhead; 03/29/20 11:47 PM.
#4513422 - 03/30/20 12:05 AM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Made a start on a digital font for the weapon panel. It might just be numbers and digits required just for this panel just now rather than a full alphabet, as creating it is time consuming.

Attached Files digital_font.jpg
#4513454 - 03/30/20 06:33 AM Re: Updated KA50 Cockpit [Re: messyhead]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


Woow looks fantastic biggrin perfect. I dont remember when ctd,i has also one maybe random.

Last edited by BANITA; 03/30/20 06:33 AM.
#4513563 - 03/30/20 05:26 PM Re: Updated KA50 Cockpit [Re: messyhead]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


I retexture all switches to metal texture, and some other switches also.I will try to replace all the buttons on the consoles.
https://drive.google.com/

Last edited by BANITA; 03/30/20 06:30 PM.
#4513577 - 03/30/20 06:29 PM Re: Updated KA50 Cockpit [Re: messyhead]  

**DONOTDELETE**
Unregistered
BANITA
Unregistered


Finished smile all switches textured, i clean also some textures from unnecessary things.

https://drive.google.com/

Last edited by BANITA; 03/30/20 07:48 PM.
#4513580 - 03/30/20 06:44 PM Re: Updated KA50 Cockpit [Re: messyhead]  
Joined: Dec 2010
Posts: 1,883
messyhead Offline
Member
messyhead  Offline
Member

Joined: Dec 2010
Posts: 1,883
Nice one, thanks.

I did want to correct the size of the switches circled. They're way too big, and look out of scale. They're also meant to have a cut out for the flip switch underneath. But I've not got round to it yet.

The DCS Blackshark manual has good images of what they should look like.

Attached Files Inked12_LI.jpg
Page 3 of 6 1 2 3 4 5 6

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0