Skip to content

Editing the Configuration Files#

anim.cfg#

This file contains all the animations used by the Animations feature. It comes populated by default with a good amount of animations. You can edit it to add new animations or rearrange the existing ones.

It is structured as follows:

[Category]
Animation,                anim_name,                [email protected]
Animation,                anim_name,                [email protected]
Animation,                anim_name,                [email protected]

By default, there is only one category, [Misc]. You can create additional categories and arrange animations within them. Each category will be displayed as a submenu under Local Tab → Animations.

Example

This is a modified extract from the default anim.cfg in 2T1.

[Misc]
Private Dance 1,            priv_dance_p1,                  [email protected][email protected][email protected]
Private Dance 2,            priv_dance_p2,                  [email protected][email protected][email protected]
Private Dance 3,            priv_dance_p3,                  [email protected][email protected][email protected]
Pole Dance 1,               pd_dance_01,                    [email protected][email protected][email protected]_dance1
Pole Dance 2,               pd_dance_02,                    [email protected][email protected][email protected]_dance2
Pole Dance 3,               pd_dance_03,                    [email protected][email protected][email protected]_dance3
Wiggle,                     ld_2g_intro_s2,                 [email protected][email protected][email protected]_2g_intro
Shag Male,                  shag_loop_a,                    rcmpaparazzo_2
Shag Female,                shag_loop_poppy,                rcmpaparazzo_2
Jerk Off,                   trev_jerking_off_loop,          [email protected]@jerking_off
Peeing,                     peeing_intro,                   misscarsteal2peeing
Middle Finger,              middle_finger,                  [email protected]
Busted,                     idle_2_hands_up,                [email protected]
Hands Up,                   handsup,                        ped
[Private Dance]
Private Dance 1,            priv_dance_p1,                  [email protected][email protected][email protected]
Private Dance 2,            priv_dance_p2,                  [email protected][email protected][email protected]
Private Dance 3,            priv_dance_p3,                  [email protected][email protected][email protected]

[Pole Dance]
Pole Dance 1,               pd_dance_01,                    [email protected][email protected][email protected]_dance1
Pole Dance 2,               pd_dance_02,                    [email protected][email protected][email protected]_dance2
Pole Dance 3,               pd_dance_03,                    [email protected][email protected][email protected]_dance3
Wiggle,                     ld_2g_intro_s2,                 [email protected][email protected][email protected]_2g_intro

[Others]
Shag Male,                  shag_loop_a,                    rcmpaparazzo_2
Shag Female,                shag_loop_poppy,                rcmpaparazzo_2
Jerk Off,                   trev_jerking_off_loop,          [email protected]@jerking_off
Peeing,                     peeing_intro,                   misscarsteal2peeing
Middle Finger,              middle_finger,                  [email protected]
Busted,                     idle_2_hands_up,                [email protected]
Hands Up,                   handsup,                        ped

blacklist.cfg#

This file contains blacklisted SCIDs for the Join Timeout feature.

It is structured as follows:

[SCID]
name1:scid1_hex
name2:scid2_hex
name3:scid3_hex

SCIDs are stored in hexadecimal.

obj_spawn.cfg#

This file contains all the objects used by the Object Spawner feature. It comes populated by default with a good amount of objects. You can edit it to add new objects or rearrange the existing ones.

It is structured as follows. Each category will be displayed as its own submenu:

[Category]
Object 1,        objectName
Object 2,        objectName
Object 3,        objectName

Example

This is an extract from 2Take1's default obj_spawn.cfg.

[Misc]
ent_anim_cig_smoke_car,                     scr_mp_cig,                         ent_anim_cig_smoke_car
scr_fbi4_trucks_crash,                      scr_fbi4,                           scr_fbi4_trucks_crash
scr_fam4_trailer_sparks,                    scr_family4,                        scr_fam4_trailer_sparks
scr_clown_appears,                          scr_rcbarry2,                       scr_clown_appears
scr_alien_teleport,                         scr_rcbarry1,                       scr_alien_teleport
scr_alien_disintegrate,                     scr_rcbarry1,                       scr_alien_disintegrate
scr_sh_lighter_sparks,                      scr_mp_house,                       scr_sh_lighter_sparks
scr_sh_lighter_flame,                       scr_mp_house,                       scr_sh_lighter_flame
scr_agency3b_elec_box,                      scr_agencyheistb,                   scr_agency3b_elec_box
[Barry]
scr_clown_appears,                          scr_rcbarry2,                       scr_clown_appears
scr_alien_teleport,                         scr_rcbarry1,                       scr_alien_teleport
scr_alien_disintegrate,                     scr_rcbarry1,                       scr_alien_disintegrate

[Other]
ent_anim_cig_smoke_car,                     scr_mp_cig,                         ent_anim_cig_smoke_car
scr_fbi4_trucks_crash,                      scr_fbi4,                           scr_fbi4_trucks_crash
scr_fam4_trailer_sparks,                    scr_family4,                        scr_fam4_trailer_sparks
scr_sh_lighter_sparks,                      scr_mp_house,                       scr_sh_lighter_sparks
scr_sh_lighter_flame,                       scr_mp_house,                       scr_sh_lighter_flame
scr_agency3b_elec_box,                      scr_agencyheistb,                   scr_agency3b_elec_box

ptfx.cfg#

This file contains all the animations used by the Post-Effects feature. It comes populated by default with a good amount of particles. You can edit it to add new particles or rearrange the existing ones.

It is structured as follows:

[Category]
Particle,                ptfx_name,                [email protected]
Particle,                ptfx_name,                [email protected]
Particle,                ptfx_name,                [email protected]

By default, there is only one category, [Misc]. You can create additional categories and arrange particles within them. Each category will be displayed as its own submenu under Local Tab → PTFX.

Example

This is a modified extract from the default ptfx.cfg in 2T1.

[Misc]
ent_anim_cig_smoke_car,                     scr_mp_cig,                         ent_anim_cig_smoke_car
scr_fbi4_trucks_crash,                      scr_fbi4,                           scr_fbi4_trucks_crash
scr_fam4_trailer_sparks,                    scr_family4,                        scr_fam4_trailer_sparks
scr_clown_appears,                          scr_rcbarry2,                       scr_clown_appears
scr_alien_teleport,                         scr_rcbarry1,                       scr_alien_teleport
scr_alien_disintegrate,                     scr_rcbarry1,                       scr_alien_disintegrate
scr_sh_lighter_sparks,                      scr_mp_house,                       scr_sh_lighter_sparks
scr_sh_lighter_flame,                       scr_mp_house,                       scr_sh_lighter_flame
scr_agency3b_elec_box,                      scr_agencyheistb,                   scr_agency3b_elec_box
scr_fbi_mop_drips,                          scr_agencyheist,                    scr_fbi_mop_drips
scr_fbi_mop_squeeze,                        scr_agencyheist,                    scr_fbi_mop_squeeze
scr_fbi5_ped_water_splash,                  scr_fbi5a,                          scr_fbi5_ped_water_splash
water_splash_ped_bubbles,                   scr_fbi5a,                          water_splash_ped_bubbles
scr_finale2_blood_entry,                    scr_finalec2,                       scr_finale2_blood_entry
[Barry]
scr_clown_appears,                          scr_rcbarry2,                       scr_clown_appears
scr_alien_teleport,                         scr_rcbarry1,                       scr_alien_teleport
scr_alien_disintegrate,                     scr_rcbarry1,                       scr_alien_disintegrate

[Visual]
scr_sh_lighter_sparks,                      scr_mp_house,                       scr_sh_lighter_sparks
scr_sh_lighter_flame,                       scr_mp_house,                       scr_sh_lighter_flame

[Others]
ent_anim_cig_smoke_car,                     scr_mp_cig,                         ent_anim_cig_smoke_car
scr_fbi4_trucks_crash,                      scr_fbi4,                           scr_fbi4_trucks_crash
scr_fam4_trailer_sparks,                    scr_family4,                        scr_fam4_trailer_sparks
scr_agency3b_elec_box,                      scr_agencyheistb,                   scr_agency3b_elec_box
scr_fbi_mop_drips,                          scr_agencyheist,                    scr_fbi_mop_drips
scr_fbi_mop_squeeze,                        scr_agencyheist,                    scr_fbi_mop_squeeze
scr_fbi5_ped_water_splash,                  scr_fbi5a,                          scr_fbi5_ped_water_splash
water_splash_ped_bubbles,                   scr_fbi5a,                          water_splash_ped_bubbles
scr_finale2_blood_entry,                    scr_finalec2,                       scr_finale2_blood_entry

