thermal vision

General discussion of the Project Reality: BF2 modification.
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

3===SPECTER===3 wrote:Im confused of how the infantry will be affected by this, and what if i choose to switch Thermal off?

ok on kashan day all the vehicls and players are in light, so they look some what bright, now i can change the color of the ground and statics and trees, but the light maps will keep all the vehicles and players the same as before. so if python was to edit the sky.con and make the ground dark when you got into a chopper then the players and vehicles would be a the same and the ground would be black. thermal would be switched off when you jump out and it would just set the sky.con back to before.


mora the hud will not be effected by this, but i could make the statics less dark then the ground so it looks some what like that.
Ballistics or Tracers? Please Vote
[DM] member, We are now recruiting!
Xfire:Zangoo
3===SPECTER===3
Posts: 831
Joined: 2007-05-05 01:13

Post by 3===SPECTER===3 »

zangoo wrote:ok on kashan day all the vehicls and players are in light, so they look some what bright, now i can change the color of the ground and statics and trees, but the light maps will keep all the vehicles and players the same as before. so if python was to edit the sky.con and make the ground dark when you got into a chopper then the players and vehicles would be a the same and the ground would be black. thermal would be switched off when you jump out and it would just set the sky.con back to before.
Oh thats sounds awesome, but what if i don't want thermal vision on? or are we just going to have theraml for all vehicles on that specific map?
Mora
Posts: 2933
Joined: 2007-08-21 12:37

Post by Mora »

I know the hud wont be effected by this, i was just showing how it could look.

Specter i think only attack choppers, tanks and apcs have this.

and zangoo when you going to make this can you release it for public so it can be tested :) and maybe even on the kashan night.
dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

Post by dbzao »

What code in sky.con would be changed? Post the normal and the flir sky.con.
zangoo
Posts: 978
Joined: 2007-09-01 03:42

Post by zangoo »

this is what would be needed to change

here is the sky.con from kashan night

Lightmanager.init
Lightmanager.skycolor 0.121569/0.12549/0.129412
Lightmanager.ambientcolor 0.509804/0.513726/0.556863
Lightmanager.sunColor 0.05098/0.05098/0.05098
Lightmanager.sunSpecColor 0.1/0.1/0.1
if v_arg1 == BF2Editor
LightSettings.TerrainSunColor 0.00/0.00/0.00
LightSettings.TerrainSkyColor 0.09/0.11/0.14
LightmapSettings.waterSunIntensity 0.8
else
terrain.sunColor 0.00/0.00/0.00
terrain.GIColor 0.09/0.11/0.14
terrain.waterSunIntensity 0.8
endIf
Lightmanager.staticSunColor 0.03/0.03/0.03
Lightmanager.staticSpecularColor 0.00/0.00/0.00
Lightmanager.staticSkyColor 0.04/0.04/0.04
Lightmanager.singlePointColor 0.00/0.00/0.00
Lightmanager.sunDirection 0.269341/-0.738194/-0.618487
Lightmanager.enableSun 0
Lightmanager.effectSunColor 0.03/0.03/0.03
Lightmanager.effectShadowColor 0.02/0.00/0.25
Lightmanager.defaultEffectLightAffectionFactor 1
Lightmanager.hemilerpbias 1
hemiMapManager.setBaseHemiMap Levels/kashan_nights/groundhemi 0.000000/0.000000/0.000000 2048.000000 500.000000
Lightmanager.treeAmbientColor 0.05/0.05/0.05
Lightmanager.treeSunColor 0.01/0.01/0.01
Lightmanager.treeSkyColor 0.01/0.01/0.01

if v_arg1 == BF2Editor
else
run /Common/Sky/SkyDome/skydome.con
run /Common/Sky/Flare/flaresprite.con
endIf

