Home   Help Search Login Register  

Author Topic: Adding LAWs and Slowing Down the Music  (Read 686 times)

0 Members and 1 Guest are viewing this topic.

shadow99

  • Guest
Adding LAWs and Slowing Down the Music
« on: 02 Aug 2004, 08:44:08 »
Right, want do I put in the player's initialization field to give him a few extra LAWs?

Second of all, I've noticed every now and then the music I play in a mission will just through on turbo mode and be done in seconds... how do I stop this? I think it's something to do with time compression, even though I didn't have time compression ON at the time when the script activated my music.

Oh, and also, how does the campaign get the skins of seriously wounded units, but still have them completely healthy in every way? Like on one the chopper missions on Cold War Crisis... Airbourne it was, probably.
« Last Edit: 02 Aug 2004, 08:53:57 by shadow99 »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Adding LAWs and Slowing Down the Music
« Reply #1 on: 02 Aug 2004, 11:09:10 »
this addMagazine "LAWLauncher"; this addWeapon "LAWLauncher"

Check the weapons and ammo listing in the Ed Depot, not sure if that's right.

The commands saveStatus and loadStatus are used to transfer information about a unit from one mission to another.   However, the dammage information appears to be generic, rather than specific.   In other words its just the getdammage number that is saved, rather than the location of the dammage (arms, legs, etc.).     If a unit has generic damage then it appears to be healthly but in fact it is not.   For example one hit to the legs will kill it.

I'm not absolutely sure about that last paragraph but its my current perception.    Hopefully somebody will correct me if I'm wrong.
Plenty of reviewed ArmA missions for you to play

shadow99

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #2 on: 03 Aug 2004, 00:48:34 »
Thanks macguba.

shadow99

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #3 on: 03 Aug 2004, 01:07:45 »
I can add the LAW Launcher okay, but testplay it doesn't have any LAWs. So I'm guessing there's something wrong with the 'this addMagazine "LAWLauncher"' syntax. I thought I saw somewhere that LAWs were also called 'PipeBombs'.

Will try it now...

No error, but it still doesn't work...

Dubieman

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #4 on: 03 Aug 2004, 03:02:13 »
That's right Shadow99, if that was the wrong magazine name, the mission would not start. I have a feeling the unit has an open secondary weapon slot and no room for the LAWs so remove his grenades or "removeallweapons this" to add the LAWs and it should work.

shadow99

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #5 on: 03 Aug 2004, 03:13:17 »
Already tried that GRK... <Sigh>.

No dice...

shadow99

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #6 on: 03 Aug 2004, 03:15:57 »
Hmmm... you're right. LOL.

I don't know why it didn't work before. Maybe I got a syntax wrong or anything. But you persuded me to try again... and it works! Thanks GRK!!

Dubieman

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #7 on: 03 Aug 2004, 03:18:34 »
You should see the amount of unidentified class names and preview mission failures I get from trying to spell Berreta or Tortokarev, I always get them wrong a couple of times. ;D

shadow99

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #8 on: 03 Aug 2004, 03:28:12 »
Hah. Yeah... those bloody 'R's.

Anyway, next question, how do I make my weapons fully loaded, prepped for combat? As soon as my player jumps out of the BlackHawk at the start he has to reload, under fire...  :-\

Dubieman

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #9 on: 03 Aug 2004, 03:30:08 »
Put at least one magazine first like:

this addmagazine "poopgunmag"; this addweapon "Tolietpopper"

Then you're locked and loaded.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Adding LAWs and Slowing Down the Music
« Reply #10 on: 03 Aug 2004, 03:30:38 »
Add the magazine before you add the weapon.


EDIT:...........hmmm..........what him above said.

Planck
« Last Edit: 03 Aug 2004, 03:31:14 by Planck »
I know a little about a lot, and a lot about a little.

shadow99

  • Guest
Re:Adding LAWs and Slowing Down the Music
« Reply #11 on: 03 Aug 2004, 03:34:27 »
LOL. Thanks...