Wheres the MOHPA scripting and mod threads???

Started by JONAS, December 12, 2004, 03:14:00 PM

Previous topic - Next topic

JONAS

Here is the first script to get you started!

   the script below is a spawn script for working static weapons on the wake-island map for MOHPA multiplayer.

   for the complete working mod send an email to

   

   

   

   You can use it as a guide to add artillery, vehicles, or structures to existing maps...

   

   

   ////////////////////////////////////////////////////

   ///

   ///   BY JONAS A.K.A. {nazi}$jonas$

   ///

   ////////////////////////////////////////////////////

   

   //weapons

   

   //----------------------------jpn model 70

   

           /// TURRENT WEPONS MUST BE ENTERED LIKE THIS OR

           /// THEIR NOT USABLE.

   

           local.fix1 = spawn models/statweapons/JPN70mm_turret.hag

           local.fix1.origin = ( -3100.37 4833.49 179.28 )

           local.fix1.angles = ( 9.82 11.60 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 11.60

           local.fix1 solid

   

   /// BASES DONT NEED THE ANGLE FIX, AS BELOW

   

           local.fix1 = spawn models/statweapons/JPN70mm_base.hag

           local.fix1.origin = ( -3100.37 4833.49 149.28 )

           local.fix1.angles = ( 9.82 11.60 0.00 )

           local.fix1.scale = 1.0

   

         

           local.fix1 = spawn models/statweapons/JPN70mm_turret.hag

           local.fix1.origin = ( -1995.80 6532.94 265.78 )

           local.fix1.angles = ( 4.25 10.53 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 10.53

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/JPN70mm_base.hag

           local.fix1.origin = ( -1995.80 6532.94 235.78 )

           local.fix1.angles = ( 4.25 10.53 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/JPN70mm_turret.hag

           local.fix1.origin = ( -301.23 -6071.55 233.64 )

           local.fix1.angles = ( 0.62 179.26 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 179.26

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/JPN70mm_base.hag

           local.fix1.origin = ( -301.23 -6071.55 203.64 )

           local.fix1.angles = ( 0.62 179.26 0.00 )

           local.fix1.scale = 1.0

   

   

           

   

   

   // ---------------------------flak aa

   

   

           local.fix1 = spawn models/statweapons/USQuadAA_turret.hag

           local.fix1.origin = ( -3103.40 3380.08 210.78 )

           local.fix1.angles = ( 1.68 37.17 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 37.17

           local.fix1 solid

           

   

           local.fix1 = spawn models/statweapons/USQuadAA_turret.hag

           local.fix1.origin = ( 7117.70 -3815.44 362.24 )

           local.fix1.angles = ( 2.57 68.50 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 68.50

           local.fix1 solid        

   

           local.fix1 = spawn models/statweapons/USQuadAA_turret.hag

           local.fix1.origin = ( -2733.13 -6606.63 220.45 )

           local.fix1.angles = ( -0.26 154.62 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 154.62

           local.fix1 solid

   

   //----------------------single flak

   

           local.fix1 = spawn models/statweapons/USBofor_turret.hag

           local.fix1.origin = ( 8703.06 -6943.90 221.04 )

           local.fix1.angles = ( 0.00 133.77 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 133.77

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/USBofor_base.hag

           local.fix1.origin = ( 8703.06 -6943.90 191.04 )

           local.fix1.angles = ( 0.00 133.77 0.00 )

           local.fix1.scale = 1.0

   

           local.fix1 = spawn models/statweapons/USBofor_turret.hag

           local.fix1.origin = ( 5967.37 -7017.52 250.97 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 120.05

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/USBofor_base.hag

           local.fix1.origin = ( 5967.37 -7017.52 220.97 )

           local.fix1.angles = ( 16.00 120.05 0.00 )

           local.fix1.scale = 1.0

   

   

   

   //-----------------------50 cal

   

           local.fix1 = spawn models/statweapons/mp_US50Cal_turret.hag

           local.fix1.origin = ( 1458.72 8363.53 231.77 )

           local.fix1.angles = ( 0.44 -163.43 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter -163.43

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/mp_US50Cal_turret.hag

           local.fix1.origin = ( 4264.54 -5660.72 1124.85 )

           local.fix1.angles = ( 19.20 43.10 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 43.10

           local.fix1 solid

   

           

           local.fix1 = spawn models/statweapons/mp_US50Cal_turret.hag

           local.fix1.origin = ( 3938.05 -5332.33 1124.85 )

           local.fix1.angles = ( 17.97 48.86 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 48.86

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/mp_US50Cal_turret.hag

           local.fix1.origin = ( -7083.65 -3667.58 172.03 )

           local.fix1.angles = ( -0.53 -33.19 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter -33.19

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/mp_US50Cal_turret.hag

           local.fix1.origin = ( -712.73 -5165.69 140.77 )

           local.fix1.angles = ( 0.44 170.09 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 170.09

           local.fix1 solid

   

           local.fix1 = spawn models/statweapons/mp_US50Cal_base_stand.hag

           local.fix1.origin = ( -712.73 -5165.69 86.77 )

           local.fix1.angles = ( 0.00 170.09 0.00 )

           local.fix1.scale = 1.0

   

   

   

   //--------------us cannons

   

           local.fix1 = spawn models/statweapons/model98_turret.hag

           local.fix1.origin = ( 1496.75 5661.73 277.59 )

           local.fix1.angles = ( 2.04 172.85 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 172.85

           local.fix1 solid

           

           local.fix1 = spawn models/statweapons/model98_base.hag

           local.fix1.origin = ( 1496.75 5661.73 247.59 )

           local.fix1.angles = ( 0.04 172.85 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/USPackM1A1_turret.hag

           local.fix1.origin = ( 2098.35 6326.49 278.79 )

           local.fix1.angles = ( 2.04 174.30 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 174.30

           local.fix1 solid

           

           local.fix1 = spawn models/statweapons/USPackM1A1_base.hag

           local.fix1.origin = ( 2098.35 6326.49 248.79 )

           local.fix1.angles = ( -1.04 174.30 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/USPackM1A1_base.hag

           local.fix1.origin = ( 1957.59 6170.48 224.96 )

           local.fix1.angles = ( -18.04 173.91 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/USPackM1A1_turret.hag

           local.fix1.origin = ( 1957.59 6170.48 254.96 )

           local.fix1.angles = ( 2.04 173.91 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter 173.91

           local.fix1 solid

   

   

           local.fix1 = spawn models/statweapons/model98_turret.hag

           local.fix1.origin = ( -5704.79 -4848.67 214.20 )

           local.fix1.angles = ( 2.04 -1.34 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter -1.34

           local.fix1 solid

           

           local.fix1 = spawn models/statweapons/model98_base.hag

           local.fix1.origin = ( -5704.79 -4848.67 184.20 )

           local.fix1.angles = ( 0.04 -1.34 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/USPackM1A1_turret.hag

           local.fix1.origin = ( -7854.75 -3501.64 192.55 )

           local.fix1.angles = ( 2.04 -33.68 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter -33.68

           local.fix1 solid

           

           local.fix1 = spawn models/statweapons/USPackM1A1_base.hag

           local.fix1.origin = ( -7854.75 -3501.64 162.55 )

           local.fix1.angles = ( -1.04 -33.68 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/USPackM1A1_base.hag

           local.fix1.origin = ( -7976.04 -4557.84 95.84 )

           local.fix1.angles = ( 2.04 -44.03 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/USPackM1A1_turret.hag

           local.fix1.origin = ( -7976.04 -4557.84 125.84 )

           local.fix1.angles = ( 2.04 -44.03 0.00 )

           local.fix1.angle = 0

           local.fix1 yawCenter -44.03

   

   ///-----------------not placed yet

   

           

         

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 5150.68 5084.76 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0

   

           

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 4550.68 5084.76 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 4250.68 5084.76 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0

   

           

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 6750.46 4692.08 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0

   

   

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 6150.46 4692.08 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0

   

     

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 5550.46 4692.08 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0

   

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 5250.46 4692.08 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0  

   

           local.fix1 = spawn models/statweapons/usboys55_carryable.hag

           local.fix1.origin = ( 4950.46 4692.08 96.40 )

           local.fix1.angles = ( 0.00 0.00 0.00 )

           local.fix1.scale = 1.0

   

   

   

   

   //////////////////////////////////////////////////

   // end of test pattern

   //

   /////////////////////////////////////////////////////////////////////////

   

Guest

EA have included tut's and guides for most things in the MDK, taking the real fun out of modding.

   

   I thought the whole point of having fun modding was creating something not covered in the game and working it out by yourself, but now it seems EA have took that fun away, turning peeps in to copy & pasters.

   

   Not my kinda of fun anyway, i think i'll give it a miss until everyones done what they can, then i'll go in it and code/mod it to death with things EA have not covered or didnt do, This game could of been so awsome but that rush job knackered it up in my opinion.

   

   Such ashame when a large community had high hopes for this game. :(


Guest

Sounds very nice jonas, keep up the good work and i hope all turns out well. :)

   

   You need any radiant help etc, give us a shout...

JONAS

EDIT: Sorry jonas, i killed ya post by accident. please re-post.  :blush

   

   Phil...

Cobra {sfx}

Sleep? What is that?