Jump to content
Sign in to follow this  
enforcer4100

flare spawning

Recommended Posts

hi all,

I am making a mission where u have to defend an outpost against incoming

taliban troops. Here is the problem: because you can't fire ILLUM-rounds with the mortar and the ILLUM-round fired with the m230 grenade launcher isn't staying long enough in the air. I can't properly see the enemy.(In my mission the NVG are not available to the troops)

I already tried use triggers (radio alpha) and the createVehicle command

to try spawning an ILLUM-round in the air.

this doesn't work so does anyone else has an idea.

Don't ask me to write a script I am not good at that :biggrin:

Share this post


Link to post
Share on other sites

Put this in a trigger and it will spawn a flare 150m abow the player.

fireSky = "F_40mm_Yellow" createVehicle (player modelToWorld [0,0,150]);

Change the first two numbers if you dont want the flare right ontop of the player.

Share this post


Link to post
Share on other sites
Put this in a trigger and it will spawn a flare 150m abow the player.

fireSky = "F_40mm_Yellow" createVehicle (player modelToWorld [0,0,150]);

Change the first two numbers if you dont want the flare right ontop of the player.

ok thnx, can u use the fireSky command with any type of ammo?

Edited by enforcer4100
.

Share this post


Link to post
Share on other sites

No good method other than scripting it, sorry. Your best bet is to magically spawn flares, and attach various additional effects to it, the most important one being an additional #lightpoint. The #lightpoint object makes light that helps AI, whereas normal flares doesn't. Other effects may include smoke, glowing orb, and burnt residue droppings.

If you go with only #lightpoint, and no flares, you'll have to simulate by script some other method of causing a descent (if you want additional effects I don't think you can attach them to a #lightpoint object, complicating the process), and also the flicker effect. But now you can however extend the lifetime of it to that of mortars and artillery illumination. If you want to extend the lifetime of a flare (beyond 30 seconds), the only way to achieve this is using an addon.

Edit:

In the above, fireSky isn't a command, but a reference to the object that is created by the createVehicle command.

Share this post


Link to post
Share on other sites

Yes you can add ammo there istead, not all ammonames work but those who works will, like G_30mm_HE

Like CarlGustaffa said about the firesky, you can call it fun or something, but firesky is good because it light up the sky :)

Share this post


Link to post
Share on other sites

Allow me to quote my best friend, the Biki:

M252 | 81mm Mortar | HE, WP, ILLUM | 100m - 3700m

:bounce3:

It appears you can fire Illumination round with the mortar. :yay:

You only have to command the game to reload the mortar with the corresponding ammo type:

this addMagazine "ARTY_8Rnd_81mmILLUM_M252";

:D

Share this post


Link to post
Share on other sites
Allow me to quote my best friend, the Biki:

:bounce3:

It appears you can fire Illumination round with the mortar. :yay:

You only have to command the game to reload the mortar with the corresponding ammo type:

this addMagazine "ARTY_8Rnd_81mmILLUM_M252";

:D

I have tried adding "ARTY_8Rnd_81mmILLUM_M252" and "8Rnd_81mmILLUM_M252" with the addMagazine command.

You can fire them but they don't do anything. No Illumination, no explosion.

Share this post


Link to post
Share on other sites
No good method other than scripting it, sorry. Your best bet is to magically spawn flares, and attach various additional effects to it, the most important one being an additional #lightpoint. The #lightpoint object makes light that helps AI, whereas normal flares doesn't. Other effects may include smoke, glowing orb, and burnt residue droppings.

If you go with only #lightpoint, and no flares, you'll have to simulate by script some other method of causing a descent (if you want additional effects I don't think you can attach them to a #lightpoint object, complicating the process), and also the flicker effect. But now you can however extend the lifetime of it to that of mortars and artillery illumination. If you want to extend the lifetime of a flare (beyond 30 seconds), the only way to achieve this is using an addon.

Edit:

In the above, fireSky isn't a command, but a reference to the object that is created by the createVehicle command.

If I wanted to use something more precise and intense like a emergency vehicle light or like the indicator lights on Airplane flying at night..would I use glowingorb....How would that look...

Insteadof #lightpoint ----> I would put #glowingorb?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×