Skydome.skyTemplate skydome
Skydome.cloudTemplate cloudlayer
Skydome.hasCloudLayer 0
Skydome.hasCloudLayer2 0
Skydome.scrolldirection 0/0
Skydome.scrolldirection2 0/0
Skydome.cloudTexture common\textures\cloud\cloud10
Skydome.cloudTexture2
Skydome.skyTexture common\textures\sky\leviathan_sky
Skydome.domeRotation 0
Skydome.fadeCloudsDistances 1000/1100
Skydome.cloudLerpFactors 0.5/0.5
Skydome.flareTexture common\textures\sunflare\Nightflight_32bitglow
Skydome.flareDirection 0.26/-0.74/-0.62

Renderer.fogColor 3.00/6.00/10.00
Renderer.fogStartEndAndBase 0.10/1000.00/3.00/0.40


here is the normal sky.con

Lightmanager.init
Lightmanager.skycolor 0.819608/0.819608/0.819608
Lightmanager.ambientcolor 0.768627/0.74902/0.686275
Lightmanager.sunColor 0.776471/0.729412/0.643137
Lightmanager.sunSpecColor 0.623529/0.623529/0.623529
if v_arg1 == BF2Editor
LightSettings.TerrainSunColor 0.71/0.60/0.51
LightSettings.TerrainSkyColor 0.93/0.92/0.91
LightmapSettings.waterSunIntensity 0.8
else
terrain.sunColor 0.71/0.60/0.51
terrain.GIColor 0.93/0.92/0.91
terrain.waterSunIntensity 0.8
endIf
Lightmanager.staticSunColor 0.37/0.35/0.27
Lightmanager.staticSpecularColor 0.40/0.40/0.25
Lightmanager.staticSkyColor 0.87/0.85/0.82
Lightmanager.singlePointColor 1.00/1.00/1.00
Lightmanager.sunDirection 0.39996/-0.909909/-0.109989
Lightmanager.enableSun 1
Lightmanager.effectSunColor 1.00/1.00/1.00
Lightmanager.effectShadowColor 1.00/1.00/1.00
Lightmanager.defaultEffectLightAffectionFactor 1
Lightmanager.hemilerpbias 1
hemiMapManager.setBaseHemiMap Levels/kashan_desert/groundhemi 0.000000/0.000000/0.000000 2048.000000 500.000000
Lightmanager.treeAmbientColor 0.91/0.89/0.79
Lightmanager.treeSunColor 0.71/0.64/0.49
Lightmanager.treeSkyColor 1.00/1.00/1.00

if v_arg1 == BF2Editor
else
run /Common/Sky/SkyDome/skydome.con
run /Common/Sky/Flare/flaresprite.con
endIf

Skydome.skyTemplate skydome
Skydome.cloudTemplate cloudlayer
Skydome.hasCloudLayer 1
Skydome.hasCloudLayer2 0
Skydome.scrolldirection 0.008/0.004
Skydome.scrolldirection2 0/0
Skydome.cloudTexture common\textures\cloud\cloud04
Skydome.cloudTexture2
Skydome.skyTexture common\textures\sky\kashan_sky01
Skydome.domeRotation 0
Skydome.fadeCloudsDistances 1000/1100
Skydome.cloudLerpFactors 0.5/0.5
Skydome.flareTexture common\textures\sunflare\kubra_sunglow1
Skydome.flareDirection 0.40/-0.91/-0.11

Renderer.fogColor 190.00/171.00/123.00
Renderer.fogStartEndAndBase 700.00/980.00/1.00/0.50
Ballistics or Tracers? Please Vote
[DM] member, We are now recruiting!
Xfire:Zangoo
Mora
Posts: 2933
Joined: 2007-08-21 12:37

Post by Mora »

So we may see this in future releases :D .
dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

Post by dbzao »

Probably not... as it was said, python can only change server-side stuff that would affect everyone in the server, and it may not even work.
Mora
Posts: 2933
Joined: 2007-08-21 12:37

Post by Mora »

Bah :(
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: thermal vision

Post by Rudd »

Was wondering if any progress has been made/is being made/will not be made on this front?
Image
Post Reply

Return to “PR:BF2 General Discussion”