![]() |
Quote:
- altitude depending on the depth of the sea (3D model submerged in deep areas) The lighthouse "main unit" can be made into an hidden simple mesh which will always lay at the soil/seabed level. This basic unit can be proxy-cloned as many times as the lighthouses that we want to add in game (proxy cloning is the process of duplicating an unit by cfg file, without actually duplicating its dat file). Lighthouse models themselves and, where they apply, the rocks/shoals under them, can be stored in a library file and linked to a couple of eqp nodes in the dummy unit. In this way we can finetune the height of each offshore lighthouse + its rocky base by changing (in Wings3D) their vertical (Y) position in global coordinates. I will make any effort to give those models the correct heights from the beginning. The height (absolute and AMSL) of most lighthouses around the world is given in the website that I pointed you to a few days ago. Knowing that, I calculate the correct height for the rock model based on the approximate sea depth at each location, as measured in Google Earth. As long as sea depths are more or less correct in SHIII, by following this method we should get fairly accurate results and minimize the need of doing many adjustements. Should we notice that the seabottom is too deep where we want to place a given lighthouse, that would mean that devs got it way off, but we can always raise it using Terrain Extractor. I can deal with that. For generic offshore lighthouses that we want to place at different locations, I can do their rock models higher than it is usually needed, and we can link them to customized dat units whose equipment nodes can be placed at different heights depending on the need. - collision spheres to add Not necessarily. If we want ligthouses to take damage some collision spheres and damage zone boxes might be needed, but for what I have in mind, doing our "moudular" lighthouses damageable/destroyable might do things a bit too complicated and I am not even sure that we would succeed. At least for a start, we can keep things simple by getting rid of the zon file/ColisionableObject controller at the unit level, and by adding StaticObject controller and colllision meshes (as for terrain objects) to each rock/lighthouse in the library folder instead. I have already tested this method in SH5, and it works like a charm. It should work for SHIII too :up: Quote:
Air raids over our lighthouses would be a nice side effect, though I am not sure that they would happen (IIRC in SH5, where land unit interaction with other unit types is severely bugged, ship and aircraft just ignore coastal defences; I don't know if the same applies to SHIII too). By making lighthouses into units and by playing with their eqp files we can:
There might be other uses of my idea, but those are the main points. I hope I have been clearer now :03: Quote:
|
Quote:
Quote:
The .dat file of one specific lighthouse (LH_no4) is created and contains only one node : "X01". In the .eqp file you will create different "loadouts". For the loadout of 30m depth sea, you will write "X01=Generic_LH_no4_30m", and so on. So in the mission editor, you will be able to choose the correct altitude. But consequently, you must place the light type eqp node (let's say "X02") directly in the .dat file containing all the lighthouses, and I don't know if it is possible to controll it in the .eqp file of the specific lighthouse ("X02=Red_light_no7" ?). :hmmm: It would be easier to raise the sea level at the same depth for each lighthouse we want to place at sea ! Quote:
Quote:
Quote:
|
Imagine a dat file which (likewise SHIII harbors) only contains a node skeleton that all the lighthouse parts will be attached to; one node for the rocky base, one for the ligthouse building, one for the lens/lamp, etc.
All these parts will be stored in an external library file and linked to the "skeletal" dat file through eqp files customized for each lighthouse. If need be, we can switch those parts on/off by date, using the usual Start and EndDate settings. The same dat file can be shared by different lighthouse models set as "proxy clones", i.e. copies of a unit that use the same dat, zon, sim etc. files as their parent unit, but have customized cfg, eqp and sns files. If you have ever messed with SHIV or SH5, you will understand instantly what I am talking about, otherwise you will undesrtand when I send you the files. What will be different from a lighthouse to the other, will be its unique eqp file, and the model parts that by mean of each eqp file will be linked to the common skeleton. Let's talk about the vertical position of each lighthouse now. Onshore lighthouses will be placed directly on the land surface, and they wont pose any problem. As for offshore lighthouses, they are placed on the seabed, and we risk them to be totally submerged if the sea bottom is too deep at the desired position, or to stand too high if the is the sea bottom is too shallow. What I can do for overcoming the problem, is making the rocky base a bit higher than expectedly needed. If we notice that a lighthouse lays too low/high on the water surface, I will move the lighthouse together with the relative rock model a bit up/down using Wings3D. This method applies to unique lighthouses which are to be found in a single location on the map. For generic lighthouses the process will be similar, but since they will share the same 3D models, we wont be allowed to play with model coordinates, because what will be okay in a certain location, wont be possibly acceptable in another location. What we can do, is linking those models to customized skeletal dat files whose equipment linking nodes will have different heights, i.e. instead of moving up and down model coordinates, we will move up and down the posiotion of nodes that those models will be attached to. In both cases, terrain editing will be desiderable and possibly needed if the diffrence between RL depths and in-game depths will be too high. Answering your question about the CollisionableObject vs StaticObject controller: yes, as I stated before, after intensive testing in SH5 I can confirm that the latter can be placed on unit equipments as well as on terrain objects with no side effects that I know of. I have not tried placing it directly on an unit, but I guess it would work too. The similarity of the two controllers is that they both make objects that they are attached to collisionable. End of the similarities. Beside the visible mesh, a CollisionableObject controller requires a collision mesh to work. No collision spheres nor damage boxes are involved. It is much simpler to use, but it won't cause objects to take damage from collisions, bullets or nearby explosions. That's why it is called static: it makes 3D objects as solid as a rock and, as a side note, there are some oddities related with its usage: http://www.subsim.com/radioroom/show...postcount=3372 http://www.subsim.com/radioroom/show...22&postcount=4 LOL :rotfl2: |
Quote:
If you want to send me your files on my mediafire page, I will send you a link by PM. But you need first to make some place in your mail box. Quote:
|
Tourelle de La Plate...
...an appetizer :03:
Model and textures are pretty much ready for being imported in game. The cool black/yellow paintwork is in accordance with modern photos, but it might not be the very accurate for the 40s. I have not information directly related to this particular lighthouse, but analogous light beacons around the West coast of France have been given a similar role (cardinal mark) and paint scheme much later. Any idea on what might have been the original colour of this one? :hmm2: http://static.panoramio.com/photos/large/57431511.jpg |
Quote:
|
Did my homework
http://i.imgur.com/R6rpzg2.png
Sea depth for offshore lighthouses : 2- Le Petit Minou : -19 4- La Vieille and La Plate : -17 6- Tévennec : -22 7- Ar-Men : -85 8- Pierres-Noires : -48 10- Kéréon : -17 11- La Jument : -26 13- Four : -17 Additional note : 5- Sein and Men-Brial : the island must be created (terrain editor) Icons placed on the map : http://i.imgur.com/edeKccb.png Else, the coordinates for mission editor : :Kaleun_Wink: |
For Brest harbour entrance, I will need lights like that :
http://www.phares-et-balises.fr/6/Port_en_bessin_01.jpg http://www.phares-et-balises.fr/page...6&Numero=33201 Please, can you quickly model them for me Gap ? |
Gap, when do you think your two first lighthouses are ready to test ? :06:
|
Quote:
http://i.imgur.com/5M0i323.png The tourelle de la Plate model is fully completed. I have only been lazy in importing it in S3d and setting it up for game usage. I promise I will send you the files later tonight or tomorrow :up: |
Quote:
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
Working on it right now. Are you going to be there in half an hour? :D |
Quote:
|
All times are GMT -5. The time now is 07:05 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.