Home   Help Search Login Register  

Author Topic: Paradrop script and crashing  (Read 1876 times)

0 Members and 1 Guest are viewing this topic.

Offline eegore

  • Members
  • *
Paradrop script and crashing
« on: 03 Jun 2009, 13:29:51 »

  Ok, I am back from my trip and trying to get OFP going again.

  First I have LibMod running and any paradrop script crashes the game.  I think its the "eject" command but I'm not sure.  Ive tried this with multiple aircraft and all scripts crash the game.


  Second I am using the paradrop script from the Editors Depot here and in most cases half of the group drops without parachutes.  Sometimes the whole group drops straight to the ground and their chutes fall gently onto the dead bodies a few seconds later.   

  I have the flyinheight set to 150 and speed set to limited.  Also this issue happens with any aircraft. Any ideas?  Or does anyone have a better script?  All I want to do is have a group of paratroopers jump out of a C47. 

Thanks

Offline schuler

  • Contributing Member
  • **
Re: Paradrop script and crashing
« Reply #1 on: 03 Jun 2009, 17:18:25 »
I would try the scripts without the LibMod and see if its a mod bug.
and try this code to eject the group without the script
Code: [Select]
_x action [""eject"", chopper_name]" forEach units your_groupnamecheers schuler
« Last Edit: 03 Jun 2009, 17:22:20 by schuler »
Semper Fi

Offline eegore

  • Members
  • *
Re: Paradrop script and crashing
« Reply #2 on: 03 Jun 2009, 17:35:44 »

  Thanks for the reply. 

  It won't let me use the command, it say "local variable in global space" when I use it in a trigger. 

  _x# action 

  Paradrop scripts do work in the Invasion mod and in a non-altered Lib mod, unfortunately I have mixed some of the units together and can't seem to figure out which added pbo is causing the crash.   

Offline ProfTournesol

  • Members
  • *
  • OFP Addict
Re: Paradrop script and crashing
« Reply #3 on: 03 Jun 2009, 18:45:31 »
Na, it's a typo problem, inverted commas are missing at the beginning

Code: [Select]
"_x action [""eject"", chopper_name]" forEach units your_groupname
You can also use :

Code: [Select]
{_x action [""eject"", chopper_name]} forEach units your_groupname
OFP Napoleonic Mod leader - OFP WW1 Mod leader

Offline schuler

  • Contributing Member
  • **
Re: Paradrop script and crashing
« Reply #4 on: 03 Jun 2009, 23:55:23 »
hi, sorry for the typo, thats what can happen with copy/ paste. i missed the "

i would use a mod launcher, i like this one
Kegetys' Editor Addon v1.11 here and that way you can load up one at a time to see whats causing the prob.
Semper Fi

Offline eegore

  • Members
  • *
Re: Paradrop script and crashing
« Reply #5 on: 04 Jun 2009, 00:37:03 »
  Thanks for the info.  Ejecting everyone in that trigger worked for some reason. Maybe because its not a script? 

  Not everyone gets a chute, and sometimes the whole group drops to their death, probably because they all get shot out at once right? 

  For some reason ejecting from any aircraft from a script will crash the game.  This happens in the LibMod that I added anumber of I-44 units to.  Its not perfectly balanced, but its nicer to have most the units in one place.  

  I'll try the launcher and see how it helps.  

Thank you
« Last Edit: 04 Jun 2009, 01:06:19 by eegore »

Offline schuler

  • Contributing Member
  • **
Re: Paradrop script and crashing
« Reply #6 on: 04 Jun 2009, 02:37:25 »
Quote
they all get shot out at once right?

yep like a big ejaculation, but i dont know if that would cause a problem?!?!?, the scripting part is really more for realism i think.
maybe try going a little higher, say 200
i havent seen this problem before, maybe one of the seasoned members or staff might know if it is a mod problem.
if you have many addons maybe you might have to drop one to use the rest. otherwise you could check the authers web page to see if there is an update on the mod or addons. :)
Semper Fi

Offline eegore

  • Members
  • *
Re: Paradrop script and crashing
« Reply #7 on: 05 Jun 2009, 09:23:57 »

  My problems with crashing appear to be random but only if I mix I-44 and Libmod together. 

  Sometimes the scripts work, most times it crashes but now most of the crashing gives me the "Not enough memory" CTD. 

  Not sure I can do anything about this besides not using Libmod with the C47s. 

Offline schuler

  • Contributing Member
  • **
Re: Paradrop script and crashing
« Reply #8 on: 05 Jun 2009, 12:49:25 »
ok simple question , does the game crash without addones?
that might tell you something
i know some guys have reinstalled the game and got a nice fresh gameplay  :)
Semper Fi

Offline eegore

  • Members
  • *
Re: Paradrop script and crashing
« Reply #9 on: 06 Jun 2009, 08:10:30 »

  It only crashes if I mix I-44 units with Lib units and use the eject command.  Otherwise it works fine, so basically I just need to decide which units I want to use for a paradrop and then load that unaltered Mod.