Jump to content

ofpfreak

Member
  • Content Count

    11
  • Joined

  • Last visited

  • Medals

Posts posted by ofpfreak


  1. Plus ArmA2 seems to be hugely CPU dependant for the most part, your money might be better spent upgrading that. Ofc I have no idea what CPU you currently have so I may be way off.

    I upgraded from an overclocked Core 2 Duo E6400 to a Core i7 920 at 4Ghz and have noted absolutely no FPS differences at all, I think it's more noticeable in battle situations though.


  2. I've recently bought Armed Assault, as a big fan of Operation Flashpoint I had done tons of missions and scripting. In Armed Assault I'm wanting to do the same.

    Recently me and my friend were doing some stuffing around with the online mission editor and I gave the camel a small boost using a simple command:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setvelocity [1000,0,50]

    Now this would boost the camel slightly upwards into the air at a large speed, but the problem is, it does that on the X angle (which is always east in this case).

    Because of this, I have revived an old nitrous script of mine from OFP, though I'm having some problems getting it to work again.

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#accel

    _inc = 1

    _amountleft = 0

    camel1 setvelocity [(velocity camel1 select 0) + _inc*sin getdir camel1, (velocity camel1 select 1) + _inc*cos getdir camel1, velocity camel1 select 2]

    ~0.25

    _amountleft > 40 : goto "exit"

    ? speed camel1 < 300 && alive camel1 : goto "accel"

    #exit

    exit

    Now, the problem here is somewhere with the last two lines before the #exit. It says something about the :'s.

    The error message says:

    Error type number, expected switch

    Now I can understand if Armed Assault had a few changes in the scripting code, but if so, can someone tell me what to put there instead? I'm guessing : was either replaced with a different command or a "switch" is now used whatever this may be. help.gif

×