Page 1 of 1
Way to make player have no msh?
Posted: Sun Mar 15, 2009 9:58 pm
by MileHighGuy
well i am making a n/a type of unit and i need it to not have a msh so he appers invisibe, it not even a unit really, so its not gonna move or do anything. i dont even want it's animations if possibe. is there a way to make my unit so?
edit: i have treid removing msh references and also making the references empty space, it resulted in a crash
Re: Way to make player have no msh?
Posted: Sun Mar 15, 2009 10:40 pm
by RepSharpshooter
Why don't you make the geometry something safe like r2d2 then skin it transparent (also hex edit for transparency, tutorial in the EYN thread)
Re: Way to make player have no msh?
Posted: Sun Mar 15, 2009 11:38 pm
by MileHighGuy
so with that i wouldnt need the animationname line?
Re: Way to make player have no msh?
Posted: Wed Mar 18, 2009 4:28 pm
by Caleb1117
It might help if you tell us why you need to do this.
Re: Way to make player have no msh?
Posted: Thu Mar 19, 2009 8:14 am
by Ty294
I tried it once to make a "ghost" unit, but ran into the same problem.
Re: Way to make player have no msh?
Posted: Thu Mar 19, 2009 6:58 pm
by MileHighGuy
Caleb1117 wrote:It might help if you tell us why you need to do this.
im trying to make a unit spawn that will do nothing and be nothing, it will be kindof like a
dispenser unit
Re: Way to make player have no msh?
Posted: Thu Mar 19, 2009 7:04 pm
by Maveritchell
MileHighGuy wrote:Caleb1117 wrote:It might help if you tell us why you need to do this.
im trying to make a unit spawn that will do nothing and be nothing, it will be kindof like a
dispenser unit
There's no reason you can't just give it a mesh (I am assuming you're trying to do Napseeker's more-than-6-units workaround), but if you're really stuck on having an invisible unit, just take any model - can be a static mesh or an animated mesh (static meshes with no bones work just fine as units, no special animations are required) - and make it invisible by giving it a clear texture and hexedit the transparency in. Look in the SWBF2 tutorials to find out how.
Re: Way to make player have no msh?
Posted: Thu Mar 19, 2009 7:14 pm
by MileHighGuy
ok thanks
and
nooo my secret project has been revealed!!
so much for that being a surprise