SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: D4R|< $1D3 on June 29, 2013, 05:12:12 PM

Title: snow speeder camera
Post by: D4R|< $1D3 on June 29, 2013, 05:12:12 PM
how would i make the snow speeder camera like be more away from the ship ? and give it fire on the enginges like the x wing? *ill post odf i needded..*
Title: Re: snow speeder camera
Post by: Snake on June 29, 2013, 07:31:41 PM
What I do is increase all 3 numbers of the CameraAngle thing by about 2 or 3. I believe it goes in this order: x-axis, y-axis, z-axis(i think it's z)
Title: Re: snow speeder camera
Post by: D4R|< $1D3 on June 29, 2013, 09:12:05 PM
what about getting engines on it?
Title: Re: snow speeder camera
Post by: Snake on June 29, 2013, 09:17:14 PM
The part near the bottom that talks about Exhaust is what makes the engines look like theyre working.
Title: Re: snow speeder camera
Post by: D4R|< $1D3 on June 29, 2013, 09:21:51 PM
I know that...........but even if i do exhast engines there in the middle of the ship they need a "Bone" to be on working and i dont know what bone is for the back of the snowspeeder...
Title: Re: snow speeder camera
Post by: Phobos on June 29, 2013, 09:26:30 PM
i think the xwing ODF probably has an FX attached you might want to check that for reference.
is it bone or hardpoint? i dont mod vehicle MSH so not savvy on the differences there.
Title: Re: snow speeder camera
Post by: D4R|< $1D3 on June 29, 2013, 09:30:55 PM
Yes its called bone and the thing is i know xwing has one of those things but sense im not using a Xwing as the model for the snowspeeder that bone isnt there so it just puts it in the middle of the jetfighter. and i have NO idea how to fix that do you guys need me to upload the ODF?
Title: Re: snow speeder camera
Post by: Snake on June 30, 2013, 06:02:32 AM
The snowspeeder probably doesnt have one since it didn't come with an exhaust effect.
Title: Re: snow speeder camera
Post by: D4R|< $1D3 on June 30, 2013, 08:41:31 AM
well that sucks i wanted to use its ODF for a diffferen model...
Title: Re: snow speeder camera
Post by: tirpider on June 30, 2013, 03:04:58 PM
Ok, looking at the X-Wing's ODF, it has an exhaust section for all 4 exhausts.

ThrustEffect            = "exhaust_xwing"
ThrustAttachPoint       = "xwing_bl_hatch3"
ThrustAttachOffset      = "0.7501 0.3673 -2.5559"
ThrustEffectMinScale        = "0.95"
ThrustEffectMaxScale        = "1.5"
ThrustEffectScaleStart      = "0.85"

ThrustEffect            = "exhaust_xwing"
ThrustAttachPoint       = "xwing_br_hatch3"
ThrustAttachOffset      = "-0.7501 0.3673 -2.5559"
ThrustEffectMinScale        = "0.95"
ThrustEffectMaxScale        = "1.5"
ThrustEffectScaleStart      = "0.85"

ThrustEffect            = "exhaust_xwing"
ThrustAttachPoint       = "xwing_bl_hatch4"
ThrustAttachOffset      = "0.7501 -0.3673 -2.5559"
ThrustEffectMinScale        = "0.95"
ThrustEffectMaxScale        = "1.5"
ThrustEffectScaleStart      = "0.85"

ThrustEffect            = "exhaust_xwing"
ThrustAttachPoint       = "xwing_br_hatch4"
ThrustAttachOffset      = "-0.7501 -0.3673 -2.5559"
ThrustEffectMinScale        = "0.95"
ThrustEffectMaxScale        = "1.5"
ThrustEffectScaleStart      = "0.85"


The magic here is the ThrustAttachPoint and ThrustAttachOffset lines.

The X-Wing does not have nulls or bones specificly for the engine, it's just reusing the bones associated with the hatches.

The Snowspeeder has some bones relativly close to the engines that are used for the flaps.
bone_bottomflap_L
bone_bottomflap_R
bone_topflap_L
bone_topflap_R

The topflaps look closer to the engine looking things on the back, so I would try attaching to them first.

For your snowspeeder, would add 2 thrust sections looking something like:

ThrustEffect            = "exhaust_xwing"
ThrustAttachPoint       = "bone_topflap_L"
ThrustAttachOffset      = "0.7501 0.3673 -2.5559"
ThrustEffectMinScale        = "0.95"
ThrustEffectMaxScale        = "1.5"
ThrustEffectScaleStart      = "0.85"

ThrustEffect            = "exhaust_xwing"
ThrustAttachPoint       = "bone_topflap_R"
ThrustAttachOffset      = "-0.7501 0.3673 -2.5559"
ThrustEffectMinScale        = "0.95"
ThrustEffectMaxScale        = "1.5"
ThrustEffectScaleStart      = "0.85"


And I would expect the effect to sow up in a weird place.
Tinker with the ThrustAttachOffset till it lines up the way you want.
It's probably in "x y z" format, but sometimes things get rotated weird so you will have to make an adjustment, munge, test, then go back and make more adjustments.

One issue: since it is attaching to the flap bone, it might move as the flap moves though...

The best fix would be to go into XSI and add a null where you want the engines (parented to the bone_root or some other stationary bone.)
This would end up blasting the shadows for the speeder though cause nothing we have (currently) supports SHDW shadows.

-edit
BTW, a good tool for finding bone names is the SWBF_MSH_INFO tool.
I have a copy in my dropbox:
SWBF_MSH_INFO.rar (https://dl.dropboxusercontent.com/u/58361588/SWBFG/Projects/SWBF_MSH_INFO/SWBF_MSH_INFO.rar)
There is a thread on it floating around here somewhere and I keep meaning to update it, but I get side tracked easily.
Title: Re: snow speeder camera
Post by: Sereja on June 30, 2013, 03:27:57 PM
Flyers, may have exhaust effects with no any hardpoints needed. All you have to do - just put correct coordinates in .odf or .fx files.
EhPortal 1.34 © 2024, WebDev