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 RSS 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 on - 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

    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
    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

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

    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:

    <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>

    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

    weathers                         = atmosfear

nice cromuarc!!TY

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
S.T.A.L.K.E.R.: Call of Pripyat
Send Message
Release date
Mod watch
Related Games
S.T.A.L.K.E.R.: Call of Pripyat
S.T.A.L.K.E.R.: Call of Pripyat First Person Shooter