AtmosFear is a mod for S.T.A.L.K.E.R. - Call Of Pripyat that tweaks and expands the vanilla weather system to be more realistic and various.

Report article RSS Feed Applying AtmosFear 3 weather to new levels

Quick tutorial on how to apply the AF3 weather to new levels added to your mod.

Posted by CrommCruac on May 14th, 2012
Basic Starting a mod.

  1. Download amended scripts files and atmosfear_parameters.ltx with comments on options here
  2. atmosfear_parameters.ltx
    Create the set of parameters for each new area in [atmosfear_default_parameters], and [atmosfear_preset_*] sections

    code:
    opt_agroprom_period_good = clear_foggy
    opt_agroprom_period_bad = rainy
    opt_agroprom_period_good_length = 6
    opt_agroprom_period_bad_length = 6

    'agroprom' is exact level_name() function output for certain area (name of the subdir in levels).

  3. atmosfear.script
    code:
    line 17:
    self.level_names = {"zaton","jupiter","pripyat","agroprom"}

    in this table put all the level_names of the levels used in your mod that you want to have AtmosFear weather applied.

  4. level_weathers.script
    if you want the distant storms to appear on your added levels you need to add them to self.boundaries() table. Those are coordinates of the boundary points where the ground on the map actually ends. There are usually 4 of them as the maps are rectangles but for some levels like Zaton more is required becuse of the map shape. The distant thunderbolts appear only over the ground. If the point where the lightning particle is spawn is outside the map it won't show. That is xRay limitation. You can grab those from SDK level editor or with demo_record and rs_cam_pos on.
  5. text\*\st_mm_atmosfear_texts.xml
    add the titles definitions to text\*\st_mm_atmosfear_texts.xml for the added levels
    Something like

    code:
    <string id="st_cap_af_agroprom">
      <text>Agroprom Institute</text>
    </string>

    For all languages unfortunately. Otherwise it won't work on international versions of the game.

  6. ui_mm_atmosfear_options.xml and ui_mm_atmosfear_options_16.xml
    Add definitions of new level captions for AF3 options panel:

    code:
    <cap_af_agroprom x="0" y="0" width="70" height="31">
       <text r="170" g="170" b="170" font="graffiti19" align="l" vert_align="t">st_cap_af_agroprom</text>
    </cap_af_agroprom>

    Don't worry about x and y. They will be set automatically.

  7. game_maps_single.ltx
    Set weather parameter of each level you want AF3 on to

    code:
    weathers                         = atmosfear
Post comment Comments
spetsnaz_stalker
spetsnaz_stalker May 15 2012, 12:10pm says:

nice cromuarc!!TY

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
S.T.A.L.K.E.R.: Call of Pripyat Icon
Platform
Windows
Developed By
CrommCruac
Contact
Send Message
Official Page
Atmosfear.crommcruac.com
Release Date
Released Mar 14, 2010
Mod Watch
Track this mod
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
AtmosFear for Call of Pripyat (S.T.A.L.K.E.R.: Call of Pripyat)
AtmosFear for Call of Pripyat S.T.A.L.K.E.R.: Call of Pripyat - Single Player First Person Shooter
Related Games
S.T.A.L.K.E.R.: Call of Pripyat
S.T.A.L.K.E.R.: Call of Pripyat Single Player First Person Shooter