Editing the Configuration Files#
anim.cfg
#
%appdata%\PopstarDevs\2Take1Menu\cfg\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.
[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 2Take1.
[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
obj_spawn.cfg
#
%appdata%\PopstarDevs\2Take1Menu\cfg\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.
[Category]
Object 1, objectName
Object 2, objectName
Object 3, objectName
...
Each category will be displayed as a submenu under Spawn → Objects.
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
#
%appdata%\PopstarDevs\2Take1Menu\cfg\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.
[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 a submenu under Local Tab → PTFX.
Example
This is a modified extract from the default ptfx.cfg
in 2Take1.
[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
scid.cfg
#
%appdata%\PopstarDevs\2Take1Menu\cfg\scid.cfg
This file contains all the fake friends you have added within 2Take1, along with other options.
[SCID]
name:scid_hex:opt_hex
name:scid_hex:opt_hex
name:scid_hex:opt_hex
...
-
name
Username of the fake friend. Example:
MrBossFTW
-
scid_hex
SCID of the fake friend in hexadecimal. Example:
18fd7e3
(equals26204131
) -
opt_hex
Hexadecimal number that reflects the options enabled for this fake friend. Its value is calculated by adding the toggles that were enabled (following the table below) and converting the result to hex:
Feature toggle Increment Stalking 1 Timed out 4 Hidden 8 In friends list 16 When all toggles are disabled,
opt_hex
is0
.
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.
[Hook]
MARK_AS_MODDER
Event Name, {0: hash, 1: value, 2: value, ...}
Event Name, {0: hash, 1: value, 2: value, ...}
Event Name, {0: hash, 1: value, 2: value, ...}
...
Each [Hook]
will be displayed as a different feature under Online → Event Hooks → Script Events.
-
MARK_AS_MODDER
(optional)When added to a hook, it will mark as modder the player that sent the hooked script event.
-
Event Name
Human-friendly name for the event, that 2Take1 can display if the hook is set to Notify.
-
0: hash
Hash of the script event that will be hooked.
-
N: value
Optional arguments that will target very specific events. Without those arguments, any script event that matches the hash will trigger the hook.
-
N
is the position of the argument. You can define the same argument many times with different values. -
value
is a control character followed by an integer. The following control characters are supported:=123
– Equal to123
.!123
– Not equal to123
.>123
– Greater than123
.<123
– Less than123
.>=123
– Greater than or equal to123
.<=123
– Less than or equal to123
.
You can also set value ranges with logical operators:
>10 & <20
– Between10
and20
(exclusive).<10 | >20
– Not between10
and20
(exclusive).
-
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.
[Category]
type, Stat Name, statChar_1, statChar_2, min, max, READONLY
type, Stat Name, statChar_1, statChar_2, min, max, READONLY
type, Stat Name, statChar_1, statChar_2, min, max, READONLY
...
Each [Category]
will be displayed as a submenu under Online Tab → Recovery → Stats Editor.
-
type
Data type of the stat (integer, float or boolean), which will also determine how it is displayed in 2Take1.
-
Stat Name
Human-friendly name for the stat, which 2Take1 will display as feature name.
-
statChar1
andstatChar2
Definition of the stat for character 1 (
MP0
) and character 2 (MP1
). -
min
andmax
Lowest and highest values of the stat (for booleans,
0
and1
). -
READONLY
(optional)When added to a stat, it cannot be edited with the stats editor. Recommended for stats that cannot be written client-side.
Example
These are extracts from 2Take1'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.
[Category 1]
Location A1, {coordX, coordY, coordZ}
Location A2, {coordX, coordY, coordZ}
Location A3, {coordX, coordY, coordZ}
...
Each [Category]
will be displayed as a submenu under Local Tab → Teleport → Custom.
Example
This is a modified extract from the default tele.cfg
in 2Take1.
[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}