November 26 2024 10:25:51
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 22

· Members Online: 0

· Total Members: 1,134
· Newest Member: Brody
Teamspeak 3
Last Seen Users
· hackepter01:07:57
· GONZO18:02:28
· Intruder18:29:11
· Sully 1 day
· desintegrator 2 days
· WEZ 3 days
· Homi 3 days
· The ACE 4 days
· xhc 1 week
· dRgiGGLeZ 1 week
· El Dookie 1 week
· Melber 2 weeks
· SGT PEPPER 2 weeks
· martyr 2 weeks
· Terminator 2 weeks

View Thread: Weather changing (sky light)?
Vietcong.Info » Vietcong General Discussion » Maps & Mapping
Who is here? 1 Guest
Current Rating: (Total: 1 rating)  
 Print Thread
Weather changing (sky light)?
Intruder
Hi,

I was "studying" some solo missions from the Campaign and noticed a cool feature we may have never used in our maps... A "live" change of the sky light! Have you ever heard of it?

The solo mission in question is Radio Relay. Just when the Huey lands on the relay, the sky is still rather clear, but once the first trip flares light the sky, the light starts to become much darker! We are so taken by the action that we (I) never really noticed that before but it would be really cool if we can use such a feature in our maps!

Have you never found informations about such an edition because I haven't...?

----------------------------------


I also noticed in a video of the same mission (posted on YouTube at 15:48>16:10) that the AI mates have like "mud splashes" under the boots when they walk on the relay ground. I re-played the mission to check myself but saw nothing.

So, it seems that:
- On the video we can see the "mud splashes" and hear a "spounge sound" when the player walks/runs.
- With my test, I see NO "mud splashes" and hear a "dry sound" when I walk/run.

I'm wondering if there is an option "somewhere" to set this effect with the ground...?



Intruder
Edited by Intruder on 03-12-2012 00:49
Signaturewww.vietcong.info/portal/images/ranks/Member_of_the_Month1011.pngwww.vietcong.info/portal/images/ranks/Member_of_the_Month_6.png
 
Ando
Intruder wrote:
Have you never found informations about such an edition because I haven't...?


I found it from SDK few years ago VC
void SC_SetSceneVisibilityMult(float vis_mult, float scene_fog_mult, float bckg_fog_mult);

This function will change the multipliers applied to the scene visibility settings.
Vis_mult is multiplier of the maximum visibility, scene_fog_mult and bckg_fog_mult are used to set the the fog and background fog.

This command was with few bugs for me but maybe it was because of my testmap.


and second command:
void SC_SwitchSceneSCS(char *fname, float time);

This function will fade the scene visual settings to the settings stored in the file fname in the time time.


This command is better but problem was with proper *.SCS file. We can save SCS with editor but its looks little different version and that command don't work with SCS what is created with editor .
So in maps is some older SCS files and those was working. Then I break those files and made simple program what make proper SCS file for that command. (its maybe not user friendly but its working for me)



I must go now, will continue later.
  x 1  x 2
 
Ando
parameters in SCS file:
- world fog (on/off)
- world fog color (RGB )
- world fog start distance
- world fog end distance
- background fog (on/off)
- background fog color (RGB )
- background fog start distance
- background fog end distance
- scene visibility


Those commands must be called from every client PC and that mean there must be synchronization.
Second command cant use with long time parameter, because then players who join later will see different settings.
Example if you want to change settings during 10 min. then its reasonable to split that time and change step by step.

I tested those commands few years ago and don't remember all details.



I will update my test script and make a testmap for you, then we will know how we can use it.
Edited by Ando on 04-12-2012 13:13
 
KostiCZ
Ando, can you upload here SCS file as example? I want to know structure of the file.
Signature________________________________________________

2LT William Theolinus "KostiCZ" Boner Jr.
LRRP Squad Baker, Delta Team
cache.www.gametracker.com/player/KostiCZ/63.143.47.189:2302/b_560x95.png
 
Teamrespawn.cz
Ando
SCS files on VC1:
version 1 ( 76 bytes )
LEVELS\NVA_BASE\NVA_BASE STANDART.SCS
LEVELS\NVA_BASE\RANO.SCS
LEVELS\NVA_BASE\RANODIRT.SCS
LEVELS\NIGHT\NOC MODRA.SCS

version 2 ( 84 bytes )
LEVELS\RADIORELAY\NOCNI NASTAVENI.SCS

version 3 ( 72 bytes ) NOT working with "SC_SwitchSceneSCS" command
files created with editor
With editor you can save only one area (world,backgroud or sector) data but version 1 and 2 save world and background data to same file. Thats why its not working with "SC_SwitchSceneSCS" command.
Ando attached the following file:
some_scs_files.rar [298 Bytes, 556 Downloads]
Edited by Ando on 04-12-2012 22:33
  x 1  x 1
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Is there any MOD changing the Iron sight or adding new weapon General Discussion 2 15-10-2013 20:02
ingame light Maps & Mapping 3 04-07-2013 18:29
Flash Light Maps & Mapping 12 30-12-2011 11:22
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.22 seconds - 59 Queries 5,473,103 unique visits