This is what I got and it looks more "exploded" than correctly moved:
.
(there's a certain chance that the offsets where assigned to the wrong objects)
Because I don't have any clue about the "ordering rules" of
for curSelObj in bpy.data.objects:
(some oddities when logging the filenames, need to check that)
Another possibility: the offsets are not the offsets we search for.
(btw: first 6 offsets are identical, but that's not the problem here, I think.)
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Backyard Wrestling - Level Ripping
- shakotay2
- MEGAVETERAN
- Posts: 4291
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1151 times
- Been thanked: 2244 times
Re: Backyard Wrestling - Level Ripping
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Henchman800
- mega-veteran
- Posts: 308
- Joined: Fri Nov 16, 2018 5:00 pm
- Has thanked: 72 times
- Been thanked: 34 times
Re: Backyard Wrestling - Level Ripping
Haha omg yeah....can't really make out, if just any object is placed right ^^
Shouldn't the order just be like the 3ds-files list i posted?
Im super excited for your next try man
- shakotay2
- MEGAVETERAN
- Posts: 4291
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1151 times
- Been thanked: 2244 times
Re: Backyard Wrestling - Level Ripping
yeah, I had a bug where about 25 objects didn't "follow the rules" which spoiled the whole thing - fixed and set them to absolute position 0.0 0.0 0.0 (+ rel pos) all.
. rotations (if any) not applied; chair need to be rotated by 90° for example (in one axis at least)
. rotations (if any) not applied; chair need to be rotated by 90° for example (in one axis at least)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Henchman800
- mega-veteran
- Posts: 308
- Joined: Fri Nov 16, 2018 5:00 pm
- Has thanked: 72 times
- Been thanked: 34 times
Re: Backyard Wrestling - Level Ripping
(Sorry...im doing this from my phone, cuz im filming in another city )shakotay2 wrote: ↑Wed Jan 22, 2020 2:59 pm yeah, I had a bug where about 25 objects didn't "follow the rules" which spoiled the whole thing - fixed and set them to absolute position 0.0 0.0 0.0 (+ rel pos) all.
rotations (if any) not applied; chair need to be rotated by 90° for example (in one axis at least)
The stuff i marked red seem to have the right Positions! Great job man
You seem to have the Hollywood Swing correct already
The long planes on your screenshots right hold Alpha Images as grass leaves.
Ohhh man, we are so close
Thank you for putting work into it man
EDIT: some of the objects should share the same location, singe they are demaged versions of destructable objects. Like the porch pillars, house Walls and the boat.
- Henchman800
- mega-veteran
- Posts: 308
- Joined: Fri Nov 16, 2018 5:00 pm
- Has thanked: 72 times
- Been thanked: 34 times
Re: Backyard Wrestling - Level Ripping
So is there two ways of storing coordinates and Rotation data for objects in the level files?
...or this table
Could (if there is) two ways of coordinate/Rotation storage be used for positioning Static objects and the ones that are moved by physics/animation?
- shakotay2
- MEGAVETERAN
- Posts: 4291
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1151 times
- Been thanked: 2244 times
Re: Backyard Wrestling - Level Ripping
Why do you think so?Henchman800 wrote: ↑Fri Feb 21, 2020 3:09 am So is there two ways of storing coordinates and Rotation data for objects in the level files?
I dunno, I somehow lost the focus on the problem after 4 weeks - there's hundreds of 15 minutes jobs I do (well, to be honest, this one was a two hours job plus a hard week of research for REO in summer 2018 ).
You may have a look for yourself at the result:
2nd-try-load_3ds.zip
move script:
Code: Select all
for vertex in curSelObj.data.vertices:
#print(vertex.co)
vertex.co.x += xpos[i]; vertex.co.y += ypos[i] ; vertex.co.z += zpos[i]
i += 1
(Can't recall about the 25 objects I spoke of before. I expanded/changed the signature once or twice - maybe it was simply wrong before, who knows... )
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Henchman800
- mega-veteran
- Posts: 308
- Joined: Fri Nov 16, 2018 5:00 pm
- Has thanked: 72 times
- Been thanked: 34 times
Re: Backyard Wrestling - Level Ripping
Since there is two categories of objects:
-static meshes like the house or the trees
-moveable objects like weapons and damaged versions
To be honest...i dunno...
Danke dir dafür alterwell, to be honest, this one was a two hours job plus a hard week of research for REO in summer 2018 .
Vorallem dafür, dass du deine Zeit nicht nur für mein Fan Projekt, sondern auch für alle community Mitglieder opferst um so etwas möglich zu machen.
Danke!
I definitely will!You may have a look for yourself at the result
Im pretty busy with finishing a movie till Deadline on 28th of February, though.
However i might load it into blender tonight