![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
11-09-11, 02:09 AM
|
#1 |
|
Admiral
![]() |
@Rubini & MAkman:
What I can offer in the next time: I my posts above I've talked about a variable that directly affects detection probability and thus could be used to change visible sensors ability during the night. Instead of making it dependent from sun position by hardcode patch, I can make it e.g. dependent from one of the TDC dials. So you can manipulate and scale it as you like, and find out the best settings for different environment (light) conditions. Then, at the end, your settings can be hardcoded. What I can't offer: Doing the environent tests mentioned above by myself. |
|
|
11-09-11, 07:49 AM
|
#2 |
|
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
|
Hi h.sie,
Any offer is welcome. I can make all tests, I'm very interested on this fix, no problems. (I guess that makman can do it also) Until now I understood that we have two approachs. Correct me if I'm wrong: 1. Your proposal, the variable that affects detection probability. But can you make it specific just for player crew visual sensor? 2. that approach by the max range setting value (the same approach that stiebler is doing on asdic). We can use a know and exclusive value to make things more easy. Let's say 16250, I will then modify my sensors.dat visual max range to 16250 to match your modification on the code and we can start test. Can you explain the good and bad of each approach? Is one of them more easy to be done than the other?
__________________
One gamer's must-have mod is another gamer's waste of time. -Sailor Steve |
|
|
11-09-11, 12:17 PM
|
#3 | |||||||
|
Hellas
![]() |
Quote:
Quote:
Quote:
you think that these 'detection probabilities settings' at sim.cfg MAYBE effects all units ?? i mean both own sensors and ai ? i think that it will help us very much to 'locate' what is cuasing this randomness(wish to be only at cfg's or dat's files) and totally eliminate it during the development of mod.after the finishing of mod we can adjust this randomness back again to our needs. about your readme there: i had studied it very carefully Rubini ! you were something like my 'teacher' Quote:
Quote:
Quote:
this 'somebody' has nickname and it is makman94 reading more carefully my post you will see that i said ''seems to be broken'' and not that it is broken for sure. about your post: i did a small test yesterday and i set light factor=500(!) at sim.cfg and light factor=1,6 at sensors.cfg (no other changes). The result is that at deep night (with a mission that target is showing the less hull) ,the ship was spotted at 14.400 m , so the light factor at sim.cfg seems that is NOT effecting the own crew visuals. better check this you too again and confirm (mission was tested on a clean install of NYGM with only the light factors tweaked and no other mods installed) Quote:
this is FANTASTIC (if i get it right) !!! yea,sure this is way cooler tool than i ever expected to have at adjustments !! don't worry about the testings....i will help as much i can ! @H.Sie and Rubini, i am doing some tests , MAYBE ,there is the chance to avoid the hardcode way .can't say anything more yet for sure. need to make more tests , i am having some 'good' results but need to locate either if ambientlightcolor(at envcolors during night settings--this is very 'powerfull' value that effecting the detection ranges) is responsible,either if some extreme values i am using at sensors.cfg are responsible.(light factor=500 seems to making -need to make more tests,not sure yet- completely 'blind' the crew .this is good becuase it 'shows' that factor is working but i remember that trying to reduce it to lower values like 200 or 100 the crew is starting having view again but this is getting suddenly and vampire visual is back at all its glory.maybe there is a value ,even using demicals digits, to find a factor ,something like 98,5 or 198,5 -haven't locate yet where the 'change' is happening- and manage to have a 'logical' detection range during deep night.) i will let you know if this 'leads' to anywhere.
__________________
Knowledge is the only thing that nobody can ever take from you... ![]() Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods Last edited by makman94; 11-10-11 at 02:23 AM. |
|||||||
|
|
11-09-11, 01:04 PM
|
#4 | |
|
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
|
Quote:
![]() Just kidding but IIRC 2 years ago I tried to mess with this and don't be able to have a good adjust of the whole thing at the end. But you knows, sometimes we try again and we achieve it!
__________________
One gamer's must-have mod is another gamer's waste of time. -Sailor Steve |
|
|
|
11-09-11, 01:26 PM
|
#5 | |
|
Hellas
![]() |
Quote:
back to topic: the ambientlightcolor(at envcolors) is very powerfull value Rubini ! i discover it by...accident (!) and maybe is the ONLY ONE value that sh3's engine is taking in consideration for understanding the 'night' ! i am telling you this becuase when i messed with it (long time ago!) i discovered that at same mission(time,sea state...etc) ,different values at ambientlightcolor were giving different detection ranges. but it was this randomness thing that it doesn't let me say it for sure (i mean that it is the only value for engine to understand the 'night' and not the sun's position). thats why i am saying that will help us a lot to find and totally 'eliminate' the randomness! will get it back at the end...it is not big deal after the completion of mod. edit: this idea just came: lets create an envcolors.dat which has a totally darked (0,0,0) ambientlightcolor value during sunny DAY and see if the detection ranges are reduced like it is night! if this is happening then my 'theory' about the sh3's engine reading the 'night' maybe is correct ! i will keep trying to locate a value at light factor ...you never know ! (i am trying this from time to time ,when i want to 'kill' some time, from the first moment that i started tweaking the sensors but i forgot about where i was !
__________________
Knowledge is the only thing that nobody can ever take from you... ![]() Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods Last edited by makman94; 11-09-11 at 01:41 PM. |
|
|
|
11-09-11, 02:20 PM
|
#6 |
|
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
|
OK, 3 beers!
But if ou really solve the vampire night vision, well, we will need to share that 1Ton shippment of brazilian beer between you and h.sie!Looking forward mate!
__________________
One gamer's must-have mod is another gamer's waste of time. -Sailor Steve |
|
|
11-09-11, 02:45 PM
|
#7 |
|
Fuel Supplier
|
Could I suggest that, while H.sie is looking into the code side of things, he could perhaps try to cure the very irritating multiple 'ship spotted' reports that you obtain repeatedly as a ship (usually a warship) comes in and out of sight in light mist. Light mist is nearly always the cause.
One possibility would be simply to put a fixed time interval (game-time) between these reports. It really does not matter if the watch-officer fails to report every ship in a convoy as a consequence. Stiebler.
__________________
NYGM Tonnage War Mod - More than a mod: it's an experience! |
|
|
11-09-11, 02:42 PM
|
#8 | |
|
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
|
Quote:
Sorry though the thread was for all sensor investigations Posted this info in other thread where it may be used Hope you have success with the ambientlightcolor
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
