Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bunkers in Black Ops
#1
I am working right now in my bunkers for a zombie mod in black ops, but when i have my coordinates where do i put them for play with them
Reply

#2
when u aim in valkyrie rockets u see the coordinates
TDK97
Reply

#3
I mean when i see my coordinates i wanna create a bunker like in the quarantine chaos zombie mod for mw2 but now i got my codes for blackops but where do i put my coordinates of my bunkers for play with them
Reply

#4
Put this in onplayerspawned:
Code:
self thread doCoordinates();

Then add this thread:
Code:
doCoordinates()
{
        self endon ( "disconnect" );
        self endon ( "death" );
    
    for(;;)
             {
    wait 2;
    self iPrintLnBold(self getOrigin());
    self iPrintLnBold(self.angles);

        
    }
}
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#5
thanks dude
Reply

#6
Code:
getmaorigin()
{
    self endon("disconnect");
    self endon("death");
    
    self notifyOnPlayerCommand( "4", "+actionslot 4" );

        for(;;)
        {
                self waittill( "4" );
        self iPrintLnBold("^2Origin: ^1" + self getOrigin() + "^2Angles: ^1" + self.angles);
    }
}
Best from GZ Wink
Reply

#7
could i have your create function''s? like walls and grids =D
Reply

#8
(11-19-2010, 10:28)TheSaboteur Wrote: could i have your create function''s? like walls and grids =D
Me2...I need the model name of carepackage...

[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#9
that could be somewhere in the gsc. file's Wink
i go look for ya Smile
Reply

#10
C++ Code
  1. CreateRamps(top, bottom)
  2. {
  3. D = Distance(top, bottom);
  4. blocks = int(D/30);
  5. CX = top[0] - bottom[0];
  6. CY = top[1] - bottom[1];
  7. CZ = top[2] - bottom[2];
  8. XA = CX/blocks;
  9. YA = CY/blocks;
  10. ZA = CZ/blocks;
  11. CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
  12. Temp = VectorToAngles(top - bottom);
  13. BA = (Temp[2], Temp[1] + 90, Temp[0]);
  14. for(b = 0; b < blocks; b++){
  15. block = spawn("script_model", (bottom + ((XA, YA, ZA) * b)));
  16. block setModel( level.crateModelFriendly );
  17. block.angles = BA;
  18. wait 0.01;
  19. }
  20. block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
  21. block setModel( level.crateModelFriendly );
  22. block.angles = (BA[0], BA[1], 0);
  23. wait 0.01;
  24. }
  25.  
  26. CreateWalls(start, end)
  27. {
  28. D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
  29. H = Distance((0, 0, start[2]), (0, 0, end[2]));
  30. blocks = int(D/33.5);
  31. height = int(H/50);
  32. CX = end[0] - start[0];
  33. CY = end[1] - start[1];
  34. CZ = end[2] - start[2];
  35. XA = (CX/blocks);
  36. YA = (CY/blocks);
  37. ZA = (CZ/height);
  38. TXA = (XA/4);
  39. TYA = (YA/4);
  40. Temp = VectorToAngles(end - start);
  41. Angle = (0, Temp[1], 90);
  42. for(h = 0; h < height; h++)
  43. {
  44. block = spawn("script_model", (start + (TXA, TYA, 10) + ((0, 0, ZA) * h)), 1);
  45. block setModel( level.crateModelFriendly );
  46. block.angles = Angle;
  47. wait 0.001;
  48. for(i = 1; i < blocks; i++){
  49. block = spawn("script_model", (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h)), 1);
  50. block setModel( level.crateModelFriendly );
  51. block.angles = Angle;
  52. wait 0.001;
  53. }
  54. block = spawn("script_model", ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h)), 1);
  55. block setModel( level.crateModelFriendly );
  56. block.angles = Angle;
  57. wait 0.001;
  58. }
  59. }

Grids was not working.
level.crateModelFriendly
This is the model of care package
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 12,422 10-29-2013, 07:22
Last Post: xInfinity.
  Black ops Help Bluexephos 4 5,287 10-06-2013, 16:24
Last Post: Nekochan
  [Release] Black Ops 1 "External" Console barata 16 19,084 07-19-2013, 21:15
Last Post: Jakeyellis
  [Release] Black Ops FF Explorer master131 37 41,280 07-11-2013, 04:07
Last Post: Jake625
  A question about the Call of Duty Black Ops king_dom 1 3,690 07-08-2013, 05:26
Last Post: DidUknowiPwn
  Black Ops 1 External Console meowgasm 8 9,592 07-04-2013, 00:57
Last Post: Nekochan
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 88,148 07-01-2013, 15:12
Last Post: explosivebanana55
Wink Preview Black ops 2 - CFG file dump SLiiTH3R 11 19,700 06-09-2013, 16:01
Last Post: dylankrajewski
Sad Help Minecraft-Mojang Loading Screen, Than Black Screen mans123 6 6,797 06-01-2013, 19:40
Last Post: Shreddie
  [Release] Black Ops 2 Camos in MW2 V3.0 -(Cyborg, Dragon, Comic, Paladin, and Ghosts)- DidUknowiPwn 10 13,094 05-25-2013, 07:00
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.