MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: PEEWEE40 on September 13, 2005, 11:45:24 AM

Title: Airplane Mods
Post by: PEEWEE40 on September 13, 2005, 11:45:24 AM
Where the mods airplane on your site please.

   I want to dowload for my clan. Its very funny.

   Bravo Elgan

   

   *TBQ* Aragorn
Title: Airplane Mods
Post by: Elgan {sfx} on September 13, 2005, 11:49:45 AM
it's part of Admin-pro. you must use that and then exec the planes.
Title: Airplane Mods
Post by: PEEWEE40 on September 13, 2005, 05:10:13 PM
Ok, I download and I install but the Anti-camper Mods its ON but the airplane is not there.

   I Upload all file in my server MAINTA. Hummm! is very though, i'm not a pro ,,,lolll

   

   Thanks
Title: Airplane Mods
Post by: Elgan {sfx} on September 13, 2005, 05:32:59 PM
you need to exec them,, do a search on how in the help
Title: Airplane Mods
Post by: PEEWEE40 on September 13, 2005, 05:59:52 PM
Ok, Oufff!!! Where to add this line "exec server_planes/trigger.scr ( 984 -4550 -422 ) "allies" .2"?

   To my config.cfg or another file. And what the number for all maps spearhead Brest, Algier, etc.

   

   Thanks
Title: Airplane Mods
Post by: Cpt. Mds on September 13, 2005, 06:21:24 PM
add the line "exec server_planes/trigger.scr ( 984 -4550 -422 ) "allies" .2" to the script file for the maps. They can be found in the pk3 files(not sure which one though)under maps/dm or maps/obj. Put that line under level waitill prespawn.I'm not sure how much you know about scripting so i'm not exactly sure what to tell you...If all this is too complicated then here just put this in your /main folder.Get the file hereThe following code will work(coordinates included)

   

   
// OMAHA BEACH OBJECTIVE DM
   // BY ADAM "SENN" BELLEFEUIL
   
   main:
   
      level waittill prespawn
   
      exec global/DMprecache.scr
   
      thread global/minefield.scr::minefield_setup
   
      $spawn_allied2 disablespawn
      $spawn_allied3 disablespawn
   
      $spawn_axis3 disablespawn
      $spawn_axis4 disablespawn
   
      $bangalore_nopulse_left hide
      $bangalore_nopulse_center hide
      $bangalore_nopulse_right hide
   
      $world northyaw 270
   
      $world farplane 7500
      $world farplane_color (0.675 0.663 0.651)
   
      level.script = maps/obj/obj_team5.scr
      exec global/ambient.scr obj_team5
   
      setcvar "g_obj_alliedtext1" "- Breach the shingle"
      setcvar "g_obj_alliedtext2" "- Destroy two 15cm"
      setcvar "g_obj_alliedtext3" "cannons"
      setcvar "g_obj_axistext1" "- Prevent Allies from"
      setcvar "g_obj_axistext2" "taking the beach"
      setcvar "g_obj_axistext3" ""
      setcvar "g_scoreboardpic" "objdm5"
   
      exec server_planes/trigger.scr ( -260.59 1913.31 413.26 ) "axis"
   
      exec server_planes/trigger.scr ( 544.07 -5300.87 -369.27 ) "allies"
   
      level waittill spawn
   
      level.bomb_damage = 200
      level.bomb_explosion_radius = 640
      level.defusing_team = "axis"
      level.planting_team = "allies"
      level.dmrespawning = 1 // 1 or 0
      level.dmroundlimit = 10 // round time limit in minutes
      level.clockside = axis // set to axis, allies, kills, or draw
   
      level waittill roundstart
   
      $88mm_explosive1 thread global/obj_dm.scr::bomb_thinker
      $88mm_explosive2 thread global/obj_dm.scr::bomb_thinker
   
      $88mm_explosive1 thread axis_win_timer
      thread allies_win_bomb $88mm_explosive1 $88mm_explosive2
   
      thread bomb1_exploded $88mm_explosive1
      thread bomb2_exploded $88mm_explosive2
   
      thread random_explode_setup
   
      thread shingle_setup
   
   end
   
   
   //*** --------------------------------------------
   //*** "Axis Victory"
   //*** --------------------------------------------
   
   axis_win_timer:
   
      level waittill axiswin
   
   end
   
   //*** --------------------------------------------
   //*** "Allied Victory"
   //*** --------------------------------------------
   
   allies_win_bomb local.bomb1 local.bomb2:
   
      while (local.bomb1.exploded != 1)
         waitframe
   
      while (local.bomb2.exploded != 1)
         waitframe
   
      teamwin allies
   end
   
   
   //*** --------------------------------------------
   //*** "Bomb 1 Exploded"
   //*** --------------------------------------------
   
   bomb1_exploded local.bomb1:
   
      while (local.bomb1.exploded != 1)
   
         wait .1
   
         iprintlnbold "Allies have destroyed the Western Cannon!"
   
         $spawn_axis2 disablespawn
         $spawn_axis3 enablespawn
   
   end
   
   
   //*** --------------------------------------------
   //*** "Bomb 2 Exploded"
   //*** --------------------------------------------
   
   bomb2_exploded local.bomb2:
   
      while (local.bomb2.exploded != 1)
   
         wait .1
   
         iprintlnbold "Allies have destroyed the Eastern Cannon!"
   
         $spawn_axis2 disablespawn
         $spawn_axis4 enablespawn
   
   end
   
   
   //*** --------------------------------------------
   //*** "Shingle"
   //*** --------------------------------------------
   
   shingle_setup:
   
      thread shingle_left_start
      thread shingle_center_start
      thread shingle_right_start
   
   end
   
   shingle_left_start:
   
      $bangalore_trigger_left waittill trigger
   
      local.player = parm.other
   
      if (local.player.dmteam != axis)
      {
         goto shingle_left
      }
   
   end
   
   shingle_left:
   
      $bangalore_left playsound plantbomb1
      $bangalore_left remove
      $bangalore_nopulse_left show
   
      wait 8
   
      $bangalore_explosion_left1 anim start
      $bangalore_explosion_left2 anim start
      radiusdamage $bangalore_explosion_left2.origin 640 384
      $bangalore_nopulse_left remove
      $barbwire_clip_left remove
      $barbwire_collision_left remove
      $barbwire_left remove
      $spawn_axis1 disablespawn
   
   end
   
   shingle_center_start:
   
      $bangalore_trigger_center waittill trigger
   
      local.player = parm.other
   
      if (local.player.dmteam != axis)
      {
         goto shingle_center
      }
   
   end
   
   shingle_center:
   
      $bangalore_center playsound plantbomb1
      $bangalore_center remove
      $bangalore_nopulse_center show
   
      wait 8
   
      $bangalore_explosion_center1 anim start
      $bangalore_explosion_center2 anim start
      radiusdamage $bangalore_nopulse_center.origin 640 384
      $bangalore_nopulse_center remove
      $barbwire_clip_center remove
      $barbwire_collision_center remove
      $barbwire_center remove
      $spawn_axis1 disablespawn
      $spawn_allied1 disablespawn
      $spawn_allied2 enablespawn
   
   end
   
   shingle_right_start:
   
      $bangalore_trigger_right waittill trigger
   
      local.player = parm.other
   
      if (local.player.dmteam != axis)
      {
         goto shingle_right
      }
   
   end
   
   shingle_right:
   
      $bangalore_right playsound plantbomb1
      $bangalore_right remove
      $bangalore_nopulse_right show
   
      wait 8
   
      $bangalore_explosion_right1 anim start
      $bangalore_explosion_right2 anim start
      radiusdamage $bangalore_nopulse_right.origin 640 384
      $bangalore_nopulse_right remove
      $barbwire_clip_right remove
      $barbwire_collision_right remove
      $barbwire_right remove
      $spawn_axis1 disablespawn
      $spawn_axis2 enablespawn
      $spawn_allied1 disablespawn
      $spawn_allied3 enablespawn
   
   end
   
   
   //*** --------------------------------------------
   //*** "Random Beach Explosions"
   //*** --------------------------------------------
   
   random_explode_setup:
   
      thread random_explode1
      thread random_explode2
      thread random_explode3
      thread random_explode4
      thread random_explode5
      thread random_explode6
      thread random_explode7
   
   end
   
   random_explode1:
   
      wait (randomfloat 13 + 23)
   
      $random_explode1_origin playsound arty_leadinmp
   
      wait 1
   
      $random_explode1 anim start
      radiusdamage $random_explode1_origin 256 384
   
      goto random_explode1
   
   random_explode2:
   
      wait (randomfloat 7 + 20)
   
      $random_explode2_origin playsound arty_leadinmp
   
      wait 1
   
      $random_explode2 anim start
      radiusdamage $random_explode2_origin 256 384
   
      goto random_explode2
   
   random_explode3:
   
      wait (randomfloat 9 + 18)
   
      $random_explode3_origin playsound arty_leadinmp
   
      wait 1
   
      $random_explode3 anim start
      radiusdamage $random_explode3_origin 256 384
   
      goto random_explode3
   
   random_explode4:
   
      wait (randomfloat 12 + 18)
   
      $random_explode4_origin playsound arty_leadinmp
   
      wait 1
   
      $random_explode4 anim start
      radiusdamage $random_explode4_origin 256 384
   
      goto random_explode4
   
   random_explode5:
   
      wait (randomfloat 15 + 22)
   
      $random_explode5_origin playsound arty_leadinmp
   
      wait 1
   
      $random_explode5 anim start
      radiusdamage $random_explode5_origin 256 384
   
      goto random_explode5
   
   random_explode6:
   
      wait (randomfloat 8 + 15)
   
      $random_explode6_origin playsound arty_leadinmp
   
      wait 1
   
      $random_explode6 anim start
      radiusdamage $random_explode6_origin 256 384
   
      goto random_explode6
   
   random_explode7:
   
      wait (randomfloat 10 + 24)
   
      $random_explode7_origin playsound arty_leadinmp
   
      wait 1
   
      $random_explode7 anim start
      radiusdamage $random_explode7_origin 256 384
   
      goto random_explode7
   
   end
Title: Airplane Mods
Post by: PEEWEE40 on September 13, 2005, 06:30:13 PM
Sorry, i'm not understand...

   

   hummm, this script is just for a Omaha Beach ????????
Title: Airplane Mods
Post by: Cpt. Mds on September 13, 2005, 06:37:57 PM
you can use the planes in any map but what i did is just an example. If you want them to work in any map you need to put the line"exec server_planes/trigger.scr ( 984 -4550 -422 ) "allies" .2" under level waittill prespawn but for that you'll need to know at least some basic scripting.Unzip the file and extract the pk3 it to your /MOHAA/main folder. Then load omaha beach and you will see little spinning planes. Walk into them and you will become a plane.I'll try and find you the file that let's you fly planes on several maps but you'll have to be patient.
Title: Airplane Mods
Post by: PEEWEE40 on September 13, 2005, 08:15:52 PM
Hello,

   

   Omaha its OK but, I cant understand for other maps.

   

   Anyway, its though for me...

   

   Thanks
Title: Airplane Mods
Post by: PEEWEE40 on September 13, 2005, 10:31:34 PM
Ok, Its Good, Its nice work, but just one thing...

   

   The set of number

   ( -260.59 1913.31 413.26 ) "axis"

   ( 544.07 -5300.87 -369.27 ) "allies"

   

   Its a position of plane on the maps OK

   

   This number is for Omaha...

   

   What number for the all maps in Spearhead...?

   

   Where find it ?

   

   Thanks you
Title: Airplane Mods
Post by: Cpt. Mds on September 13, 2005, 10:54:50 PM
They are all different. If you want to find them host your own undedicated server with no one. Go to the location where you want to put your plane and type in coord in the console. That will give you the coordinates for where you are standing(or specatating).The way I get it is by typing in logfile 1 in the console before that. That will save everyting in the console after the command into a file called qconsole.txt in your mainta forder.
Title: Airplane Mods
Post by: PEEWEE40 on September 14, 2005, 12:39:34 PM
Its Good, its nice works...

   

   Thanks very much...
Title: Airplane Mods
Post by: thingshappen on September 14, 2005, 02:57:14 PM
download admin pro and mods for nearly all dm and obj maps and they will be there all ready for you.
Title: Airplane Mods
Post by: Jun1252 on September 23, 2005, 12:06:59 PM
Hi, is there any way of using the plane mod without adding admin pro? thanks in advance
Title: Airplane Mods
Post by: Cpt. Mds on September 23, 2005, 04:30:53 PM
no there isn't...yet at least
Title: Airplane Mods
Post by: Cobra {sfx} on September 23, 2005, 06:55:29 PM
Yes - the files were in the mod files section a while ago - since being integrated with admin pro they were removed, perhaps someone that downloaded them could pass them to you as i dont think Elgan has them seperate anymore
Title: Airplane Mods
Post by: Elgan {sfx} on September 23, 2005, 07:22:00 PM
i removed them becuase they were even more buggy then the ones in AP>

   

   atm as well as messing with a secret thing im meaning to write new flyable planes that work nice.

   

   to remove them just remove the plane folder. Now without the rest the planes will crash. SO go through all the scripts finding any place where it says

   

   

    = waitexec global/settings.scr
   
   

   

   for example acceleration will look like this.

   

   

   self.acceleration =  waitexec global/settings.scr::getcmd "acceleration"
   
   

   

   now, you need to change this line to a setting because AP can not be there to give it the settings. The setting for this i know is "20" because in flyable_planes.txt it says "acceleration" "20".

   

   So change it to this

   

   self.acceleration =  20
   
   

   

   

   now do the same with

   

   "maxspeed"   

   "minspeed"   

   "startspeed"   

   "plane-bombs"   

   "rockets"

   "eject"   

   "acceleration"   

   "deceleration"   

   "plane-hit-dmg"   

   "max-axis"

   "max-allies"

   "trig-delay"   

   "use-teams"

   

   

   find out the values for each, find in the script where it tries to get the values and replace the code with the value.
Title: Airplane Mods
Post by: horrorlady on September 28, 2005, 09:35:35 AM
Hello,

   I'm from germany and my english is not so good. We want to have the airplanemod on our server. We have the adminmod downloaded. In the forum I've found a PK3 file for omaha beach. It works. Now we want to have the planes in other maps. What must we do? Sorry for my bad english and thanks for your help, I hope.

   

   horrorlady
Title: Airplane Mods
Post by: Cobra {sfx} on September 28, 2005, 01:09:46 PM
Each maps script (eg ... mohdm2.scr) will need the planes triggers added to them and included in the pk3

   

   (These lines but with coords for the new map)

   

   exec server_planes/trigger.scr ( -260.59 1913.31 413.26 ) "axis"

   exec server_planes/trigger.scr ( 544.07 -5300.87 -369.27 ) "allies"

   

   (if anyone has already done them all let me know and i can store it here and link to it for everyone)
Title: Airplane Mods
Post by: MarshalAlex on September 28, 2005, 05:20:03 PM
Instalation is the easy part! the flying is the dificult part!? i die when i tray to fly a plane!

   

   Please help!?
Title: Airplane Mods
Post by: Cobra {sfx} on September 28, 2005, 05:28:52 PM
Ok heres a little job for a person/s keen and helpful ... add the flyables to every map in AA/SH/BT, give me the pk3/s and ill host it/them. The sfx guys are quite busy and have supplied you with a couple of predone maps, anyone interested out there in doing all the rest so we can host a full set for peeps (they can edit them with new coords once they have them - if they so wish)

   

   thanks guys ... as you were ..
