Results 1 to 8 of 8
  1. #1
    bente's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Munich :)
    Posts
    149
    Reputation
    15
    Thanks
    3
    My Mood
    Happy

    MY doors do not work :(

    Hello all from MPGH.net
    I'm a noob at modding but i was trying to make my own bunker for Zombie mod 4,5
    But everytime i try to put my door in ''CreateDoors((-1612.42, 1180.1, 120.125),(-1624.21, 1047.13, 116.125),(90, 0, 0),3,2,100,75);'' (without '' ofc)
    It says ''No free D0bjs'' but my bunker works fine when i remove the door code from the mapedit file so what can i do to make it work ? a zombie bunker without door is not really fun

    Philip

  2. #2
    Mw2HaxPC's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Behind you.......... Posts: 9,001
    Posts
    196
    Reputation
    10
    Thanks
    316
    My Mood
    Cool
    Put your codes in the code bar.
    Code:
    Example
    Click the one with the #
    Computer Specs: Processor : AMD Phenom II X4 975 @ 4.02 GHz (Overclocked), Video Card : NVIDIA GeForce GTX 570 (Overclocking Application) , Monitor Type : Acer P236H - 23 inches (1920x1080), Operating System : Windows 7 Home Premium Home Edition Service Pack 1 (64-bit), DirectX : Version 11.00, Windows Performance Index : 5.9 on 7.9 lol.







    U Mad Bro?










  3. #3
    bente's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Munich :)
    Posts
    149
    Reputation
    15
    Thanks
    3
    My Mood
    Happy
    Like this ?

    Code:
    CreateDoors((-1612.42, 1180.1, 120.125),(-1624.21, 1047.13, 116.125),(90, 0, 0),3,2,100,75);
    Last edited by bente; 04-17-2011 at 10:32 AM.

  4. The Following User Says Thank You to bente For This Useful Post:

    Mw2HaxPC (04-17-2011)

  5. #4
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    155
    No free Dojbs means that there's to many models spawned in the map.
    (Mostly)

  6. #5
    MuLtiHuNTeR's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    49
    Reputation
    10
    Thanks
    1
    My Mood
    Inspired
    Have you tryed:
    Code:
    CreateDoors((-1612.42, 1180.1, 120.125),(-1624.21, 1047.13, 116.125), 90, 0, 0, 3,2,100,75);
    The MapEdit.gsc for versions 4+ is different coz have the mine/c4 code and the door angles are changed a bit.

  7. #6
    bente's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Munich :)
    Posts
    149
    Reputation
    15
    Thanks
    3
    My Mood
    Happy
    MULTIHUNTER

    Ur Awesome ! IT WORKS !!! TY !

    Btw
    Anyone Whats wrong with my sentry code ?
    Code:
    CreateTurret(''minigun'',0,(-1578.44, 1175.03, 515.692));
    Last edited by bente; 04-17-2011 at 11:45 AM.

  8. #7
    Mw2HaxPC's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Behind you.......... Posts: 9,001
    Posts
    196
    Reputation
    10
    Thanks
    316
    My Mood
    Cool
    Quote Originally Posted by bente View Post
    MULTIHUNTER

    Ur Awesome ! IT WORKS !!! TY !

    Btw
    Anyone Whats wrong with my sentry code ?
    Code:
    CreateTurret(''minigun'',0,(-1578.44, 1175.03, 515.692));
    Why is there a
    Code:
    (''minigun'',0,
    ? And idk if you need the angle because I don't see the angle code...

    Code:
    CreateTurret((-1578.44, 1175.03, 515.692));
    ?

    Make sure you have:
    Code:
    CreateTurret(location, angle)
    {
    	if(!isDefined(angle))
    		angle = 0;
    
    	turret = spawnTurret( "misc_turret", location, "pavelow_minigun_mp" );
    	turret setModel( "weapon_minigun" );
    	turret.angles = angle;
    }
    Way Off topic: Nice Specs.....xD
    Last edited by Mw2HaxPC; 04-17-2011 at 01:21 PM.
    Computer Specs: Processor : AMD Phenom II X4 975 @ 4.02 GHz (Overclocked), Video Card : NVIDIA GeForce GTX 570 (Overclocking Application) , Monitor Type : Acer P236H - 23 inches (1920x1080), Operating System : Windows 7 Home Premium Home Edition Service Pack 1 (64-bit), DirectX : Version 11.00, Windows Performance Index : 5.9 on 7.9 lol.







    U Mad Bro?










  9. #8
    bente's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Munich :)
    Posts
    149
    Reputation
    15
    Thanks
    3
    My Mood
    Happy
    It does still not work
    I'm using this code now
    Code:
    	turret = spawnTurret( "misc_turret", (-1572.03, 1365.86, 428.51), "pavelow_minigun_mp" );
    	turret setModel( "weapon_minigun" );
    	turret.angles = angle(0, 0, 0);
    Quote Originally Posted by Mw2HaxPC View Post
    Way Off topic: Nice Specs.....xD
    Ty ;D

Tags for this Thread