Shells

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
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Shells

Post by ryukaji »

I just had an idea and I want to ask if it could be done
I want to know if there is a way to have the bullet shells pop out when you shoot
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Shells

Post by Caleb1117 »

Maybe... just spitting out ideas here, but a secondary ordnance, that fires sideways, in an arc like a mortar, and you could give it a small "shell" mesh instead.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Shells

Post by ryukaji »

Oh yeah i remember the line in the bowcaster and it could change to sideways and then I would just need the shell msh
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

Re: Shells

Post by Penguin »

A msh would be too expensive, Just use a custom texture replacing the laser on the second ord. :P
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Shells

Post by ryukaji »

but then wouldnt it be all light and glowing

Also it would be coming out of the barrel so would you need a second firepoint to have the shell come out right?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Shells

Post by Caleb1117 »

You can make it not glow, and make it, so it looks solid.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Shells

Post by Teancum »

But can texture-only ordnance be affected by physics? Shells would be affected by gravity.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Shells

Post by MandeRek »

Ok, we basicly know how to do this now.. If we need a msh, just say so, and give me 1 minute; that's not the deal here..

So how would we do this? Call out a second odf in the weapon odf, with what line? And what should be in this odf? :?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Shells

Post by Caleb1117 »

Basically the same as a secondary ordnance of the game's shipped weapons, to get it to mortar a "shell" msh a very short distance, I.E. a few inches. at the same time the weapon fires every time it fires. Have the shell mshes roll about on the ground for like 2-3 seconds, before they "expire" in a invisible explosion, that does no damage.

The question is, how do you get it to fly out the side? I'm not sure if the bowcaster code would work.

A new null might need to be added to the gun.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Shells

Post by Maveritchell »

Caleb1117 wrote:A new null might need to be added to the gun.
Weapons don't technically fire from guns, they fire from the unit (weapons don't shoot people, people shoot people :lol: ).

No matter how many hardpoints you call, a weapon's not going to fire from anything other than approximately his torso. They just fake you out because most weapons fire too fast to notice.

And you could try making it fire sideways by adjusting the ShotPatternPitchYaw, but more than likely it wouldn't have the effect you want. (Make the second number big, it controls side-to-side.)

Code: Select all

ShotPatternPitchYaw     = "0.0 0.0"
I wouldn't worry too much about making a shell fire sideways. Making a weapon do something fancy is all about tricking people into thinking that it's doing something it's not - it's not about making a weapon actually do what you want it to do, necessarily.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Shells

Post by ryukaji »

Well if it doesnt go sideways it wont look right but I dont even see how to get it to work because how do you tell only the secondary ordnance to go sideways without the main one going sideways also
Post Reply