SOLVED How to define penalty zones ?

Discussion in 'Tracks' started by luchian, Jun 28, 2016.

  1. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,492
    This is a question that I got recently via PM, so answering on public to make it useful for everybody.

    In order to define penalty zones, both the mesh and the surfaces.ini must be modified. Let's take the following image* as an example:
    penalty_zone.jpg
    *image courtesy to Brun.UK

    1/ The mesh
    We need to separate the meshes which we wish to treat as penalty zones from the other normal ones (it doesn't matter if it's grass, concrete, whatever). In the above image, let's suppose we wish to mark the big yellow zone as a penalty zone. We would then rename it to something different (can be anything) like: WIDECUT

    2/ surfaces.ini
    In the surfaces.ini for that respective track, we need to define a new surface type / key, like bellow where 3 parameters are important (the text in Italic it's just explanation, it must NOT be in your file) :

    [SURFACE_X] (where x is the respective order number in your own file)
    KEY=WIDECUT (or the name of your mesh)
    FRICTION=0.92
    DAMPING=0
    WAV=kerb.wav
    WAV_PITCH=1.3
    FF_EFFECT=1
    DIRT_ADDITIVE=0
    BLACK_FLAG_TIME=5 (penalty time, in seconds)
    IS_VALID_TRACK=0 (0=NO; 1=YES)
    SIN_HEIGHT=0
    SIN_LENGTH=0
    IS_PITLANE=0
    VIBRATION_GAIN=0.3
    VIBRATION_LENGTH=0.6
     
    John Harding likes this.
  2. tom-mms

    tom-mms New Member

    Joined:
    Aug 21, 2017
    Messages:
    1
    Likes Received:
    0
    I have a question regarding this.. Is it possible to change the wheels off track required for a penalty from (what appears to be) three wheels down to just one? I am trying to assign the bottom surface of a cone such that a tyre driving over will initiate the penalty. I have edited the ALLOWED_TYRES_OUT in the cfg but irrespective of entry (-4 through to 4) I get the same 3 wheel requirement
     
  3. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,492
    Not aware of other way.

    Only thing I can mention, make sure to edit the "right" cfg; it's the one in \Documents folder that is used afaik (and not the one in \assettocorsa\cfg folder).

    Other solution might be to just add some sort of invisible surface to the cone so that the player actually gets 2 tires out ? :ninja: (just throwing an idea).
     
  4. Pixelchaser

    Pixelchaser Well-Known Member

    Joined:
    Jan 4, 2015
    Messages:
    1,541
    Likes Received:
    1,050
    I'm doing a carpark autocross track, and I have it just using the tarmac terrain, online server is only way to set zero tyres out thus producing a track cut penalty.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice