Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple flyable helicopter script port, could use help!
#1
An old friend of mine who made the famous WaffleMod for Call of Duty 4 also happened to have a flyable heli script. It's pretty cool, I'm trying to see if I can port it over to MW2. I've had a LITTLE progress, but could use some help.

Dumbed down, I think it's very simply scripted. It spawns a 'Heli' 2000 units above the players origin, links him to it (In the pilot-seat-area), and enables third person. So the user itself, just sees a chopper in front of them.

The script follows where the player's looking, so when the player moves his mouse, the choppers rotational angle follows with almost no delay. The movement is pretty self-explanatory if you look at heli_fly() in the script.

I managed to get it to spawn, link the player to the heli, and go into third person, but it just won't move at all. Wether it be rotational or it's actual position, it's just, still.

Note the different hard-coded functions, such as the PlayerLinkTo(), spawnHelicopter, and a few others.

Here's what I managed to get to work:

http://pastebin.com/zwTDrMkk

Here's the original:

http://pastebin.com/y7SuuPG5

EDIT: After toying around with it a bit more, I managed to get the heli to move up and down (Vertically) on command, by changing Vehicle_SetSpeed function, from its cod4 equivalent. It seems to position itself pointing @ 0 degrees once its moved vertically in any direction. Once it points in that direction, it stays there and moves vertically normally upon command. (Pastebin link updated with new code aswell)
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Dat port forwarding RaZ 2 3,155 11-10-2013, 23:14
Last Post: RaZ
  Help Spawning carepackage helicopter -- DidUknowiPwn 4 4,062 11-08-2013, 08:18
Last Post: DidUknowiPwn
  Who can create this script First_Semyon 3 4,254 09-24-2013, 18:19
Last Post: First_Semyon
  [Release] Advanced timed messages with script support DePa95 0 4,071 08-07-2013, 19:35
Last Post: DePa95
  PORT E-losev 12 9,011 07-19-2013, 16:20
Last Post: Pozzuh
  Help Run Infinity Script on Teknogods? Bandarigoda123 6 7,504 07-14-2013, 17:27
Last Post: surtek
  [Release] Mw3 Simple External Console barata 25 22,361 06-30-2013, 16:30
Last Post: nexzhd
  can't find script engine "VBScript" for script "C:\Windows\system32\slmgr.vbs" ddaavvee 6 24,640 06-18-2013, 03:46
Last Post: dylankrajewski
  What script controls the "random" aspect to care packages? akillj 2 3,266 06-05-2013, 11:24
Last Post: akillj
  [Tutorial] How to port weapons rotceh_dnih 13 15,496 04-13-2013, 23:43
Last Post: rotceh_dnih

Forum Jump:


Users browsing this thread:
2 Guest(s)

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