converting non-static object to static

builders help builders

Moderator: eTux

Post Reply
User avatar
mugs
Admin
Admin
Posts: 13411
Joined: 28 Oct 2002 03:49
Location: Florida, USA

converting non-static object to static

Post by mugs » 02 Sep 2016 21:29

Is there a way to take a puzzle item and convert it into a static object? I want to use a flipmap on the room containing the puzzle item, but of course it won't flip the object. So my thought was to create a copy of the object as a static. Any ideas on this one?
Of doggie candle fame!

User avatar
DJ Full
Master Chatter
Master Chatter
Posts: 6804
Joined: 02 Nov 2010 04:02

Re: converting non-static object to static

Post by DJ Full » 02 Sep 2016 22:19

Make a wad with your puzzle and any static slot. Save.
Open that in StrPix, scroll to the puzzle, export to mqo.
Scroll to the static slot, import mqo as static, fix lights.
Don't add or delete meshes between export and import.
If you do that, texturing infos may get messed up.

This also works in reverse to make moveable from static.
MAKE WIDESHOT GREAT AGAIN

User avatar
mugs
Admin
Admin
Posts: 13411
Joined: 28 Oct 2002 03:49
Location: Florida, USA

Re: converting non-static object to static

Post by mugs » 02 Sep 2016 23:02

Thank you dearheart! off to give it a go!
Of doggie candle fame!

User avatar
Fluen
Member
Member
Posts: 884
Joined: 01 Mar 2006 18:37
Location: Elsinore, Denmark

Re: converting non-static object to static

Post by Fluen » 03 Sep 2016 17:19

Afterwards compare the movable and the static version of your object to make sure, they are both in the same place and height. My basic rule for object-making and -altering is: test, test, test.

If DJFull's suggested method (agaist expectation) causes changes in object placing, I have an alternative suggestion. But I'll wait with that.

User avatar
mugs
Admin
Admin
Posts: 13411
Joined: 28 Oct 2002 03:49
Location: Florida, USA

Re: converting non-static object to static

Post by mugs » 05 Sep 2016 03:05

Thanks Fluen - the conversion was a success and I'm happy with the results. Appreciate your offer for help!
Of doggie candle fame!

User avatar
DJ Full
Master Chatter
Master Chatter
Posts: 6804
Joined: 02 Nov 2010 04:02

Re: converting non-static object to static

Post by DJ Full » 05 Sep 2016 08:55

Such import may change object position if the target slot had animations.
In such case open WadMerger, delete frames but one and set its XYZ to 0,0,0.
MAKE WIDESHOT GREAT AGAIN

User avatar
psiko
Member
Member
Posts: 696
Joined: 02 Dec 2001 02:56

Re: converting non-static object to static

Post by psiko » 06 Sep 2016 23:43

Mugs, you do not need to do anything to the puzzle items/holes/done: as with all animatings and moveables, even if not present in the visualization of the flipped room in roomeditor, they will be in game even when the flipped room is on :) you can't place moveables in the flipped room because it will keep the moveables from the unflipped version :) If you want anything more in the flipped room, just put invisible as ocb for such moveables (or use actions/flipeffects that comes with ngle) and trigger them once the flipped room is on :)

User avatar
mugs
Admin
Admin
Posts: 13411
Joined: 28 Oct 2002 03:49
Location: Florida, USA

Re: converting non-static object to static

Post by mugs » 07 Sep 2016 02:47

oh! what a clever solution, Psiko! Thanks for that tip.
Of doggie candle fame!

User avatar
vimmers
Master Chatter
Master Chatter
Posts: 11369
Joined: 15 Mar 2002 16:10
Location: denmark

Re: converting non-static object to static

Post by vimmers » 07 Sep 2016 16:38

Fluen wrote:. But I'll wait with that.
why not share it now ???

User avatar
Fluen
Member
Member
Posts: 884
Joined: 01 Mar 2006 18:37
Location: Elsinore, Denmark

Re: converting non-static object to static

Post by Fluen » 07 Sep 2016 17:31

To avoid confusion. DJFull's method worked. There is a saying about too many cooks...

User avatar
DJ Full
Master Chatter
Master Chatter
Posts: 6804
Joined: 02 Nov 2010 04:02

Re: converting non-static object to static

Post by DJ Full » 07 Sep 2016 20:01

Well but my method had worked already, so we can test yours :)
MAKE WIDESHOT GREAT AGAIN

User avatar
Fluen
Member
Member
Posts: 884
Joined: 01 Mar 2006 18:37
Location: Elsinore, Denmark

Re: converting non-static object to static

Post by Fluen » 08 Sep 2016 14:37

I would simply have suggested, that the static to be overwritten should be furniture7 (a pedestal) from Catacombs. It's perfectly centered and has its bottom at zero height. As a result it won't add any displacement to the overwriting object.

I use it every time, I make a static.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests