Allow .dsr files to be executed and splitted.


  • Project Moderator

    Feature:
    Allow the execution of dsr files [from within of dsr files].
    Description:
    Allow the execution of dsr files with exec dsr.
    Motivation:
    This feature should be added to the client, since every line in a dsr file is a valid command it is just logical to allow the execution.
    This could also allow to split up these files and settings that are shared through servers / game modes only need to be defined and edited once for multiple dsr files.
    It could work like this:
    tdm.dsr could exec _restrictions.dsr to set up restrictions for weapons, attachments and perks.
    tdm.dsr could exec _classes.dsr to set up the default classes.
    tdm.dsr could set the now very few unique settings that have not been handled by the shared .dsr files.

    Example:
    alt text


  • Project Admin

    @xerxes said in Allow .dsr files to be executed and splitted.:

    Feature:
    Allow the execution of dsr files [from within of dsr files].
    Description:
    Allow the execution of dsr files with exec dsr.
    Motivation:
    This feature should be added to the client, sinc every line in a dsr file is a valid command it is just logical to allow the execution.
    This could also allow to split up these files and settings that are shared through servers / game modes only need to be defined and edited once for multiple dsr files.
    It could work like this:
    tdm.dsr could exec _restrictions.dsr to set up restrictions for weapons, attachments and perks.
    tdm.dsr could exec _classes.dsr to set up the default classes.
    tdm.dsr could set the now very few unique settings that have not been handled by the shared .dsr files.

    Example:
    alt text

    I might add a "dsr" command later on, that will parse sub-DSR files, as exec can't execute DSR files directly.