🛈 Announcement
Greetings! Far Cry forums are now archived and accessible in read-only mode, please go to the new platform to discuss the game.
  1. #1
    jcoffeycup73's Avatar Member
    Join Date
    Aug 2018
    Location
    Massaschusetts
    Posts
    215

    Scripting Post FX?

    Is it possible to script Post FX? I wanted a map to start in black and white and then cut to color when the action starts. But I don't see any Action Types that have anything to do with Post FX.

    Is there a clever workaround I am missing?
    Share this post

  2. #2
    Steve64b's Avatar Senior Member
    Join Date
    Jul 2016
    Location
    http://steve.farcry.eu/
    Posts
    1,628
    As far as I know it's not possible to script Post FX.
    Share this post

  3. #3
    jcoffeycup73's Avatar Member
    Join Date
    Aug 2018
    Location
    Massaschusetts
    Posts
    215
    That’s too bad, it could’ve been a nice cinematic effect like slow motion option.
    Share this post

  4. #4
    Steve64b's Avatar Senior Member
    Join Date
    Jul 2016
    Location
    http://steve.farcry.eu/
    Posts
    1,628
    I added a couple of HUD postfx objects to my editormod, if you trigger these "landmines" with an AI character, they'll produce an effect. Effects are:
    • ajayhousefx_garden
      animalslash_leftside
      animalslash_rightside
      BloodDragon_Laserfx
      desert_collapse
      desert_heavy
      desert_light
      desert_medium
      dlcv_airstrike_explosionfx
      gameendingfx_ashes
      gameendingfx_shoot
      grenade_explosionfx
      grenade_explosionfx_console
      highpoweredzoom
      hit_miss
      hit_trauma
      molotov_explosionfx
      molotov_explosionfx_console
      mortar_shootfx
      outpostrevealtransitionfx
      outpostrevealtransitionfx_depleur
      outpostrevealtransitionfx_noore
      outpostrevealtransitionfx_paganmin
      outpostrevealtransitionfx_yuma
      photomode_waterinout
      prop_explosionfx
      prop_explosionfx_console
      shangrila_bowslowtime
      shangrila_bowslowtime_console
      sniperzoomfx
      supportweaponfx
      syringe_general
      takedownstabfx_console
      waterinout
      whitescreenfx

      alteredvision_noautostop
      animaldamagefx_console_noautostop
      animaldamagefx_noautostop
      animalrepellantfx_console_noautostop
      animalrepellantfx_noautostop
      animalroarfx_noautostop
      beardrool_noautostop
      binocularfx_noautostop
      blacklooptowhitefade_noautostop
      blackoutfx_noautostop
      blackscreenfadepvp_noautostop
      blackscreenfx_cintomission_noautostop
      blackscreenfx_death_noautostop
      blackscreenfx_mission_noautostop
      blackscreenfx_missiontocin_noautostop
      blackscreenfx_noautostop
      blackscreenfx_outro_noautostop
      blackscreenfx_quick_outro_noautostop
      blackscreenfx_towerreveal_noautostop
      blackscreennowfx_noautostop
      blackscreennowfxhighpriority_noautostop
      blackscreenwithfadeinandout2sec_noautostop
      blackscreenwithfadeinfx_noautostop
      blackscreenwithfadeoutfx_noautostop
      bloomfadeetowhite_noautostop
      bloomfadefromwhite_noautostop
      bloomfadefromwhitelong_noautostop
      bloomfadetowhitecin_noautostop
      bloomfadetowhiteslow_noautostop
      bloomtowhite_noautostop
      buddyboostmain_noautostop
      buff_fastfx_noautostop
      buff_furyfx_noautostop
      bulletspreadreductionfx_console_noautostop
      bulletspreadreductionfx_noautostop
      buzzmis240_noautostop
      camera_zoomfx_noautostop
      cameratransitionfx_in_noautostop
      cameratransitionfx_out_noautostop
      car_takedown_hit_noautostop
      CIN_LT02_010_PlayerCapture_noautostop
      cinematiccutoblack30_noautostop
      cinematiccutoblack60_noautostop
      cinematiccutowhite30_noautostop
      cinematicfade30frames_noautostop
      cinematicfade30frameswhite_noautostop
      cinematicfade30to45frames_noautostop
      cinematicfade30to60frames_noautostop
      cinematicfade30tocut_noautostop
      cinematicfade45frames_noautostop
      cinematicfade60frames_noautostop
      cinematicfade60frameswhite_noautostop
      cinematicfade60to30frames_noautostop
      cinematicfade60to90frames_noautostop
      cinematicfade60tocut_noautostop
      cinematicfade90frames_noautostop
      cinematicfadegpto60_noautostop
      cinematicfadejacobspeech_noautostop
      cinematicfadejosephspeech_noautostop
      cinematicfadescopolamine_noautostop
      cinematicfadetoblack_noautostop
      cinematicfadetrojanhorse_noautostop
      cinematicfadewarroom_noautostop
      cinematicfadewhiteto60_noautostop
      cinematicwhiteto60_noautostop
      confusiongas_noautostop
      coop_fadetoblack_noautostop
      criticalhealth_ColorBlind_noautostop
      criticalhealth_noautostop
      death_noautostop
      death_test_noautostop
      demonmaskposteffects_noautostop
      desertstorm_noautostop
      detectexplosivechemicalfx_console_noautostop
      detectexplosivechemicalfx_noautostop
      diefx_noautostop
      diving_noautostop
      divingimpactfx_console_noautostop
      divingimpactfx_noautostop
      dlcm_disable_gbelt_noautostop
      dlcm_disable_weapon_noautostop
      dlcm_healing_noautostop
      dlcm_splashscreen_fadetowhitefast_noautostop
      dlcm_worldzonelogic_anti_gbelt_zone_noautostop
      dlcv_criticalhealth_noautostop
      dlcv_mountainvillage_debris_noautostop
      dlcv_orangezone_heavy_noautostop
      dlcv_orangezone_light_noautostop
      dolly_zoom_noautostop
      DONOTUSE_NoFx_noautostop
      downstate_noautostop
      drowning_health_noautostop
      drunk_high_noautostop
      drunk_noautostop
      drunkfx_camshake_console_noautostop
      drunkfx_nocamshake_console_noautostop
      drunkfx_nocamshake_noautostop
      e3_fadefromblack_noautostop
      e3_hallucination_console_noautostop
      e3_hallucination_noautostop
      e3drowning_noautostop
      enemyvisionfx_console_noautostop
      enemyvisionfx_noautostop
      exoticplaceholder_noautostop
      fadefromblack_noautostop
      fadeintopreround_noautostop
      fadetoblack3secs_noautostop
      fadetoblack5s_noautostop
      fadetoblackblur_noautostop
      fadetoblackcustomisable_noautostop
      fadetowhite_blizzard_noautostop
      fadetowhite_noautostop
      fadetowhitecustomisable_noautostop
      fadetowhitefast_noautostop
      Fadetowhitetoblack_noautostop
      faithcelebration_noautostop
      faithwhitetoblack_noautostop
      fallingfx_noautostop
      fireprooffx_console_noautostop
      fireprooffx_noautostop
      firestorm_heat_noautostop
      ghost_noautostop
      hallu_mis_320_01_console_noautostop
      hallu_mis_320_01_noautostop
      hallu_mis_320_02_console_noautostop
      hallu_mis_320_02_noautostop
      hallu_mis_320_03_console_noautostop
      hallu_mis_320_03_noautostop
      hallumaster_console_noautostop
      hallumaster_noautostop
      hallumaster_weak_console_noautostop
      hallumaster_weak_noautostop
      handgilderspeedfx_console_noautostop
      handgliderspeedfx_noautostop
      healingfx_console_noautostop
      healingfx_noautostop
      healthboostfx_console_noautostop
      healthboostfx_noautostop
      heat_distortion_console_noautostop
      heat_distortion_noautostop
      high_noautostop
      hit_stun_noautostop
      hostmigration_noautostop
      insanityarrowfx_noautostop
      invinciblefx_console_noautostop
      invinciblefx_noautostop
      ironsightfx_noautostop
      ironsightfxsecondary_noautostop
      ironsightsniperfx_noautostop
      jacobmusicbox_noautostop
      jacobplayercaptureaction_noautostop
      jacobplayercapturefour_noautostop
      jacobplayercaptureone_noautostop
      jacobplayercapturethree_noautostop
      jacobplayercapturetwo_noautostop
      JacobTrial_CriticalHealth_noautostop
      johnseeddeath_noautostop
      killcamblack_noautostop
      killcamblack_out_noautostop
      killcambloom_noautostop
      landingfx_noautostop
      lt02elirescue_noautostop
      massgravedrowning_noautostop
      massgraveintrofx_noautostop
      massgravesunfx_noautostop
      meleehitfx_console_noautostop
      meleehitfx_noautostop
      menu_pressstartblur_noautostop
      menufx_noautostop
      mission_fail_noautostop
      mpwoundfx_noautostop
      mush_sequence_transitions_noautostop
      nearmiss_console_noautostop
      nearmiss_noautostop
      neverdrownfx_console_noautostop
      neverdrownfx_noautostop
      nofalldamagefx_console_noautostop
      nofalldamagefx_noautostop
      nuclearexplosion_noautostop
      onehitkillfx_console_noautostop
      onehitkillfx_noautostop
      openingeyes_noautostop
      outpostliberation_noautostop
      oxygentank_explosionfx_console_noautostop
      oxygentank_explosionfx_noautostop
      photomode_frame_white_with_flower_noautostop
      photomode_frameblood_noautostop
      photomode_frameintaglio_noautostop
      photomode_framemars_noautostop
      photomode_underwaterfx_noautostop
      photomodetakephoto_noautostop
      placeholderfx_noautostop
      placeholderfx_sequence_noautostop
      plantvisionfx_console_noautostop
      plantvisionfx_noautostop
      poisonarrow_noautostop
      poisonbitefx_noautostop
      poisondamagefx_noautostop
      postfx:mush_postfx.01_noautostop
      postfx:mush_postfx.02_noautostop
      postfx:mush_postfx.03_noautostop
      postfx:mush_postfx.04_noautostop
      postfx:mush_postfx.05_noautostop
      postfx:mush_postfx.06_noautostop
      postfx:mush_postfx.07_noautostop
      postfx:mush_postfx.08_noautostop
      postfx:mush_postfx.09_noautostop
      postfx:mush_postfx.10_noautostop
      postfx_profiling_noautostop
      pre-criticalstatevignette_ColorBlind_noautostop
      pre-criticalstatevignette_noautostop
      pre-ragekill_noautostop
      preventfleefx_console_noautostop
      preventfleefx_noautostop
      pvp_spawncamera_noautostop
      pvpspeedsyringe_noautostop
      qte_dogattack_bite_noautostop
      qte_dogattack_fall_noautostop
      qte_dogattack_stab_noautostop
      qte_dogattack_struggle_noautostop
      qte_planecrash_impacthit_noautostop
      qte_planecrash_planefalling_console_noautostop
      qte_pullmachette_blur_noautostop
      qte_riverrapid_hitimpact_noautostop
      qte_riverrapidhitimpact_console_noautostop
      quickfirefx_console_noautostop
      quickfirefx_noautostop
      racingcheckpointfx_finish_noautostop
      racingcheckpointfx_noautostop
      ragekill_noautostop
      rescuefx_noautostop
      rescuehealfx_noautostop
      revive_noautostop
      scopolamine_noautostop
      scopolamineHeavy_noautostop
      scopolamineintoxication_noautostop
      scopolamineMedium_noautostop
      screenglitchfx_noautostop
      shangrila_fadefx_noautostop
      skinningfx_noautostop
      slidingfx_noautostop
      sp_health_hit_ColorBlind_noautostop
      sp_health_hit_console_noautostop
      sp_health_hit_noautostop
      spiritwalkpvp_noautostop
      sprintburstfx_console_noautostop
      sprintburstfx_noautostop
      sprintingfx_noautostop
      stealth_noautostop
      stunfx_noautostop
      supportweapongas_noautostop
      supportweaponoilbarrelexplo_noautostop
      swimspeedfx_console_noautostop
      swimspeedfx_noautostop
      takedownpunchfx_noautostop
      takedownstabfx_noautostop
      tattooglow_noautostop
      townescape_noautostop
      underwaterfx_noautostop
      vehiclesspeedfx_noautostop
      vintage_noautostop
      waitingroomscreen_noautostop
      wakeupfx_noautostop
      wateronscreen_noautostop
      weedbuzzfx_console_noautostop
      whiteblast_noautostop
      whitetoblack_noautostop
      wildlifevisionfx_console_noautostop
      wildlifevisionfx_noautostop
      windregionfx_noautostop
      wingsuitspeedfx_noautostop
      woundfx_noautostop
      ziplinespeedfx_console_noautostop
      ziplinespeedfx_noautostop
      ZomBeedamagefx_noautostop
      zombification_noautostop


    The "noautostop" effects seem to be permanent in the map, the others will disappear after a while.
     1 people found this helpful
    Share this post

  5. #5
    jcoffeycup73's Avatar Member
    Join Date
    Aug 2018
    Location
    Massaschusetts
    Posts
    215
    OMG. Thank you so much! I will go grab the update and play around. The 'cinematics' and 'fades' sound like an opportunity to make some cutscene animations.

    Edit: Got the update and I found the 'landmines' but don't know how to implement. How does an AI trip say "fadefromblack_noautostop"?
    Share this post

  6. #6
    Steve64b's Avatar Senior Member
    Join Date
    Jul 2016
    Location
    http://steve.farcry.eu/
    Posts
    1,628
    Best way I think is to spawn an AIAsObject on top of it with a script "Spawn Object with lifetime".

    I'd recommend using "Unarmed.Cult_Lieut03 Faith Seed DoNotUse_Shadow_TH_D602 AIAsObject", seeing it has barely any visual indicator.
    You can place the "mines" anywhere on the map, the postFX application range is pretty high. I don't think players need to be close to it to get the effect. The Object Helper on the mines roughly indicates the area in which the trigger volume is active. As soon as an AI touches it, it'll set it off.
     1 people found this helpful
    Share this post

  7. #7
    jcoffeycup73's Avatar Member
    Join Date
    Aug 2018
    Location
    Massaschusetts
    Posts
    215
    I'm not sure what I am doing wrong. I have an event trigger that fires at the start of Wave 1. The script spawns with lifetime the AI above the mine (positioned mostly underground). But nothing is happening.


    I do not see an Object Helper on the mine, just the bounding box?
    Share this post

  8. #8
    Steve64b's Avatar Senior Member
    Join Date
    Jul 2016
    Location
    http://steve.farcry.eu/
    Posts
    1,628
    Raise the mine higher, the base should be above ground. The visual part you see IS the Helper object. Upon publishing, the visual model will no longer be there.

    It's a "noautostop" variant in your screenshot btw, which will indeed fade the screen to black, but AFAIK you can't recover from that.It's one of those effects that seems to last throughout the map without stopping after a while.

    *edit*
    Just realized the PostFX objects have a range after all; the player currently needs to be between 6 and 12 meters from the object's position when it goes off. I will update my mod to fix that soon!
    Share this post

  9. #9
    jcoffeycup73's Avatar Member
    Join Date
    Aug 2018
    Location
    Massaschusetts
    Posts
    215
    I moved the mine above ground and closer to player, but not seeing anything happening.



    I was trying to set up a simple scene using animation points to experiment with post-fx/lighting



    I guess I will need to leave it to greater minds than me to create an example. If interested, this is the file I was using
    Share this post

  10. #10
    Steve64b's Avatar Senior Member
    Join Date
    Jul 2016
    Location
    http://steve.farcry.eu/
    Posts
    1,628
    Did you place the Faith Shadow INSIDE the visual helper of the object? The screenshot shows she's standing next to it. So she's standing outside the trigger, so it doesn't get triggered.
    Share this post