Home   Help Search Login Register  

Author Topic: flares and ammoboxes and stuff :D  (Read 616 times)

0 Members and 1 Guest are viewing this topic.

Littlealx

  • Guest
flares and ammoboxes and stuff :D
« on: 29 Nov 2003, 10:00:23 »
hey, anyone remember the SEB Nam addon? freakin awesome. My favorite experience was running around with about 6 other guys looking for people to shoot, and i found this ammo box lying in the middle of nowhere... i think this wast the ctf highlands map. anyway look inside and theres purple flares yellow flares red flares green flares white flares and orange i think. And the team leader told us not to use flares. so what do ya think i did >:D 4th July comes early!

Anyway i want to add a load of flares to an ammo box, and i don't know the init name for flare guns. I tried <ammoboxname> addweaponcargo ["flaregun",1]; and it didnt work :(

the flare magazines work however, but it took ages to type them all in >:< do i have to sit there typing in c1 addmagazinecargo ["flarered",99]; c1 addmagazinecargo ["flareyellow",99]: c1 addmagazinecargo ["flarepurple...etc

Do i have to keep repeating all that or is there a quicker way?

And BTW tho i tried (how i TRIED!) i could NEVER find that wonderful box full of flares on that mission again.... can you?

 ???

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:flares and ammoboxes and stuff :D
« Reply #1 on: 29 Nov 2003, 13:19:39 »
In the official game the only way to fire flares is with the grenade launcher that can be attached to the M16 or AK74.   You'll get the exact names from the Weapon and Ammo listing in the Ed Depot.  There is a flare-firing handgun addon somewhere.

As for typing, what you've described isn't really a lot of typing since you can copy and paste and just change the colour.   However, you could try something like this

"c1 addmagazinecargo [{_x},99]" forEach [flarered, flareyellow, etc]

Syntax not guaranteed, try playing with the {} and "" if it doesn't work.

If you can't find the ammo box again try unpboing the mission and looking at the map.   Or check through the mission.sqm file.
Plenty of reviewed ArmA missions for you to play

Littlealx

  • Guest
Re:flares and ammoboxes and stuff :D
« Reply #2 on: 01 Dec 2003, 10:15:06 »
I found this great flare gun addon by gonk, i'll just post a link here :

http://www.fileplanet.com/files/110000/116687.shtml

It's got red, yellow, white, purple and green flares, and it also has smoke grenades that you can fire out of the gun... this is great for CareyBear's Ctf Highlands mission (which is set at twilight) so i edited the mission just by adding the flare gun in... friggin brilliant :D

i'm a noob at mission editing (actually this is my first ever attempt) but i figured to type < this addweaponcargo ["p2a1",30] > . Considering that everyone knows this kinda thing it was VERY hard to find something that told me exactly what to type. Probably cos i searched with Yahoo before going google. oh well.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:flares and ammoboxes and stuff :D
« Reply #3 on: 01 Dec 2003, 13:05:02 »
One of the problems with getting started in mission editing is that there are over 200 commands and many of them can take dozens of arguments.     There are thousands and thousands of possible lines of code.     Fortunately you don't have to know them all to create good missions.  :)

If you haven't done so already read snYpir's OFPEC Guide: making missions and macguba's guide to mission editing for beginners.   You could do worse than follow those with Abuu's editing tutorial.  All available in the Editors Depot, along with many other excellent tutes - check "Getting Started".
Plenty of reviewed ArmA missions for you to play