Mortar launcher ODF problem

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
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Mortar launcher ODF problem

Post by myers73 »

so trying to make a full-auto mortar launcher, I set

MaxPressedTime = "0.0"
TriggerSingle = "0"
ShotDelay = "0.2"

but its still single fire.

also, I want it to stick to buildings, but it bounces off of building that are not destroyable.

EDIT: Fixed by changin the ClassLable: to "launcher"

for an ordinance class, can "sticky" lockon and track like rockets? or can "missle" stick and have a delayed explosion?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: mortar launcher ODF problem

Post by AQT »

myers73 wrote:also, I want it to stick to buildings, but it bounces off of building that are not destroyable.
Is your ordnance ODF set up like this?

Code: Select all

StickBuilding        = 1
StickBuildingDead    = 1
StickBuildingUnbuilt = 1
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: mortar launcher ODF problem

Post by myers73 »

yes
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: mortar launcher ODF problem

Post by fasty »

I really wish someone would help you with this. :cry: Too bad I really don't know the answer.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: mortar launcher ODF problem

Post by CressAlbane »

I think that the MaxPressedTime line is not what you want.
Look at the com_weap_inf_chaingun...
99% that you should get rid of the MaxPressedTime line for this to work. :thumbs:

EDIT: Fasty, how does your post help Myers73 help figure out his problem?
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: mortar launcher ODF problem

Post by Sky_216 »

myers73 wrote:for an ordinance class, can "sticky" lockon and track like rockets? or can "missle" stick and have a delayed explosion?
Nope. Only works for missiles.
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: mortar launcher ODF problem

Post by fasty »

CressAlbane wrote: EDIT: Fasty, how does your post help Myers73 help figure out his problem?
Well if I didn't say anything nobody would have tried to help. :wink:
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: mortar launcher ODF problem

Post by FragMe! »

For your last question, a mortar ordnace (sticky) cannot track and likewise a rocket which can track cannot be a sticky weapon.

This did give me an idea for a fun open area weapon, a slow moving tracking rocket, gives you a chance to escape it but deadly if you don't.


@fasty just because someone didn't answer the same day doesn't mean no one will answer.
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: mortar launcher ODF problem

Post by fasty »

FragMe! wrote:@fasty just beause someone didn't answer the same day doesn't mean no one will answer.
Sorry just trying to help out. :?
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: mortar launcher ODF problem

Post by myers73 »

CressAlbane wrote:I think that the MaxPressedTime line is not what you want.
Look at the com_weap_inf_chaingun...
99% that you should get rid of the MaxPressedTime line for this to work. :thumbs:
you have to change the class to launcher, as I said a few post back, but gravity will not work, or at least i dont think it will, dont need it for my gun anyway
FragMe! wrote:This did give me an idea for a fun open area weapon, a slow moving tracking rocket, gives you a chance to escape it but deadly if you don't.
Beat you to it. Got a nice class going. Sticky gun, sort of like needlers from halo, and tracking rocket, but have them share heat. It is awesome but at the same time balanced so that it is not over powered.
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: mortar launcher ODF problem

Post by Sky_216 »

FragMe! wrote:For your last question, a mortar ordnace (sticky) cannot track and likewise a rocket which can track cannot be a sticky weapon.

This did give me an idea for a fun open area weapon, a slow moving tracking rocket, gives you a chance to escape it but deadly if you don't.
Done it for DS already - one of the stealth droid units has a "kamikaze recon droid" thats really a slow moving missile. Best way to dodge it is to get something between it and you or roll at the last second.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: mortar launcher ODF problem

Post by CressAlbane »

Wait-what's the problem now?
Post Reply