lightsaber not showing up ingame [SOLVED]

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
IndianaJoe
1st Lieutenant
1st Lieutenant
Posts: 425
Joined: Sun Jun 07, 2009 11:21 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: ♦♠Lining up a headshot.♠♦

lightsaber not showing up ingame [SOLVED]

Post by IndianaJoe »

I made a custom lightsaber in XSI, exported it with mshex, and it does not show up ingame.

Image

do i need to add anything else? hp_fire is the parent of every thing.
Last edited by IndianaJoe on Sun Apr 04, 2010 11:43 am, edited 1 time in total.
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: lightsaber not showing up ingame

Post by Fiodis »

Dummyroot should be the parent of everything. hp_fire should be under it alongside the mesh itself.
User avatar
IndianaJoe
1st Lieutenant
1st Lieutenant
Posts: 425
Joined: Sun Jun 07, 2009 11:21 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: ♦♠Lining up a headshot.♠♦

Re: lightsaber not showing up ingame

Post by IndianaJoe »

So I need to add a Dummy_Root null? i didn't think that was needed if it was at the root 0,0,0.
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Re: lightsaber not showing up ingame

Post by CodaRez »

"dummyroot" is a null that needs to be the parent of everything. (centered on 0,0,0)

Inside are ur model and "hp_fire" null. You can keep them in separately, or u can put the hp_fire into the model and make it its child (but that serves no real purpose besides syncronized movement)

Because of this, you should position ur melee weapon around the center 0,0,0 to determine how the unluckysuckerI MEAN client shall hold it.

That should be all

(btw, for melee weapons I call the dummyroot "hp_grip", i dunno if its a necessity, but its a guaranteed work)

(and also ur hp_fire should slant in the direction of the blade, and rotations around -30 on the z-axis OUTTA make sure ur blade doesn't go thru ur hand)
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: lightsaber not showing up ingame

Post by Fiodis »

CodaRez wrote:Inside are ur model and "hp_fire" null. You can keep them in separately, or u can put the hp_fire into the model and make it its child (but that serves no real purpose besides syncronized movement)
...
Because of this, you should position ur melee weapon around the center 0,0,0 to determine how the unluckysuckerI MEAN client shall hold it.
...
(btw, for melee weapons I call the dummyroot "hp_grip", i dunno if its a necessity, but its a guaranteed work)
"Syncronized movement" occurs automatically in-game, you don't need to parent anything. The hp_fire moves along with the mesh whether you parent it or not. It's a good idea to import a stock lightsaber to get an idea of how to position one. You don't need to call the dummyroot hp_grip.
User avatar
IndianaJoe
1st Lieutenant
1st Lieutenant
Posts: 425
Joined: Sun Jun 07, 2009 11:21 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: ♦♠Lining up a headshot.♠♦

Re: lightsaber not showing up ingame

Post by IndianaJoe »

Fiodis wrote: . It's a good idea to import a stock lightsaber to get an idea of how to position one.
I actually did import the stock ALL lightsaber model, IT STUNK! so i decided to make this one, it is at a 30 +/- angle.
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Re: lightsaber not showing up ingame

Post by CodaRez »

Fiodis wrote:You don't need to call the dummyroot hp_grip.
Well thats a relief
Fiodis wrote: "Syncronized movement" occurs automatically in-game, you don't need to parent anything.
In XSI i mean :wink:

*if ur gonna reply "double-select them" yeah, I know about that too*

Does it work now?
User avatar
IndianaJoe
1st Lieutenant
1st Lieutenant
Posts: 425
Joined: Sun Jun 07, 2009 11:21 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: ♦♠Lining up a headshot.♠♦

Re: lightsaber not showing up ingame

Post by IndianaJoe »

CodaRez wrote:
Does it work now?
yes it works, but i made it too big and put the firepoint off, so it looks funny, but ya, just small edits.
Post Reply