Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • Donate
Collapse
Home Docs Stats Discord Donate
Download
Babbel2004

Babbel2004

@Babbel2004
Unfollow Follow
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
9
Following
14

Posts

Recent Best Controversial

  • Zombie blood to double points in origins
    Babbel2004 Babbel2004
    BO2 Modding Support & Discussion

    I've wanted to change the zombie blood to double points in Origins on my dedicated server. However I have no clue how. I've tried making this script with chatgpt but the script didnt work. Chatgpt says that the entity names might be off. Anyone know what the entity names of double_points zombie_perk and/or spawnBox are? Thanks in advance!

    The script:

    // main.gsc
    
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\zombies\_zm_utility;
    
    main()
    {
        if ( GetDvarInt( "scr_disablePlutoniumFixes" ) )
        {
            return;
        }
    
        // Existing code...
        
        level thread setup_perk_override();
    }
    
    setup_perk_override()
    {
        // Ensure this script runs only in solo mode
        if ( level.numPlayers == 1 )
        {
            level thread change_perk_in_spawn_box();
        }
    }
    
    change_perk_in_spawn_box()
    {
        // Wait for the map to be fully loaded
        wait 5;
    
        // Find the spawn box entity (adjust the entity name as needed)
        spawnBox = getEnt("spawn_box", "targetname");
    
        // Check if the spawn box is found
        if (isDefined(spawnBox))
        {
            // Change the perk to Double Points
            spawnBox.zombie_perk = "double_points";
        }
    }
    
  • 1 / 1
  • Login

  • Don't have an account? Register

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