Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. I can't get the ballista from the locker

I can't get the ballista from the locker

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
4 Posts 2 Posters 101 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Harukkundefined Offline
    Harukkundefined Offline
    Harukk
    wrote on last edited by
    #1

    Here is the script I am using ( I wanted to get the upgraded ballista but I go to the locker and it makes a noise and there's nothing in the locker ) :

    //Decompiled with SeriousHD-'s GSC Decompiler
    #include common_scripts/utility;
    #include maps/mp/_demo;
    #include maps/mp/_utility;
    #include maps/mp/_visionset_mgr;
    #include maps/mp/gametypes_zm/_hud_util;
    #include maps/mp/gametypes_zm/_weapons;
    #include maps/mp/gametypes_zm/_zm_gametype;
    #include maps/mp/zombies/_zm;
    #include maps/mp/zombies/_zm_ai_basic;
    #include maps/mp/zombies/_zm_ai_dogs;
    #include maps/mp/zombies/_zm_audio;
    #include maps/mp/zombies/_zm_audio_announcer;
    #include maps/mp/zombies/_zm_blockers;
    #include maps/mp/zombies/_zm_bot;
    #include maps/mp/zombies/_zm_buildables;
    #include maps/mp/zombies/_zm_clone;
    #include maps/mp/zombies/_zm_devgui;
    #include maps/mp/zombies/_zm_equipment;
    #include maps/mp/zombies/_zm_ffotd;
    #include maps/mp/zombies/_zm_game_module;
    #include maps/mp/zombies/_zm_gump;
    #include maps/mp/zombies/_zm_laststand;
    #include maps/mp/zombies/_zm_magicbox;
    #include maps/mp/zombies/_zm_melee_weapon;
    #include maps/mp/zombies/_zm_perks;
    #include maps/mp/zombies/_zm_pers_upgrades;
    #include maps/mp/zombies/_zm_pers_upgrades_system;
    #include maps/mp/zombies/_zm_pers_upgrades_functions;
    #include maps/mp/zombies/_zm_playerhealth;
    #include maps/mp/zombies/_zm_powerups;
    #include maps/mp/zombies/_zm_power;
    #include maps/mp/zombies/_zm_score;
    #include maps/mp/zombies/_zm_sidequests;
    #include maps/mp/zombies/_zm_spawner;
    #include maps/mp/zombies/_zm_stats;
    #include maps/mp/zombies/_zm_timer;
    #include maps/mp/zombies/_zm_tombstone;
    #include maps/mp/zombies/_zm_traps;
    #include maps/mp/zombies/_zm_unitrigger;
    #include maps/mp/zombies/_zm_utility;
    #include maps/mp/zombies/_zm_weapons;
    #include maps/mp/zombies/_zm_zonemgr;
    init()
    {
    	setdvar( "player_backSpeedScale", 1 );
    	setdvar( "player_strafeSpeedScale", 1 );
    	setdvar( "player_sprintStrafeSpeedScale", 1 );
    	level thread zombie_health();
    	level thread onplayerconnect();
    
    }
    
    zombie_health()
    {
    	for(;;)
    	{
    	level waittill( "start_of_round" );
    	if( level.zombie_health > ai_zombie_health( 155 ) )
    	{
    		level.zombie_health = ai_zombie_health( 155 );
    	}
    	}
    
    }
    
    onplayerconnect()
    {
    	for(;;)
    	{
    	level waittill( "connected", player );
    	player thread onplayerspawned();
    	}
    
    }
    
    onplayerspawned()
    {
    	self endon( "disconnect" );
    	self.zm_fix = 1;
    	for(;;)
    	{
    	self waittill( "spawned_player" );
    	if( self.zm_fix == 1 )
    	{
    		self.zm_fix = 0;
    		self thread stats();
    	}
    	}
    
    }
    
    stats()
    {
    	flag_wait( "initial_blackscreen_passed" );
    	self.account_value = 250;
    	self setdstat( "PlayerStatsByMap", "zm_transit", "weaponLocker", "name", "knife_ballistic_upgraded_zm" );
    	self setdstat( "PlayerStatsByMap", "zm_transit", "weaponLocker", "clip", 1023 );
    	self setdstat( "PlayerStatsByMap", "zm_transit", "weaponLocker", "stock", 1023 );
    	self setdstat( "PlayerStatsByMap", "zm_transit", "weaponLocker", "lh_clip", 1023 );
    	self setdstat( "PlayerStatsByMap", "zm_transit", "weaponLocker", "alt_clip", 1023 );
    	self setdstat( "PlayerStatsByMap", "zm_transit", "weaponLocker", "alt_stock", 1023 );
    	self set_client_stat( "pers_boarding", 74 );
    	self set_client_stat( "pers_revivenoperk", 17 );
    	self set_client_stat( "pers_multikill_headshots", 5 );
    	self set_client_stat( "pers_cash_back_bought", 50 );
    	self set_client_stat( "pers_cash_back_prone", 15 );
    	self set_client_stat( "pers_insta_kill", 2 );
    	self set_client_stat( "pers_jugg", 3 );
    	self set_client_stat( "pers_flopper_counter", 1 );
    	self set_client_stat( "pers_pistol_points_counter", 1 );
    	self set_client_stat( "pers_double_points_counter", 1 );
    	self set_client_stat( "pers_perk_lose_counter", 3 );
    	self set_client_stat( "pers_sniper_counter", 1 );
    	self set_client_stat( "pers_box_weapon_counter", 5 );
    	self set_client_stat( "pers_nube_counter", 1 );
    
    }
    
    Hadi77KSAundefined 1 Reply Last reply
    0
    • Hadi77KSAundefined Offline
      Hadi77KSAundefined Offline
      Hadi77KSA Contributor
      replied to Harukk on last edited by Hadi77KSA
      #2

      First of all, the Ballista is only available on Origins unless you import it.
      Second of all:
      "knife_ballistic_upgraded_zm"
      that’s not the Ballista, that’s the upgraded Ballistic Knife. The Ballistic Knife is a limited weapon, i.e. it can only be obtained by a specific number of players. Limited weapons cannot be stored nor retrieved from the weapon locker.

      1 Reply Last reply
      0
      • Harukkundefined Offline
        Harukkundefined Offline
        Harukk
        wrote on last edited by
        #3

        Hadi77KSA I want the ballista knife from Buried, do you know it?

        Hadi77KSAundefined 1 Reply Last reply
        0
        • Hadi77KSAundefined Offline
          Hadi77KSAundefined Offline
          Hadi77KSA Contributor
          replied to Harukk on last edited by
          #4

          Harukk use a different method for obtaining the Ballistic Knife then. You can use a box patch for example: https://github.com/B2ORG/T6-B2OP-PATCH#overriding-box-weapon

          1 Reply Last reply
          0

          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Donate