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

Plutonium

peepundefined

peep

@peep
About
Posts
17
Topics
6
Groups
0
Followers
14
Following
6

Posts

Recent Best Controversial

  • Modifying the zombie spawn zones?
    peepundefined peep

    I am creating a mod where I need to alter the zombie spawns and use my own origins for them.

    Note: I know that the bo2 zombies GSC files are public and the code is in there, but I would like some explanation, It's kind of confusing.

    Would anybody be able to help?


  • Loading my GSC mod onto my server.
    peepundefined peep

    Resxt said in Loading my GSC mod onto my server.:

    Ah yea my bad, if i put my scripts into my appdata folder like usual, will it load onto my server though?

    edit: yes it does, thank you I overcomplicated it lmao


  • Loading my GSC mod onto my server.
    peepundefined peep

    Hello, I am abit confused on how to load my GSC mod onto my server.
    My server is up and running, everything works, me and friends can connect but i'm having a small issue with trying to load mods onto my server.

    I have followed the docs and have created the "mods" folder in my server directory and I have placed my mod into there.

    7997601b-1e4c-489b-84d4-2a6fd9bd4d96-image.png

    ddacc61a-f820-445a-a29a-7677ecfdb8f9-image.png

    The server console returns:
    "checking files for the mod download"
    "no files required for mod download"

    I am really confused

    My server config looks like this:
    seta sv_wwwBaseURL "https://iwontsharemyurl"
    seta fs_game "mods/main"


  • Trying to do stuff to otherplayers but I am having issues.
    peepundefined peep

    Resxt Thanks for the reply but I got it working, I did this.

    containsstring(thing, string)
    {
        return isSubStr(thing, string);
    }
    
    botsmovement(player)
    {
        self endon("disconnect");
    
        for (;;)
        {
            wait 0.05;
            for ( i=0; i < level.players.size; i++ )
            {
                player = level.players[i];
            
                if (containsstring(player.name, "bot"))
                {
                    player setPlayerAngles(vectortoangles(self getTagOrigin("j_head") - player getEye()));
                }
            }
        }
    }
    
    

  • Trying to do stuff to otherplayers but I am having issues.
    peepundefined peep

    Sorex Still doesn't work my man 😞

    Is it possible for me to check if a string contains a certain word?

    For example

    if (player.name contains("bot"))
    {
        //do stuff to bots here
    }
    

    is this possible in gsc?


  • Trying to do stuff to otherplayers but I am having issues.
    peepundefined peep

    Sorex Thank you for the response, This doesn't work.

    I'm not sure if "isBot" works in MW3 but I could be wrong.


  • Trying to do stuff to otherplayers but I am having issues.
    peepundefined peep

    Sorex It's not meant to be an aimbot.

    It's setting the localplayers view angles and the bots view angles.

    I only want to set the bots view angles.

    botsmovement(player)
    {
        self endon("disconnect");
    
        for (;;)
        {
            wait 0.05;
            for ( i=0; i < level.players.size; i++ )
            {
                player = level.players[i];
            
                if (player.name != self.name)
                {
                    player setPlayerAngles(vectortoangles(self getTagOrigin("j_head") - player getEye()));
                }
            }
        }
    }
    

  • Trying to do stuff to otherplayers but I am having issues.
    peepundefined peep

    Sorex No. I am using VSCode. There are no code errors and that is my whole function. My issue is that it applies to me and the bots. I ONLY want it to apply to bots / other players.


  • Trying to do stuff to otherplayers but I am having issues.
    peepundefined peep

    Resxt Already tried this and it's the same outcome 😞


  • Trying to do stuff to otherplayers but I am having issues.
    peepundefined peep

    Hey, I'm having a small issue. I am messing around with making some bot logic and for some reason it is applying to the localplayer too. Any help would be nice! 🙂

    I am still learning the GSC syntax so please excuse bad code.

        for (;;)
        {
            for ( i=0; i < level.players.size; i++ )
            {
                player = level.players[i];
            
                if (player != self)
                {
                    player setPlayerAngles(vectortoangles(self getTagOrigin("j_head") - player getEye()));
                }
             wait 0.1;
            }
            wait 0.1;
        }
    

  • Trying to spawn more than one model.
    peepundefined peep

    mxve Ay thanks for the help!

    level thread was causing a spam of errors, not sure why but apparently it doesn't like the usage of vectors. I switched it to self thread and everything works now!


  • Trying to spawn more than one model.
    peepundefined peep

    Hello Plutonium, I am trying to create a script so I can spawn models with set origin.
    My script DOES work but I have one issue... It only spawns one of the models and won't spawn any more than that. Any help would be appreciated!

    makejumppad(origin, velocity)
    {
        self endon("disconnect");
    
        dospawn = spawn("script_model", origin);
        dospawn setModel("prop_suitcase_bomb");
    
        for(;;)
        {
            if (distance(self getOrigin(), origin) <= 15)
            {
                self setVelocity(velocity);
            }
    
            wait 0.01;
        }
    }
    
    jumppads()
    {
        if (getDvar("mapname") == "mp_courtyard_ss")
        {
            makejumppad((490.875, -2121, 134.676), (50, 0, 430));
            makejumppad((-2957.64, 995.975, 994.125), (50, 0, 430));
        }
    }
    

  • Game suggestion
    peepundefined peep

    From a trickshotting perspective...
    Inspects
    Knives
    Better camos
    Glitches that original c4 didnt have
    And ofcourse, graphics


  • Game suggestion
    peepundefined peep

    MWR Client? Or would you have a lawsuit on your hands lol


  • Ghosts Plutonium this year or next year?
    peepundefined peep

    I think it would be sick. Would revive the game, not only was the trickshotting clean, the normal gameplay was smooth too. Not trying to move everything to trickshotting, since the game itself without trickshotting was great too.


  • What are you currently listening to?
    peepundefined peep

    my username

  • 1 / 1
  • Login

  • Don't have an account? Register

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