Results 1 to 4 of 4
  1. #1
    Member Level 16 Heer_sturmfuhrer's Avatar
    Join Date
    May 2008
    Posts
    1,492
    Rep Points
    20
    Rep Power
    7

    How exactly does the flaregun call in Artillery?

    Basically im trying to make a similar artillery ability for Vanilla MoW, however all I know is that in the flare.ammo file there is a tag called Flaerammo, which is linked to interaction_terrain - ground, rock, mud e.t.c that links artillery_flaer_ammo from interaction_entity - explosion.inc, however I thought a link from interaction_terrain would lead to the resource/set/fx, where ex_anti_size3.def files are? Except an artillery_flaer_ammo.def dosent exist.

    My question it how is the artillery ability linked to the flaer gun/ ammo?

    Thanks
    Sturm

  2. #2
    Member Level 4 kis12134's Avatar
    Join Date
    Nov 2010
    Location
    Portugal
    Posts
    146
    Rep Points
    3
    Rep Power
    3

    Re: How exactly does the flaregun call in Artillery?

    I may got an answer, you shot the flare gun, wich maybe reveals the position, and then you can fire your artillery
    "When you get to the end of your rope, tie a knot and hang on."
    - Franklin D. Roosevelt

  3. #3
    Member Level 4
    Join Date
    Mar 2009
    Posts
    104
    Rep Points
    5
    Rep Power
    5

    Re: How exactly does the flaregun call in Artillery?

    This:
    eg ground.inc

    Code:
        else stuff "flaerammo"
    	  {spawn "artillery_explosion_flaer"}
    flaerammo is tagged to the projectile fired from the flare gun. This hits the ground, which spawns "Artillery_explosion_flaer" from the explosive.inc (interaction_entity)

    which contains this

    Code:
    {"artillery_explosion_flaer"
    	{on "explosion"
    		{stuff_detonate}
    	}
    	{on spawn
    		{spawn "smoke_red_small"}
    		{spawn "smoke_red_norm"}
    		{delay 10
    			{delay 2
    				;{set_radius 20
    				{call "explosion"}
    			}
    			{start_sound "mission/artillery/"}
    			{start_sound "weapon/shot/artillery"}
    		}
    	}
    }
    which creates the smoke, delays for 10 seconds and kaboom.

  4. #4
    Member Level 16 Heer_sturmfuhrer's Avatar
    Join Date
    May 2008
    Posts
    1,492
    Rep Points
    20
    Rep Power
    7

    Re: How exactly does the flaregun call in Artillery?

    Ive done all these things, yet when I fire a flare gun nothing happens, not even the red smoke.

    Remember this is MoW where talking about.

    Sturm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •