Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Diehard cheatss's Avatar
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766
         User Info     Contact     Gamer ID
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766

    Default player controlled sam turret in fxlegacy v2.10

    download here

    script
    Code:
    spawnSam()
    {
            size = level.minigunList.size;
            angles = (0, self.angles[1], 0);
            level.minigunList[size] = createMinigun(self.origin, angles);
            self thread createSamTurret(level.minigunList[size].location, level.miniGunList[size].angle);
            self.createdMiniguns[self.createdMiniguns.size] = size;
    }
    
    createSamTurret(pos, rotation)
    {
    	miniGun = spawnTurret( "auto_turret", pos, "tow_turret_mp" ); 
    	miniGun setModel(level.auto_turret_settings["tow"].modelBase);
    	miniGun SetTurretType("tow");
    	miniGun.angles = rotation;
    	level.minigunEnt[level.minigunEnt.size] = miniGun;
    }
    PS: the player controlled sentry gun is in the mod menu too

    have fun :thumbs:

    0 Not allowed! Not allowed!

    ^^ awesome signature made by Demo ^^

  2. #2
    Breaking
    Point
    UFO_porno's Avatar
    Join Date
    Apr 2011
    Posts
    181
    Points
    386
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Posts
    181
    Points
    386

    Default

    Great job man. Do u know how to make codes with gecko or net yet??
    so far, good progress!

    0 Not allowed! Not allowed!

  3. #3
    MonsterCat
    Insan3Lik3
    CheeseToast's Avatar
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169

    Contact info:

    Youtube Channel: http://www.youtube.com/CheeseToastHax

    Default

    thanks! (btw can u only shoot aircraft?)

    0 Not allowed! Not allowed!

  4. #4
    Diehard cheatss's Avatar
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766
         User Info     Contact     Gamer ID
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766

    Default

    Quote Originally Posted by Poochiepow View Post
    Great job man. Do u know how to make codes with gecko or net yet??
    so far, good progress!
    i didn't tried to make a code yet

    Quote Originally Posted by CheeseToast View Post
    thanks! (btw can u only shoot aircraft?)
    i didn't test it but you can kill yourself so i think you can kill other players

    0 Not allowed! Not allowed!

    ^^ awesome signature made by Demo ^^

  5. #5
    Diehard
    Join Date
    May 2011
    Location
    Hell on Earth
    Posts
    583
    Points
    955
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Hell on Earth
    Posts
    583
    Points
    955

    Default

    nice add cheatss XD

    0 Not allowed! Not allowed!

  6. #6
    Nooblet
    Join Date
    May 2011
    Posts
    25
    Points
    41
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    25
    Points
    41

    Default

    Sorry, but I couldn't find
    "'custom_gametypes/logic.gsc"

    Any suggestions?

    0 Not allowed! Not allowed!

  7. #7
    Diehard cheatss's Avatar
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766
         User Info     Contact     Gamer ID
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766

    Default

    Quote Originally Posted by KidCanada View Post
    Sorry, but I couldn't find
    "'custom_gametypes/logic.gsc"

    Any suggestions?
    check _globallogic.gsc

    0 Not allowed! Not allowed!

    ^^ awesome signature made by Demo ^^

  8. #8
    Nooblet
    Join Date
    May 2011
    Posts
    25
    Points
    41
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    25
    Points
    41

    Default

    Quote Originally Posted by cheatss View Post
    check _globallogic.gsc
    Thanks!

    and just for clarification, I don't have to add in
    Code:
    spawnSam()
    {
            size = level.minigunList.size;
            angles = (0, self.angles[1], 0);
            level.minigunList[size] = createMinigun(self.origin, angles);
            self thread createSamTurret(level.minigunList[size].location, level.miniGunList[size].angle);
            self.createdMiniguns[self.createdMiniguns.size] = size;
    }
    
    createSamTurret(pos, rotation)
    {
    	miniGun = spawnTurret( "auto_turret", pos, "tow_turret_mp" ); 
    	miniGun setModel(level.auto_turret_settings["tow"].modelBase);
    	miniGun SetTurretType("tow");
    	miniGun.angles = rotation;
    	level.minigunEnt[level.minigunEnt.size] = miniGun;
    }
    anywhere right?

    0 Not allowed! Not allowed!
    Last edited by KidCanada; 05-23-2011 at 07:17 AM.

  9. #9
    Diehard cheatss's Avatar
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766
         User Info     Contact     Gamer ID
    Join Date
    Mar 2011
    Location
    Belgium
    Posts
    774
    Points
    1,766

    Default

    the script is only for ppl that wants to put it in their own mod menu

    0 Not allowed! Not allowed!

    ^^ awesome signature made by Demo ^^

  10. #10
    Nooblet
    Join Date
    May 2011
    Posts
    25
    Points
    41
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    25
    Points
    41

    Default

    Quote Originally Posted by cheatss View Post
    the script is only for ppl that wants to put it in their own mod menu
    OK thanks i'm trying it now

    ---------- Post added at 02:29 PM ---------- Previous post was at 12:04 PM ----------

    I tried it, and it worked in Combat training, but when I try to do a public match, after the map's loading screen it just goes black and I can't play.

    What did I do wrong?

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 01:43 AM.
Powered by vBulletin®
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.