Title: Airplane Mods
Post by: MarshalAlex on September 28, 2005, 05:30:41 PM
or find a nother mod (flyable)
Title: Airplane Mods
Post by: Cobra {sfx} on September 28, 2005, 05:43:25 PM
Ok to help us to help you more we need some information ...

   

   [yellow]0.[/yellow] Has your post already been answered (use search)

   [yellow]1.[/yellow] AA or SH or BT

   [yellow]2.[/yellow] Try and provide a logfile of the crash / error

   [yellow]3.[/yellow] Explain briefly what happens ingame

   [yellow]4.[/yellow] Get your flying gear on - your plane should be getting armed as you browse

   [yellow]5.[/yellow] Are you scared of heights? (Mods-R-us cannot accept liability for Pilots either crashing/getting killed/blacking out or any other possible mishap)

   [yellow]6.[/yellow] We do however accept partial responsibility for people having some fun :)

   [yellow]7.[/yellow] There isnt another Flyable until JV-Map releases his Plane mod - also well worth waiting for :)
Title: Airplane Mods
Post by: Jun1252 on October 02, 2005, 12:47:35 AM
Thanks Elgan, i'll try it. but now i have another problem.. after a few minutes of flying on omaha, the server crashes. I notice it only happened when there was more than 2 players. any suggestions?
Title: Airplane Mods
Post by: gege on October 03, 2005, 02:41:18 AM
hello I this qu she would like to know line it is necessary to put eccactement to have the planes on all the maps. can you give me the exec has to put please thank you gege
Title: Airplane Mods
Post by: Guest on October 03, 2005, 02:51:54 AM
Download and install Admin Pro - it has the planes scripts integrated into it. However you have to execute the planes from the map scripts for the appropriate maps

   

   Examples

   

   Add the following lines to the map scripts after

   

   level waittill spawn

   

   [yellow]Destroyed Village[/yellow]

   

   exec server_planes/trigger.scr ( -1493 -537 -7 ) "allies"

   exec server_planes/trigger.scr ( -3052 -1220 16 ) "axis"

   

   [yellow]Remagen[/yellow]

   

   exec server_planes/trigger.scr ( -11 -454 -11 ) "allies"

   exec server_planes/trigger.scr ( 4893 -3862 22 ) "axis"

   

   

   [yellow]Algiers[/yellow]

   

   exec server_planes/trigger.scr ( 872 -368 -131 ) "allies"

   exec server_planes/trigger.scr ( -1485 2531 -87 ) "axis"

   

   [yellow]The Hunt[/yellow]

   

   exec server_planes/trigger.scr ( 735 5778 -202 ) "allies"

   exec server_planes/trigger.scr ( 2309 -1014 -342 ) "axis"

   

   [yellow]Omaha[/yellow]

   

   exec server_planes/trigger.scr ( 2689 -1510 -316 ) "allies"

   exec server_planes/trigger.scr ( -252 1883 416 ) "axis"
Title: Airplane Mods
Post by: gege on October 03, 2005, 03:41:29 AM
thank you
Title: Airplane Mods
Post by: gege on October 03, 2005, 04:11:10 AM
rebonjour I would like to know how one finds what you my to give for some map to put on D different I you remerci much gege
Title: Airplane Mods
Post by: Cobra {sfx} on October 03, 2005, 07:46:51 AM
Its called "getting coords" , you do this by going somewhere in a map and opening console and typing coord, it will return the coords for where you are standing.

   

   If your still not sure maybe its time you looked at some tips ...

   

   http://www.mods-r-us.net/forums.php?m=posts&q=2103&n=last#bottom
Title: Airplane Mods
Post by: gege on October 03, 2005, 05:01:04 PM
hello you my to give the exec for the maps remagen destoye the hunt omaha but on the waiter the charts are in packs and J does not arrive has the ouvrirs thank you gege
Title: Airplane Mods
Post by: gege on October 03, 2005, 05:02:13 PM
I has just taken the chart to use remagen I L put on the waiter and Ca does not go gege
Title: Airplane Mods
Post by: Cpt. Mds on October 03, 2005, 05:39:29 PM
explique en francais si tu veux parce que je ne te comprends pas...je peut le traduire en anglais
Title: Airplane Mods
Post by: gege on October 03, 2005, 06:05:35 PM
voila quand je regarde sur le ftp du serveur  et que je veut mettre les avions il y a a deja les maps d origines mais elles sonts en:

   

   pack1

   pack2

   pack 3 etc........  jusqu au pack7  et je n arrive pas a les ouvrir quand je les ouvrent il y a un fichier sound  comment je doit faire

   

                          gege
Title: Airplane Mods
Post by: Cpt. Mds on October 03, 2005, 06:16:52 PM
ok premierement tu doit avoir pakscape:tu peux l'avoir ici: http://files.filefront.com/PakScape/;1323402;;/fileinfo.html . cliquer sur nouveau(New). Maintenant utilise la methode "copy and paste"(Ctrl-C et Ctrl-V) pour mettre les fichiers dans le programme. Les fichiers .scr que vous avez modifies vont dans un dossier comme ca: maps/dm our maps/obj dans votre nouveau dossier;ca depends quelle maps tu veux mettre les avions dans; obj pour les maps avec des objectifs(generallement demolir quelquechose--obj_team 1 jusqu'a obj_team 4) ou dm pour les maps sans objectifs(mohdm1-mohdm4)

   

   sauvez-le dans un format de Quake3 Pak(.pk3) commencant avec zzzzz(exemple-zzzzz_mes_mods.pk3)Le jeux utilisera automaticement votre nouveaux pk3 en premierr. Je ne sais pas si je suis trop clair mais si vous avez besoin d'aide demandez-moi.

   

   PS:si tu fait omaha beach le dossier .scr va comme ca: dans votre nouveaux pk3 maps/obj/obj_team_3.scr. Si vous voulez une bonne exemple regarde ca

   

   EDIT:And yes if you are all surprised, I do speak fluent french and English:D
Title: Airplane Mods
Post by: Cobra {sfx} on October 03, 2005, 08:11:12 PM
Sacre Bleu!!!

   

   Modding - mon amour di ma vie :)

   

   Being from Quebec im not surprised ;)
Title: Airplane Mods
Post by: gege on October 04, 2005, 03:31:34 AM
je n y arrive pas je suis un noob lol

   aide mois s il te plait
Title: Airplane Mods
Post by: gege on October 04, 2005, 04:54:49 AM
salut j ai esayer mais ca marche pas je te donne mon msn    
Title: Airplane Mods
Post by: |M12|Ice_Queen on October 05, 2005, 03:57:42 AM
hi...i cant edit the .scr files my pc reads it as screen savers i cant edit it so can somone post a link or e mail the .scrs for mohdm2 crossroads ,that raining map starts with G

   i cant edit the planes to i got it working in beach map by dling that file above but as soon as i try and fly it crashes i cant edit it so could somone config it then send it? or somthing
Title: Airplane Mods
Post by: Vince on October 05, 2005, 06:09:14 AM
open notepad, find the scr and open it, or simply rename it to a .txt to edit. i know there are half a dozen decent scripts for each level on these forums.
Title: Airplane Mods
Post by: Cobra {sfx} on October 05, 2005, 01:07:56 PM
Checkout the Scripting Tips posts also.

   

   Have you read the instructions for the planes?
Title: Airplane Mods
Post by: |M12|Ice_Queen on October 06, 2005, 10:37:19 PM
it works, thanks so much

   

   now i m trying to work out were i put flyableplanes txt to get it to work

   

   

   

   edit ok it works great i fully worked it out now,thanks so much, i need the code to add shoot able AA guns and sandbags

   

   and somthing i realy like info about is it says in settings of plane dmg per shot (any wep) is that code for any projectdile if so can i change it that it takes 30 pistol rounds/smg and 12 rifle shots  so what code would i need to make that happen
Title: Airplane Mods
Post by: gege on October 08, 2005, 03:41:52 AM
ca  merci j ai enfin reussit mais le soucit c que le dossier setting ne ce met pas entierement sur le serveur il faut tout mettre un par un il y a t il un autre moyen?

   

   et dans les telechargement le pk 3 zzz tele on arrive pas a le telecharger merci
Title: Airplane Mods
Post by: gege on October 08, 2005, 03:52:21 PM
bonjour cpt mods voila j ai un soucis

   j ai reussit  a mettre les avions mais quand je monte dedans on explose comment faire aide moi

   on aarive pas a bouger des que l on va dessus on explose