Graphic errors on the FT

Announcements and Discussion about Dick Cowen's BritKits Development

Re: Graphic errors on the FT

Unread postby KCJones » Fri Apr 08, 2011 11:14 am

Yep it is infront of the model *!lol!* And I'm not insulted by the suggestion *!!wink!!*

Its the lua scripting I am interested in. To see if and how you get it to work!!!
User avatar
KCJones
 
Posts: 873
Joined: Fri Feb 13, 2009 4:05 pm
Location: UK Somewhere between Hereford and Shrewsbury

Re: Graphic errors on the FT

Unread postby Kali » Fri Apr 08, 2011 11:44 am

Rgr! I shall go and mangle some textures into submission & see how it goes.
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Re: Graphic errors on the FT

Unread postby MadMike1024 » Sat Apr 09, 2011 3:37 pm

For the time being, and since you've actually created a lit version, would it be possible to just make it be turned on all the time? Almost every road that used the double lights, the lower was the primary. I'd switch the color swatch on the top light to the red glow, and it would look fine and be switchable.
MadMike1024
Global Mod
 
Posts: 1757
Joined: Fri Jul 30, 2010 8:11 pm
Location: Vancouver, WA

Re: Graphic errors on the FT

Unread postby KCJones » Sat Apr 09, 2011 4:43 pm

If you download the shape linked above it should do that. Remeber though it is designed for my F7 so uses the F7 textures. As the shape is public you can upload it with your repaints. AND you can edit the shape file to change the textures for the other Fs and E. Remember to put a light01 texture file in the fittings\textures folder BEFORE you change it to red.

Probably the quickest way to do that would be to make a copy of the light02 file in the engine/textures folder and rename it as light01, perhaps renaming the original light01 as xxlight01 first so as not to lose it!!!!! !*cheers*!

Dick
User avatar
KCJones
 
Posts: 873
Joined: Fri Feb 13, 2009 4:05 pm
Location: UK Somewhere between Hereford and Shrewsbury

Re: Graphic errors on the FT

Unread postby Kali » Sat Apr 09, 2011 6:21 pm

Image

Lights off.... lights on.

Code: Select all
function OnControlValueChange ( name, index, value )

   if Call( "*:ControlExists", name, index ) then
      if name == "Startup" then
         if ( Call( "GetIsEngineWithKey" ) == 1 ) then
            Call( "SendConsistMessage", START_ID, value, 0 )
            Call( "SendConsistMessage", START_ID, value, 1 )
         end
      end
      
      if name == "Headlights" then
         if value == 1 then
            Call( "TestHeadlight:ActivateNode", "lhlglow",  1 )
         else
            Call( "TestHeadlight:ActivateNode", "lhlglow",  0 )
         end
      end

      
      Call( "*:SetControlValue", name, index, value );
   end
end


Not quite right because US stuff seems to have forward lights on even when Headlights is 2, but that's trivial to change. ( change "if value == 1" to "if value > 0" ).
Last edited by Kali on Sat Apr 09, 2011 7:15 pm, edited 2 times in total.
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Re: Graphic errors on the FT

Unread postby MadMike1024 » Sat Apr 09, 2011 7:04 pm

KCJones wrote:If you download the shape linked above it should do that. Remeber though it is designed for my F7 so uses the F7 textures. As the shape is public you can upload it with your repaints. AND you can edit the shape file to change the textures for the other Fs and E. Remember to put a light01 texture file in the fittings\textures folder BEFORE you change it to red.

Probably the quickest way to do that would be to make a copy of the light02 file in the engine/textures folder and rename it as light01, perhaps renaming the original light01 as xxlight01 first so as not to lose it!!!!! !*cheers*!

Dick


Thanks, and from what Kali posted, it looks like you may have your solution.
MadMike1024
Global Mod
 
Posts: 1757
Joined: Fri Jul 30, 2010 8:11 pm
Location: Vancouver, WA

Re: Graphic errors on the FT

Unread postby KCJones » Sun Apr 10, 2011 4:40 pm

At last we are getting there. (With a lot of help from our friends!!!)

I will go through each of the Fs and the E7 and produce an update pack for the lit lower headlight. Including the new lua files, shape files textures and bin files. I will also include the scripting for the child entry in the engine bin file.


headlights01.jpg


From left to right - MP15DC with flashing ditch lights (WIP) FTa, F7a
You do not have the required permissions to view the files attached to this post.
User avatar
KCJones
 
Posts: 873
Joined: Fri Feb 13, 2009 4:05 pm
Location: UK Somewhere between Hereford and Shrewsbury

Re: Graphic errors on the FT

Unread postby PapaXpress » Sun Apr 10, 2011 5:36 pm

This is sweet. Thanks to everyone who helped on this.
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Graphic errors on the FT

Unread postby Kali » Sun Apr 10, 2011 7:29 pm

Shout if you need any more help, I like fiddling under the bonnet like that.
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Re: Graphic errors on the FT

Unread postby arizonachris » Sun Apr 10, 2011 10:27 pm

Kali wrote: I like fiddling under the bonnet like that.


Y'all from over yonder sure talk funny. !*roll-laugh*!

I'm kidding of course. All of you guys that can do all this great work, you have my respect (and quite a few of my $$$$) I just drive 'em, y'all create 'em. I think we'll get along. !!*ok*!!
Ryzen 7 2700K, Asus Prime X570P, 32Gb DDR4, 2x 1Tb M.2 SSD's, RTX2060 6Gb, Occulus Rift
Win 10 Pro 64bit, keyboard/ mouse/ wheel/ pedals/ baseball bat
Security Coordinator on the Battleship Iowa
User avatar
arizonachris
 
Posts: 3956
Joined: Sun Mar 21, 2010 10:36 am
Location: Southern California

Re: Graphic errors on the FT

Unread postby Kali » Sun Apr 10, 2011 10:53 pm

arizonachris wrote:Y'all from over yonder sure talk funny. !*roll-laugh*!


Just pretend it's wearing a large hat!
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Previous

Return to BritKits

Who is online

Users browsing this forum: No registered users and 1 guest

cron