Adding props as playable units
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Adding props as playable units
Does anyone know how to add a clone sniper's autoturret as a playable unit? I've seen it done before, not sure what map.....might've been an early version of WGO v. SotG, not sure.
- Culvar
- 1st Lieutenant

- Posts: 429
- Joined: Thu Jul 10, 2008 10:36 am
Re: Adding props as playable units
Change the MSH call.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Adding props as playable units
eh, thats not so easy
if you give it a weapon, it would search for the hp_weapons as example, which are not included in the autoturret
you could look into dann boeings assets, he used other droids as units too
if you give it a weapon, it would search for the hp_weapons as example, which are not included in the autoturret
you could look into dann boeings assets, he used other droids as units too
-
bokkenblader56
- Private First Class
- Posts: 85
- Joined: Mon Aug 04, 2008 7:20 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: South Carolina
- Contact:
Re: Adding props as playable units
Couldn't that be solved by not giving a weapon any geometry?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding props as playable units
Yeah, it really is that easy. As long as you (like the post above mine mentions) don't have any weapon geometry, you're going to be fine just using a plain 'ol mesh as a unit.DarthD.U.C.K. wrote:eh, thats not so easy
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Adding props as playable units
Alright, but how do you delete weapon geometry and change the MSH call?
What is a MSH call?
Oh, and I've remembered: the map was an early version of WGO v. SotG; and also I remembered that the GO-TO droid in the Convo Pack's KotOR Tantive IV Hunt mode is also pretty much the same shape.
What is a MSH call?
Oh, and I've remembered: the map was an early version of WGO v. SotG; and also I remembered that the GO-TO droid in the Convo Pack's KotOR Tantive IV Hunt mode is also pretty much the same shape.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding props as playable units
This is G0-T0's .odf:
You'll note that he doesn't need any special animations, but you'll also note that several movement values were edited so that things like "crouch" or "roll" don't look too weird. All you need to do to have no geometry for your weapon is either to have the GeometryName = "" or just not have the line there at all (a la "force powers").
Hidden/Spoiler:
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Adding props as playable units
Or you could replace the remote droid .msh and remove acceleration/ movement capabilities. Thats by far the simplest solution.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Adding props as playable units
Replace it with what?
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Adding props as playable units
The remote droid: Replace its .msh with the turret .msh, and remove the moving section or place all the stats as zero. Except the entier idea I think is bad, because that leaves your character vulnerable to attack, unless you want just a turret as a unit.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding props as playable units
How is that simple? That doesn't make a playable unit and it's basically the exact same thing that he's been told to do already (except what he's already been told to do is for a unit, not a dispensable vehicle).Grev wrote:Or you could replace the remote droid .msh and remove acceleration/ movement capabilities. Thats by far the simplest solution.
-
obiboba3po
- 2008 Most Technically Challenging Avatar
- Posts: 2376
- Joined: Tue Feb 12, 2008 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: NJ, USA
Re: Adding props as playable units
can i switch the question around? is it possible to make playable units props? (or vehicles?) i tried putting a vehicle msh in a prop odf and it didnt work...
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding props as playable units
You can switch the question around but that's also hijacking the topic. The answer is yes, you can, and often it'll have to be an animated prop (look it up).
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Adding props as playable units
Isn't the question how to make a clone snipers auto turret playable? And doesn't that make it playable?Maveritchell wrote:How is that simple? That doesn't make a playable unit and it's basically the exact same thing that he's been told to do already (except what he's already been told to do is for a unit, not a dispensable vehicle).Grev wrote:Or you could replace the remote droid .msh and remove acceleration/ movement capabilities. Thats by far the simplest solution.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding props as playable units
Grev wrote:Isn't the question how to make a clone snipers auto turret playable? And doesn't that make it playable?
Yes, it does, but it doesn't address the original question, and it's not any easier or harder to do it that way, so it's just potentially confusing to the OP.Fiodis wrote:Does anyone know how to add a clone sniper's autoturret as a playable unit?
There seems to be a lot of confusion about making unanimated meshes (or meshes without skeletons) playable; e.g. "OMG I just got R2 playable!" The truth is there's nothing difficult about it, you just set the GeometryName in the unit's .odf to be whatever geometry you want. You're not going to have issues when you're setting that geometry to something simpler, like a model without any skeleton (i.e. a prop). The only time switching unit models can get tricky and cause animation problems is when the model being switched to is more complicated or has a different skeleton, like trying to use a clone trooper with Grievous's animations.
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Adding props as playable units
So just as a sidenote, this could be used to make pushable objects right?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding props as playable units
Yep, this is really the only way to do it. Make a bunch of "props" as units, put them on a local team, and force spawn them to whatever locations.Grev wrote:So just as a sidenote, this could be used to make pushable objects right?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Adding props as playable units
Well, I suppose for now I'll just edit the recon droid's tga and give it infinite fuel. I'll try that Geometry trick on a later model; despite what Maveritchell says, it sounds complicated, even if it's not.
Well, thanks for the help!
Well, thanks for the help!
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Adding props as playable units
fuel??
an unit doesnt have fuel
@maveritchell: wow, i didnt know that
and its not complicated, maveritchell even posted an odf-reference
an unit doesnt have fuel
@maveritchell: wow, i didnt know that
and its not complicated, maveritchell even posted an odf-reference
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Adding props as playable units
Well, then, I'll try it.
And if not "running out of fuel", what else would you call it when your energy drains if you're a recon droid? I always thought of that as fuel.
And if not "running out of fuel", what else would you call it when your energy drains if you're a recon droid? I always thought of that as fuel.
