CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Black Ops 3 GSC Managed Code List
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vampytwist" data-source="post: 23425" data-attributes="member: 31216"><p>Origin Mods:</p><p></p><p>Complete Challenges:</p><p>[spoiler]</p><p>[code]</p><p>function dochallenges() {</p><p> self thread devgui_award_challenge(1);</p><p> self thread devgui_award_challenge(2);</p><p> self thread devgui_award_challenge(3);</p><p> self thread devgui_award_challenge(4);</p><p>}</p><p></p><p>function devgui_award_challenge( n_index )</p><p>{</p><p></p><p> if ( n_index == 4 )</p><p> {</p><p> s_team_stats = level._challenges.s_team;</p><p> s_team_stats.n_completed = 1;</p><p> s_team_stats.n_medals_held = 1;</p><p> a_keys = getarraykeys( level._challenges.s_team.a_stats );</p><p> s_stat = level._challenges.s_team.a_stats[ a_keys[ 0 ] ];</p><p> s_stat.b_medal_awarded = 1;</p><p> s_stat.b_reward_claimed = 0;</p><p> s_stat.a_b_player_rewarded[ self.characterindex ] = 0;</p><p> CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 );</p><p> _a1061 = level.a_m_challenge_boards;</p><p> _k1061 = getFirstArrayKey( _a1061 );</p><p> while ( isDefined( _k1061 ) )</p><p> {</p><p> m_board = _a1061[ _k1061 ];</p><p> m_board ShowPart( s_stat.str_glow_tag );</p><p> _k1061 = getNextArrayKey( _a1061, _k1061 );</p><p> }</p><p> }</p><p> else</p><p> {</p><p> a_keys = getarraykeys( level._challenges.a_players[ 0 ].a_stats );</p><p> a_players = getPlayers();</p><p> _a1071 = a_players;</p><p> _k1071 = GetFirstArrayKey( _a1071 );</p><p> s_player_data = level._challenges.a_players[ self.characterindex ];</p><p> s_player_data.n_completed++;</p><p> s_player_data.n_medals_held++;</p><p> s_stat = s_player_data.a_stats[ a_keys[ n_index - 1 ] ];</p><p> s_stat.b_medal_awarded = 1;</p><p> s_stat.b_reward_claimed = 0;</p><p> CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 );</p><p> _a1082 = level.a_m_challenge_boards;</p><p> _k1082 = getFirstArrayKey( _a1082 );</p><p> while ( isDefined( _k1082 ) )</p><p> {</p><p> m_board = _a1082[ _k1082 ];</p><p> m_board showpart( s_stat.str_glow_tag );</p><p> _k1082 = getNextArrayKey( _a1082, _k1082 );</p><p> }</p><p> }</p><p>}</p><p>[/code][/spoiler]</p><p></p><p>Remove mud:</p><p>[spoiler][code]</p><p>function removeMud(){</p><p> level.a_e_slow_areas = undefined;</p><p>}[/code][/spoiler]</p><p></p><p>Spawn Soldat:</p><p>[spoiler][code]</p><p>function spawnsoldat(){</p><p> level.mechz_left_to_spawn++;</p><p> level notify( "spawn_mechz" );</p><p>}</p><p>[/code][/spoiler]</p><p></p><p>Infinite Gramophone:</p><p>[spoiler][code]</p><p>function toggleinfGramophone() {</p><p> if (!isDefined(self.gramophone)) {</p><p> self.gramophone = true;</p><p> self InfiniteGramophone();</p><p> } else {</p><p> self.gramophone = undefined;</p><p> self notify("gramophone_sthap");</p><p> }</p><p>}</p><p></p><p>function InfiniteGramophone() {</p><p> self endon("gramophone_sthap");</p><p> while(isDefined(self.gramophone))</p><p> {</p><p> flag::clear( "gramophone_placed" );</p><p> CodeSetClientField(level, "piece_record_zm_player", 1 );</p><p> level notify("gramophone_vinyl_player_picked_up");</p><p> wait 1;</p><p> }</p><p>}[/code][/spoiler]</p><p></p><p>Infinite Rewards</p><p>[spoiler][code]</p><p>function toggleinfreward() {</p><p> if (!isDefined(self.rewardbox)) {</p><p> self.rewardbox = true;</p><p> self InfRewardBox();</p><p> } else {</p><p> self.rewardbox = undefined;</p><p> self notify("rewardbox_sthap");</p><p> }</p><p>}</p><p></p><p>function InfRewardBox()</p><p>{</p><p> self endon("rewardbox_sthap");</p><p> while(isDefined(self.rewardbox))</p><p> {</p><p> foreach( player in level.players)</p><p> {</p><p> player thread devgui_award_challenge(1);</p><p> player thread devgui_award_challenge(2);</p><p> player thread devgui_award_challenge(3);</p><p> player thread devgui_award_challenge(4);</p><p> }</p><p> wait 5;</p><p> }</p><p>}</p><p></p><p>function devgui_award_challenge( n_index )</p><p>{</p><p></p><p> if ( n_index == 4 )</p><p> {</p><p> s_team_stats = level._challenges.s_team;</p><p> s_team_stats.n_completed = 1;</p><p> s_team_stats.n_medals_held = 1;</p><p> a_keys = getarraykeys( level._challenges.s_team.a_stats );</p><p> s_stat = level._challenges.s_team.a_stats[ a_keys[ 0 ] ];</p><p> s_stat.b_medal_awarded = 1;</p><p> s_stat.b_reward_claimed = 0;</p><p> s_stat.a_b_player_rewarded[ self.characterindex ] = 0;</p><p> CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 );</p><p> _a1061 = level.a_m_challenge_boards;</p><p> _k1061 = getFirstArrayKey( _a1061 );</p><p> while ( isDefined( _k1061 ) )</p><p> {</p><p> m_board = _a1061[ _k1061 ];</p><p> m_board ShowPart( s_stat.str_glow_tag );</p><p> _k1061 = getNextArrayKey( _a1061, _k1061 );</p><p> }</p><p> }</p><p> else</p><p> {</p><p> a_keys = getarraykeys( level._challenges.a_players[ 0 ].a_stats );</p><p> a_players = getPlayers();</p><p> _a1071 = a_players;</p><p> _k1071 = GetFirstArrayKey( _a1071 );</p><p> s_player_data = level._challenges.a_players[ self.characterindex ];</p><p> s_player_data.n_completed++;</p><p> s_player_data.n_medals_held++;</p><p> s_stat = s_player_data.a_stats[ a_keys[ n_index - 1 ] ];</p><p> s_stat.b_medal_awarded = 1;</p><p> s_stat.b_reward_claimed = 0;</p><p> CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 );</p><p> _a1082 = level.a_m_challenge_boards;</p><p> _k1082 = getFirstArrayKey( _a1082 );</p><p> while ( isDefined( _k1082 ) )</p><p> {</p><p> m_board = _a1082[ _k1082 ];</p><p> m_board showpart( s_stat.str_glow_tag );</p><p> _k1082 = getNextArrayKey( _a1082, _k1082 );</p><p> }</p><p> }</p><p>}</p><p>[/code][/spoiler]</p><p></p><p>All Players shovel</p><p>[spoiler][code]</p><p>function shovelall()</p><p>{</p><p> foreach(player in level.players)</p><p> {</p><p> player.dig_vars[ "has_shovel" ] = 1;</p><p> player.dig_vars[ "has_upgraded_shovel" ] = 1;</p><p> player.dig_vars[ "has_helmet" ] = 1;</p><p> player.dig_vars[ "n_spots_dug" ] = 9999;</p><p> player.dig_vars[ "n_losing_streak" ] = 999;</p><p> }</p><p> CodeSetClientField(level, "shovel_player1",2);</p><p> CodeSetClientField(level, "shovel_player2",2);</p><p> CodeSetClientField(level, "shovel_player3",2);</p><p> CodeSetClientField(level, "shovel_player4",2);</p><p> CodeSetClientField(level, "helmet_player1",1);</p><p> CodeSetClientField(level, "helmet_player2",1);</p><p> CodeSetClientField(level, "helmet_player3",1);</p><p> CodeSetClientField(level, "helmet_player4",1);</p><p>}[/code][/spoiler]</p><p></p><p>Give self Shovel:</p><p>[spoiler][code]</p><p>function shovelme()</p><p>{</p><p> self.dig_vars[ "has_shovel" ] = 1;</p><p> self.dig_vars[ "has_upgraded_shovel" ] = 1;</p><p> self.dig_vars[ "has_helmet" ] = 1;</p><p> self.dig_vars[ "n_spots_dug" ] = 9999;</p><p> self.dig_vars[ "n_losing_streak" ] = 999;</p><p> CodeSetClientField(level, "shovel_player1",2);</p><p> CodeSetClientField(level, "helmet_player1",1);</p><p>}[/code][/spoiler]</p><p></p><p>Super tank:</p><p>[spoiler][code]</p><p>function toggleSuperTank() {</p><p> if (!isDefined(self.supertank)) {</p><p> self.supertank = true;</p><p> level.vh_tank thread supertank(self);</p><p> } else {</p><p> self.supertank = undefined;</p><p> self notify("SUPERTANK");</p><p> }</p><p>}</p><p></p><p>function supertank( player )</p><p>{</p><p> self notify("SUPERTANK");</p><p> self endon("SUPERTANK");</p><p> level.vh_tank thread SUPARSPEED( self );</p><p> while(1)</p><p> {</p><p> level.vh_tank flag::wait_till( "tank_activated" );</p><p> level.vh_tank flag::wait_till( "tank_moving" );</p><p> level.vh_tank.b_no_cost = 1;</p><p> level.n_cooldown_timer = 2;</p><p> level.vh_tank SetVehMaxSpeed(2500);</p><p> level.vh_tank SetSpeed( 2500, 15 );</p><p> level.vh_tank.targetspeed = 2500;</p><p> level.vh_tank flag::wait_till("tank_cooldown");</p><p> level.vh_tank.n_cooldown_timer = 0;</p><p> level notify( "stp_cd" );</p><p> wait 2;</p><p> }</p><p>}</p><p></p><p>function SUPARSPEED( player )</p><p>{</p><p> self endon("SUPERTANK");</p><p> while( 1 )</p><p> {</p><p> level.vh_tank SetVehMaxSpeed(2500);</p><p> level.vh_tank SetSpeed( 2500, 15 );</p><p> level.vh_tank.targetspeed = 2500;</p><p> level.vh_tank.n_cooldown_timer = 0;</p><p> wait .1;</p><p> }</p><p>}</p><p>[/code][/spoiler]</p><p></p><p>Hide Robots</p><p>[spoiler][code]</p><p>function toggleRobots() {</p><p> if (isDefined(level.sneakyrobots) && level.sneakyrobots) {</p><p> level.sneakyrobots = false;</p><p> } else {</p><p> level.sneakyrobots = true;</p><p> foreach( robot in level.a_giant_robots )</p><p> robot thread hidetherobots();</p><p> }</p><p>}</p><p></p><p>function hidetherobots()</p><p>{</p><p> while(level.sneakyrobots)</p><p> {</p><p> if(self.is_walking)</p><p> {</p><p> self hide();</p><p> }</p><p> wait 5;</p><p> }</p><p> self show();</p><p>}[/code][/spoiler]</p><p></p><p>Bottomless SoulBoxes:</p><p>[spoiler][code]</p><p>function BottomlessSoulBox() {</p><p> if (!isDefined(self.BottomSB)) {</p><p> self.BottomSB = true;</p><p> foreach( box in getentarray( "foot_box", "script_noteworthy" ))</p><p> box.n_souls_absorbed = -9999;</p><p> } else {</p><p> self.BottomSB = undefined;</p><p> foreach( box in getentarray( "foot_box", "script_noteworthy" ))</p><p> box.n_souls_absorbed = 0;</p><p> }</p><p>}[/code][/spoiler]</p></blockquote><p></p>
[QUOTE="vampytwist, post: 23425, member: 31216"] Origin Mods: Complete Challenges: [spoiler] [code] function dochallenges() { self thread devgui_award_challenge(1); self thread devgui_award_challenge(2); self thread devgui_award_challenge(3); self thread devgui_award_challenge(4); } function devgui_award_challenge( n_index ) { if ( n_index == 4 ) { s_team_stats = level._challenges.s_team; s_team_stats.n_completed = 1; s_team_stats.n_medals_held = 1; a_keys = getarraykeys( level._challenges.s_team.a_stats ); s_stat = level._challenges.s_team.a_stats[ a_keys[ 0 ] ]; s_stat.b_medal_awarded = 1; s_stat.b_reward_claimed = 0; s_stat.a_b_player_rewarded[ self.characterindex ] = 0; CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 ); _a1061 = level.a_m_challenge_boards; _k1061 = getFirstArrayKey( _a1061 ); while ( isDefined( _k1061 ) ) { m_board = _a1061[ _k1061 ]; m_board ShowPart( s_stat.str_glow_tag ); _k1061 = getNextArrayKey( _a1061, _k1061 ); } } else { a_keys = getarraykeys( level._challenges.a_players[ 0 ].a_stats ); a_players = getPlayers(); _a1071 = a_players; _k1071 = GetFirstArrayKey( _a1071 ); s_player_data = level._challenges.a_players[ self.characterindex ]; s_player_data.n_completed++; s_player_data.n_medals_held++; s_stat = s_player_data.a_stats[ a_keys[ n_index - 1 ] ]; s_stat.b_medal_awarded = 1; s_stat.b_reward_claimed = 0; CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 ); _a1082 = level.a_m_challenge_boards; _k1082 = getFirstArrayKey( _a1082 ); while ( isDefined( _k1082 ) ) { m_board = _a1082[ _k1082 ]; m_board showpart( s_stat.str_glow_tag ); _k1082 = getNextArrayKey( _a1082, _k1082 ); } } } [/code][/spoiler] Remove mud: [spoiler][code] function removeMud(){ level.a_e_slow_areas = undefined; }[/code][/spoiler] Spawn Soldat: [spoiler][code] function spawnsoldat(){ level.mechz_left_to_spawn++; level notify( "spawn_mechz" ); } [/code][/spoiler] Infinite Gramophone: [spoiler][code] function toggleinfGramophone() { if (!isDefined(self.gramophone)) { self.gramophone = true; self InfiniteGramophone(); } else { self.gramophone = undefined; self notify("gramophone_sthap"); } } function InfiniteGramophone() { self endon("gramophone_sthap"); while(isDefined(self.gramophone)) { flag::clear( "gramophone_placed" ); CodeSetClientField(level, "piece_record_zm_player", 1 ); level notify("gramophone_vinyl_player_picked_up"); wait 1; } }[/code][/spoiler] Infinite Rewards [spoiler][code] function toggleinfreward() { if (!isDefined(self.rewardbox)) { self.rewardbox = true; self InfRewardBox(); } else { self.rewardbox = undefined; self notify("rewardbox_sthap"); } } function InfRewardBox() { self endon("rewardbox_sthap"); while(isDefined(self.rewardbox)) { foreach( player in level.players) { player thread devgui_award_challenge(1); player thread devgui_award_challenge(2); player thread devgui_award_challenge(3); player thread devgui_award_challenge(4); } wait 5; } } function devgui_award_challenge( n_index ) { if ( n_index == 4 ) { s_team_stats = level._challenges.s_team; s_team_stats.n_completed = 1; s_team_stats.n_medals_held = 1; a_keys = getarraykeys( level._challenges.s_team.a_stats ); s_stat = level._challenges.s_team.a_stats[ a_keys[ 0 ] ]; s_stat.b_medal_awarded = 1; s_stat.b_reward_claimed = 0; s_stat.a_b_player_rewarded[ self.characterindex ] = 0; CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 ); _a1061 = level.a_m_challenge_boards; _k1061 = getFirstArrayKey( _a1061 ); while ( isDefined( _k1061 ) ) { m_board = _a1061[ _k1061 ]; m_board ShowPart( s_stat.str_glow_tag ); _k1061 = getNextArrayKey( _a1061, _k1061 ); } } else { a_keys = getarraykeys( level._challenges.a_players[ 0 ].a_stats ); a_players = getPlayers(); _a1071 = a_players; _k1071 = GetFirstArrayKey( _a1071 ); s_player_data = level._challenges.a_players[ self.characterindex ]; s_player_data.n_completed++; s_player_data.n_medals_held++; s_stat = s_player_data.a_stats[ a_keys[ n_index - 1 ] ]; s_stat.b_medal_awarded = 1; s_stat.b_reward_claimed = 0; CodeSetClientField( self, s_stat.s_parent.cf_complete, 1 ); _a1082 = level.a_m_challenge_boards; _k1082 = getFirstArrayKey( _a1082 ); while ( isDefined( _k1082 ) ) { m_board = _a1082[ _k1082 ]; m_board showpart( s_stat.str_glow_tag ); _k1082 = getNextArrayKey( _a1082, _k1082 ); } } } [/code][/spoiler] All Players shovel [spoiler][code] function shovelall() { foreach(player in level.players) { player.dig_vars[ "has_shovel" ] = 1; player.dig_vars[ "has_upgraded_shovel" ] = 1; player.dig_vars[ "has_helmet" ] = 1; player.dig_vars[ "n_spots_dug" ] = 9999; player.dig_vars[ "n_losing_streak" ] = 999; } CodeSetClientField(level, "shovel_player1",2); CodeSetClientField(level, "shovel_player2",2); CodeSetClientField(level, "shovel_player3",2); CodeSetClientField(level, "shovel_player4",2); CodeSetClientField(level, "helmet_player1",1); CodeSetClientField(level, "helmet_player2",1); CodeSetClientField(level, "helmet_player3",1); CodeSetClientField(level, "helmet_player4",1); }[/code][/spoiler] Give self Shovel: [spoiler][code] function shovelme() { self.dig_vars[ "has_shovel" ] = 1; self.dig_vars[ "has_upgraded_shovel" ] = 1; self.dig_vars[ "has_helmet" ] = 1; self.dig_vars[ "n_spots_dug" ] = 9999; self.dig_vars[ "n_losing_streak" ] = 999; CodeSetClientField(level, "shovel_player1",2); CodeSetClientField(level, "helmet_player1",1); }[/code][/spoiler] Super tank: [spoiler][code] function toggleSuperTank() { if (!isDefined(self.supertank)) { self.supertank = true; level.vh_tank thread supertank(self); } else { self.supertank = undefined; self notify("SUPERTANK"); } } function supertank( player ) { self notify("SUPERTANK"); self endon("SUPERTANK"); level.vh_tank thread SUPARSPEED( self ); while(1) { level.vh_tank flag::wait_till( "tank_activated" ); level.vh_tank flag::wait_till( "tank_moving" ); level.vh_tank.b_no_cost = 1; level.n_cooldown_timer = 2; level.vh_tank SetVehMaxSpeed(2500); level.vh_tank SetSpeed( 2500, 15 ); level.vh_tank.targetspeed = 2500; level.vh_tank flag::wait_till("tank_cooldown"); level.vh_tank.n_cooldown_timer = 0; level notify( "stp_cd" ); wait 2; } } function SUPARSPEED( player ) { self endon("SUPERTANK"); while( 1 ) { level.vh_tank SetVehMaxSpeed(2500); level.vh_tank SetSpeed( 2500, 15 ); level.vh_tank.targetspeed = 2500; level.vh_tank.n_cooldown_timer = 0; wait .1; } } [/code][/spoiler] Hide Robots [spoiler][code] function toggleRobots() { if (isDefined(level.sneakyrobots) && level.sneakyrobots) { level.sneakyrobots = false; } else { level.sneakyrobots = true; foreach( robot in level.a_giant_robots ) robot thread hidetherobots(); } } function hidetherobots() { while(level.sneakyrobots) { if(self.is_walking) { self hide(); } wait 5; } self show(); }[/code][/spoiler] Bottomless SoulBoxes: [spoiler][code] function BottomlessSoulBox() { if (!isDefined(self.BottomSB)) { self.BottomSB = true; foreach( box in getentarray( "foot_box", "script_noteworthy" )) box.n_souls_absorbed = -9999; } else { self.BottomSB = undefined; foreach( box in getentarray( "foot_box", "script_noteworthy" )) box.n_souls_absorbed = 0; } }[/code][/spoiler] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Black Ops 3 GSC Managed Code List
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.
Accept
Learn more…
Top