sep.cfg#

%appdata%\PopstarDevs\2Take1Menu\cfg\sep.cfg

This file contains all the Script Events used by the Event Hooks feature. It comes populated by default with a good amount of script events.

It is structured as follows. Each [Category] will be displayed as a different hook in Online → Event Hooks → Script Events.

[Category]
MARK_AS_MODDER
Event Name,          {0: eventHash, 1: argVal1, 2: argVal2}
Event Name,          {0: eventHash, 1: argVal1, 2: argVal2}
Event Name,          {0: eventHash, 1: argVal1, 2: argVal2}
  • MARK_AS_MODDER is an optional flag that can be set per-category, and will mark the sender as modder when the hook is triggered.
  • Event Name is a human-readable name for the event, that 2Take1 can display if the hook is set to "notify".
  • The array consists of many parameters with their values:
    • Parameter 0 defines the hexadecimal hash of the event.
    • Parameters from 1 onwards are optional arguments, that will make the hook target very specific events. Without those parameters, any event that matches the hash will trigger the hook.
      • The same parameter can be defined many times, with different values.
  • Each argVal consists of a control character, inmediately followed by the integer value itself.
    Here are all supported control characters, using the value 123 as an example:
    • =123 – The argument must be 123.
    • !123 – The argument must not be 123.
    • >=123 – The argument must be 123 or higher.
    • <=123 – The argument must be 123 or lower.
    • >123 – The argument must be higher than 123.
    • <123 – The argument must be lower than 123.
  • It is also possible to set value ranges with logical operators:
    • >10 & <20 – The argument must be between 10 and 20 (both excluded).
    • <10 | >20 – The argument must be lower than 10 or higher than 20 (both excluded).

Example

[Kick]
MARK_AS_MODDER
KICK 0,             {0: =0xB2A55F43, 2: =-1}
KICK 1,             {0: =0x12C17228, 2: =-1}

[Invalid Apartment Invite]
MARK_AS_MODDER
Invalid Apartment Invite,   {0: =0xf887592b, 5: <1 | >114}

[Send Modded Bounty]
Modded Bounty,      {0: =0x2073b3d7, 4: !1000, 4: !3000, 4: !5000, 4: !7000, 4: !9000}

stats.cfg#

%appdata%\PopstarDevs\2Take1Menu\cfg\stats.cfg

This file contains all the stats used by the Stats Editor feature. It comes populated by default with a good amount of script events.

It is structured as follows. Each [Category] will be displayed as its own submenu in Online Tab → Recovery → Stats Editor.

[Category]
type,   Stat Name,   statChar_1,   statChar_2,   minVal,   maxVal,   READONLY
type,   Stat Name,   statChar_1,   statChar_2,   minVal,   maxVal,   READONLY
type,   Stat Name,   statChar_1,   statChar_2,   minVal,   maxVal,   READONLY
  • type defines the stat type (integer, float or boolean).
  • Stat Name is a human-readable name for the stat, that will be displayed in 2T1.
  • statChar is the definition of the stat. Most stats have different names for first (MP0) and second (MP1) characters, hence why it is defined twice.
  • minVal and maxVal define the lowest and highest possible value of the stat. Boolean stats will use 0 and 1 respectively.
  • READONLY is an optional flag, that makes the stat impossible to edit within 2T1. Recommended for stats that can't be written client-side.

Example

These are extracts from 2T1's default stats.cfg.

[Character]
INT,        Reset Orbital Cooldown,         MP0_ORBITAL_CANNON_COOLDOWN,            MP1_ORBITAL_CANNON_COOLDOWN,            0,      1000000  
INT,        Auto equip Pilot helmet,        MP0_AUTO_EQ_HELMET_FLY_VEH,             MP1_AUTO_EQ_HELMET_FLY_VEH,             0,      1
INT,        Auto equip Bike helmet,         MP0_AUTO_EQ_HELMET,                     MP1_AUTO_EQ_HELMET,                     0,      1
FLOAT,      Mental State,                   MP0_PLAYER_MENTAL_STATE,                MP1_PLAYER_MENTAL_STATE,                0,      100
BOOL,       Plane Access,                   MP0_PLANE_ACCESS,                       MP1_PLANE_ACCESS,                       0,      1
BOOL,       Boat Access,                    MP0_BOAT_ACCESS,                        MP1_BOAT_ACCESS,                        0,      1
BOOL,       Helicopter Access,              MP0_HELI_ACCESS,                        MP1_HELI_ACCESS,                        0,      1

