Search the archive:
Simviation Main Site
|
Site Search
|
Upload Images
Simviation Forum
›
Design Forums
›
Aircraft & 3D Design
› Placing Lights
(Moderators: Mitch., Fly2e, ozzy72, beaky, Clipper, JBaymore, Bob70, BigTruck)
‹
Previous Topic
|
Next Topic
›
Pages: 1
Placing Lights (Read 516 times)
Jul 16
th
, 2007 at 7:25am
The Revelator
Ex Member
How can I add lights as strobe, beacon, etc. to aircraft (and scenery) in FSDS? - If it's modelled in FSDS.
Thanks in advance!
Back to top
IP Logged
Reply #1 -
Jul 16
th
, 2007 at 5:08pm
CAFedm
Offline
Colonel
I love YaBB 1G - SP1!
Between CYXD & CYEG, Alberta
Gender:
Posts: 623
Am sure there are several ways to go about it, but the ones that worked best for me are below;
1) Aircraft - open up the aircraft.cfg for the appropriate plane. Look for the [Lights] section, the following is copied from the FSX A321:
[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing
light.0 = 3,
-19.10, -54.15, 5.85,
fx_navredm ,
light.1 = 3,
-19.10, 54.15, 5.85,
fx_navgrem ,
light.2 = 3,
-83.60, 0.00, 7.60,
fx_navwhih ,
light.3 = 2,
-18.60, -53.50, 5.75,
fx_strobeh ,
light.4 = 2,
-18.60, 53.50, 5.75,
fx_strobeh ,
light.5 = 2,
3.70, 0.00, -2.80,
fx_beaconb ,
light.6 = 1,
-3.30, 0.00, 11.50,
fx_beaconh ,
light.7 = 4,
53.41, 0.00, 4.50,
fx_vclighth ,
Editing the bolded values repositions the effect relative to the model's center point (with the effect's name at the end of each line). The effect itself is found in the main Effects folder in FS, and you may be able to swap it if several options are offered (I believe there are 3 types of beacon, strobe and VC lighting available). So, if the span is 40 feet across, with the wingtips 10 feet behind the model's center, then the wing nav entries would read:
light.0 = 3, -10.00, -20.00, 0.00, fx_navredm ,
light.1 = 3, -10.00, 20.00, 0.00, fx_navgrem ,
...the third entry controls the vertical position of the effect.
As for scenery, a physical light part needs to be created and added to your structure. The part's properties can be edited to create a beacon-type light, for example. Simply create a low-poly part, such as a 3-sided pyramid, assign it the properties of the required type of light, and it will display when the project is compiled. There are decent tutorials in the help section that deal with adding lights to scenery. One last item - if compiling using FSDS3, the conditional option (such as time of day) is no longer available, meaning your light parts will need to be controlled using an XML gauge (this code being added into the MakeMDL.txt file before compiling).
Brian
Back to top
IP Logged
Reply #2 -
Jul 17
th
, 2007 at 7:51am
The Revelator
Ex Member
Thanks for that help! But what is the model's center?
Is it the physical center, the place where I put the axis of the model or another point?
Great that there's always someone there to help me!
Back to top
IP Logged
Reply #3 -
Jul 17
th
, 2007 at 8:20am
Felix/FFDS
Offline
Admin
FINALLY an official Granddad!
Orlando, FL
Gender:
Posts: 1000000627
Quote:
Thanks for that help! But what is the model's center?
Is it the physical center, the place where I put the axis of the model or another point?
Great that there's always someone there to help me!
The *practical* answer is that yes, the model's center IS the 0,0,0 point of your model. As a rule of thumb *most* modellers will leave the 0,0,0 point to be their models data reference point AND center of gravity.
You will find, however, that some models (take a look at (I believe) the default Cessna C-172) have their data reference point at other than the model's 0,0,0, so that all coordinates are from THAT point, rather than the model center. (Which is why the Cessna points are all negative lengthwise.)
Depending on which version of FSDS you're using, parts that you tag as "reference" (such as your gear.center, gear.right, etc) are written to a refparts.txt file in the main FSDS folder when you compile the model. You can create small reference parts and place them in the "lights" positions, and then use the resulting coordinates from the refparts.txt file to "fill out" the positions in the aircraft.cfg file.
Note that the default reference parts (pilot.view, gear.left, etc) are actually written to the aircraf.cfg file when you compile from FSDS. Basically I use the additional tags to get a listing of the "other" parts' positions.
Felix/
FFDS
Back to top
IP Logged
Reply #4 -
Jul 19
th
, 2007 at 8:11am
The Revelator
Ex Member
I'll soon try this, but currently my computer doesn't work very well (just had a bad ntfs error) and because of this, FSDS and many other progs don't work, but as soon they do, I'll create lights!
Thanks a lot!!!
if you're not annoyed or bored yet of helping me with all those things, would you be so kind and tell me how to move or just set that point?!
Back to top
IP Logged
Reply #5 -
Jul 19
th
, 2007 at 6:48pm
Felix/FFDS
Offline
Admin
FINALLY an official Granddad!
Orlando, FL
Gender:
Posts: 1000000627
Quote:
I'll soon try this, but currently my computer doesn't work very well (just had a bad ntfs error) and because of this, FSDS and many other progs don't work, but as soon they do, I'll create lights!
Thanks a lot!!!
if you're not annoyed or bored yet of helping me with all those things, would you be so kind and tell me how to move or just set that point?!
Just create a new small disc, tag it with the reference part name Part->PArt PRoperties, and choose the desired reference part name, tag as "reference part", hit enter, and then move the created part to the correct position.
Felix/
FFDS
Back to top
IP Logged
Reply #6 -
Jul 20
th
, 2007 at 6:54am
The Revelator
Ex Member
ok!
Back to top
IP Logged
Pages: 1
‹
Previous Topic
|
Next Topic
›
« Home
‹ Board
Top of this page
Forum Jump »
Home
» 10 most recent Posts
» 10 most recent Topics
Current Flight Simulator Series
- Flight Simulator X
- FS 2004 - A Century of Flight
- Adding Aircraft Traffic (AI) & Gates
- Flight School
- Flightgear
- MS Flight
Graphic Gallery
- Simviation Screenshots Showcase
- Screenshot Contest
- Edited Screenshots
- Photos & Cameras
- Payware Screenshot Showcase
- Studio V Screenshot Workshop
- Video
- The Cage
Design Forums
- Aircraft & 3D Design ««
- Scenery & Panel Design
- Aircraft Repainting
- Designer Feedback
General
- General Discussion
- Humour
- Music, Arts & Entertainment
- Sport
Computer Hardware & Software Forum
- Hardware
- Tweaking & Overclocking
- Computer Games & Software
- HomeBuild Cockpits
Addons Most Wanted
- Aircraft Wanted
- Other Add-ons Wanted
Real World
- Real Aviation
- Specific Aircraft Types
- Autos
- History
On-line Interactive Flying
- Virtual Airlines Events & Messages
- Multiplayer
Simviation Site
- Simviation News & Info
- Suggestions for these forums
- Site Questions & Feedback
- Site Problems & Broken Links
Combat Flight Simulators
- Combat Flight Simulator 3
- Combat Flight Simulator 2
- Combat Flight Simulator
- CFS Development
- IL-2 Sturmovik
Other Websites
- Your Site
- Other Sites
Payware
- Payware
Old Flight Simulator Series
- FS 2002
- FS 2000
- Flight Simulator 98
Simviation Forum
» Powered by
YaBB 2.5 AE
!
YaBB Forum Software
© 2000-2010. All Rights Reserved.