I was trying to make a London version of Variant by replacing all the buildings with triangle fans (using the same vertices), but it won't work. Here's the ar for the current alpha (very early stages):
https://www.dropbox.com/s/lbdbi8aepq43cgo/ALondon.ar
It keeps spitting out an "Invalid cmd" error, followed by the more common "memMemory Allocator: find heap failed" error. Can you please tell me what I did wrong, and how to get it to work?
Off-Topic: Why is it that when I try to insert an emoticon, that it adds it at the end of my post, instead of where I want it to go?
City won't work
Invalid cmd error
-
- MM2X Super Active User
- Posts: 2405
- Registered for: 16 years 3 months
- Location: Canada
- Been thanked: 1 time
Well if you want a variant version you need to do a lot of editing.
Roofs have triangle fans, facades have vertices and UV mapping, so you need to remove all facades, and flatten all roofs and swap them to terrain versions of the triangles fans
Roofs have triangle fans, facades have vertices and UV mapping, so you need to remove all facades, and flatten all roofs and swap them to terrain versions of the triangles fans
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer
[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer
[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]
- cody
- MM2X Occasional User
- Posts: 341
- Registered for: 18 years 10 months
- Location: United States
- Contact:
That's what I'm doing. I'm sure it's the easiest way, if all the original vertices have to be used:
1. Open the city in PSDL Viewer.
2. Start with a block (i.e. Block 0x18).
3. Remove all facades (0x5e) and their respective bounds, leaving the roofs.
4. Add triangle fans, using the exact vertices of those roofs (i.e. 0x32, vertices: 0, 1, 2, 3).
5. Remove the roof attributes, leaving triangle fans in their place.
6. Repeat steps 1-5 for each block with buildings, until you've removed all the buildings.
I don't know what would cause an invalid cmd error.
1. Open the city in PSDL Viewer.
2. Start with a block (i.e. Block 0x18).
3. Remove all facades (0x5e) and their respective bounds, leaving the roofs.
4. Add triangle fans, using the exact vertices of those roofs (i.e. 0x32, vertices: 0, 1, 2, 3).
5. Remove the roof attributes, leaving triangle fans in their place.
6. Repeat steps 1-5 for each block with buildings, until you've removed all the buildings.
I don't know what would cause an invalid cmd error.
My Member Number is prime. LOL!
-
- MM2X Super Active User
- Posts: 2405
- Registered for: 16 years 3 months
- Location: Canada
- Been thanked: 1 time
MMClone can read it fine. So maybe try replacing london.psdl with londonA.psdl. It should work =/
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer
[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer
[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]