[Character Abilities]
INT,        Flying Ability,                 MP0_FLYING_ABILITY,                     MP1_FLYING_ABILITY,                     0,      100
INT,        Shooting Ability,               MP0_SHOOTING_ABILITY,                   MP1_SHOOTING_ABILITY,                   0,      100
INT,        Wheelie Ability,                MP0_WHEELIE_ABILITY,                    MP1_WHEELIE_ABILITY,                    0,      100
INT,        Special Ability,                MP0_SPECIAL_ABILITY,                    MP1_SPECIAL_ABILITY,                    0,      100
[Account Reports]
INT,        Griefing Reports,               MPPLY_GRIEFING,                         MPPLY_GRIEFING                          0,      2147483647,     READONLY  
INT,        Game Exploits,                  MPPLY_GAME_EXPLOITS,                    MPPLY_GAME_EXPLOITS,                    0,      2147483647,     READONLY  
INT,        Voice Chat Annoying,            MPPLY_VC_ANNOYINGME,                    MPPLY_VC_ANNOYINGME,                    0,      2147483647,     READONLY  
INT,        Voice Chat Hate,                MPPLY_VC_HATE,                          MPPLY_VC_HATE,                          0,      2147483647,     READONLY  
INT,        Friendly Commends,              MPPLY_FRIENDLY,                         MPPLY_FRIENDLY,                         0,      2147483647,     READONLY  
INT,        Helpful Commends,               MPPLY_HELPFUL,                          MPPLY_HELPFUL,                          0,      2147483647,     READONLY  
BOOL,       Marked As Cheater?,             MPPLY_IS_CHEATER,                       MPPLY_IS_CHEATER,                       0,      1,              READONLY  
BOOL,       Marked As Bad Sport?,           MPPLY_WAS_I_BAD_SPORT,                  MPPLY_WAS_I_BAD_SPORT,                  0,      1,              READONLY  
BOOL,       Marked as High Earner?,         MPPLY_IS_HIGH_EARNER,                   MPPLY_IS_HIGH_EARNER,                   0,      1,              READONLY  

tele.cfg#

%appdata%\PopstarDevs\2Take1Menu\cfg\tele.cfg

This file contains all the custom locations used by the Teleport feature. It comes populated by default with a good amount of custom locations. Editing this file allows you to add new locations or rearrange the existing ones.

It is structured as follows. Each [Category] will be displayed as a submenu under Local Tab → Teleport → Custom:

[Category 1]
Location A1,          {coordX, coordY, coordZ}
Location A2,          {coordX, coordY, coordZ}
Location A3,          {coordX, coordY, coordZ}

[Category 2]
Location B1,          {coordX, coordY, coordZ}
Location B2,          {coordX, coordY, coordZ}
Location B3,          {coordX, coordY, coordZ}

Example

This is a modified extract from the default tele.cfg in 2T1.

[Spaceship Parts]
Spaceship Part 1,    {-1215.87, -3496.03, 13.9402}
Spaceship Part 2,    {639.95099, -3232.53, -15.9756}
Spaceship Part 3,    {1587.16, -2810.76, 3.30528}
Spaceship Part 4,    {338.508, -2765.8301, 43.632401}

[Letter Scraps]
Letter Scrap 1,      {1023.12, -3026.0901, 14.3275}
Letter Scrap 2,      {-1045.23, -2733.1899, 13.7869}
Letter Scrap 3,      {-79.233498, -2726.8201, 8.7402}
Letter Scrap 4,      {-920.34998, -2525.24, 23.321501}

[Stunt Jumps]
Stunt Jump 1,        {46.211102, 6535.8999, 30.9198}
Stunt Jump 2,        {-183.87399, 6557.1401, 10.528}
Stunt Jump 3,        {486.98401, 4311.29, 55.3102}
Stunt Jump 4,        {-956.85999, 4168.9502, 135.91299}

Last update: 2021-07-23
Back to top