Strafe Beacons

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Strafe Beacons

Post by Lagomorphia »

I got the idea for this from the TFU II demo. Is it possible to have a deployable beacon that spawns, say, a TIE fighter reasonably far away. This TIE flys towards the beacon firing at it, then changes course and flys up and away, then expires after a set time and disappears. If the TIE is shot down or hits a building, it explodes like a normal TIE.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Strafe Beacons

Post by Fiodis »

It may be possible using complex LUA involving spawning a TIE turret at a specific matrix built off the placed beacon, then have its moves directed by those LUA animations Ace (That's Ace_Azzameen, not AceMastermind) developed. But those animations, especially, are rather difficult to understand and you'd have to be at least as good as Ace to pull them off properly.

Hmm. How about, instead, rigging an orbital strike so that a flaming TIE comes hurtling straight down in a suicide run? :D
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Strafe Beacons

Post by Lagomorphia »

Seen that done in BF1. I'll see if I can get that working.

EDIT: Done. It's not massively dramatic, much less so than a proper orbital strike.

Video.
http://www.xfire.com/video/38c431/
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: Strafe Beacons

Post by sim-al2 »

That's actually pretty neat looking (and funny to have a TIE come out of no where...). :shock:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Strafe Beacons

Post by Fiodis »

Perhaps you could slow the TIE down a tad so people could have a split second to admire it, screaming down in flames.
User avatar
AgentSmith_#27
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 302
Joined: Thu Feb 11, 2010 3:10 pm
Projects :: No Projects I am ready to unveil
Games I'm Playing :: SWBF2-MW2-Madden 08
xbox live or psn: No gamertag set
Location: Zeroeditor
Contact:

Re: Strafe Beacons

Post by AgentSmith_#27 »

I rather like it myself, I agree with Fiodis a bit slower and attaching the flame effect from when ships are damaged would be very cool.
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Strafe Beacons

Post by Lagomorphia »

How do I add the flame effect? I also want to amplify the range of the sound: currently you can't hear it.

The TIE itself:
Hidden/Spoiler:
[OrdnanceClass]
ClassLabel = "beacon"

[Properties]
GeometryName = "rep_weap_inf_grenadethermal.msh"

LightColor = "252 67 67 150"
LightRadius = "4.0"

TrailEffect = "com_sfx_weap_orbital_attack"

LifeSpan = "1.0"
Velocity = "25.0"
Gravity = "1.25"
Rebound = "0.2"
Friction = "2.0"

StickPerson = 1
StickAnimal = 1
StickDroid = 1
StickVehicle = 1
StickBuilding = 1
StickBuildingDead = 1
StickBuildingUnbuilt= 1
StickTerrain = 1

SalvoCount = "1"
SalvoDelay = "0.25"

ScatterDistance = "20.0"

OrdnanceName = "rep_weap_inf_suicideTIE_salvo_ord"

CollisionOtherSound = "com_weap_inf_grenade_bounce"
CollisionWaterSound = "imp_inf_trooper_land_water"
CollisionFoliageSound = ""
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: Strafe Beacons

Post by skelltor »

add it as a trail effect to rep_weap_inf_suicideTIE_salvo_ord
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Strafe Beacons

Post by THEWULFMAN »

Useing a simaler Idea, I am making an effect of an air stike,
First ord, Bomber model flys in low pitch so it crashes far outside of map
second ord bombs
Ive got this working somewhat. But it needs alot of refining before I show you guys.
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Strafe Beacons

Post by Lagomorphia »

How did you change the pitch?

add it as a trail effect to rep_weap_inf_suicideTIE_salvo_ord
Once again, how?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Strafe Beacons

Post by THEWULFMAN »

Code: Select all

AimElevation        = "0.0"
sadly this brings the bomber in at the same level as the beacon, but i think i know a way to fix that :wink:
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: Strafe Beacons

Post by skelltor »

Lagomorphia wrote:How did you change the pitch?

add it as a trail effect to rep_weap_inf_suicideTIE_salvo_ord
Once again, how?
TrailEffect = "com_sfx_weap_rockettrail"
replace the effect name with your effect
Post Reply