Views: 19,996,353 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-20-24 12:22 AM |
Guest: |
Main - Posts by Fiachra |
(post in restricted forum) |
Fiachra |
| ||
Local moderator Level: 65 Posts: 22/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Are you definitely using the latest version? I thought I had got that working. I know sometimes the last string can become a bit corrupted but the others should be fine, including shrinking and expanding string entries.
Make sure you're downloading the source and compiling it - the executable doesn't be updated when new code is added. If the problem is with the newest version (rev. 26) can you post exactly what happens and how to reproduce the error. |
(post in restricted forum) |
Fiachra |
| ||
Local moderator Level: 65 Posts: 24/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Do you know what files are used for the title image? I looked for it but couldn't find it. Also, I'm not sure isc, icg, icl (minimaps) are the same as nsc, ncg and ncl - the screen, graphic and palette of all the other images though I'm sure they're very similar, if not the same with a different extension. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 25/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Are those the steep slopes that go down to the water? That's what the game does with steep slopes. The collision itself is fine. You should be able to change their collision type using the KCL Editor to 'climbable hill' if you can figure out that number.
|
Fiachra |
| ||
Local moderator Level: 65 Posts: 26/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
That is weird, haven't seen that before. I was able to fix that face by changing its collision type (from 0 to 6 in Castle Grounds, will change for other levels). It's plane number 678 in the KCL Editor. Can you try importing the same model with blank's script and see if the problem happens there? |
Fiachra |
| ||
Local moderator Level: 65 Posts: 27/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Ray: What scale did you import your model with? I imported with scale 1 and didn't move anything. I went to the same place as the video and it was fine. What happens if you get rid of those black balls, it looked like there was something wrong with them? |
Fiachra |
| ||
Local moderator Level: 65 Posts: 28/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Ray and Skelux: Any problems seem to be caused by the collision type - blank's script tries to guess which type to use based on shared textures (though this isn't perfect either) whereas in the editor I just set them all to zero. Unfortunately yous'll have to manually edit the .kcl collision file using the KCL Editor. Alternately if your model has perfect collision (test it thoroughly to check) with a revision older than rev. 23, you can stick to using that for your collision.
jdpgamer: Here's a tutorial: http://ankhsvn.open.collab.net/downloads Scroll down to "Check out a Solution from Subversion". You'll need at least Visual Studio 2008, the Express edition'll do and is free and AnkhSVN (or another plugin but this one's good). |
Fiachra |
| ||
Local moderator Level: 65 Posts: 29/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Posted by Gericom Thanks, that's good then, this can be added in a later version. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 30/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Posted by Skelux It's in ObjToKcl.cs - Line 198: kcl.Write16(pos + 14, (ushort)0); Just change that 0 to the collision type you want. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 31/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Posted by Skelux I've added the option to use the old method when importing a model (rev. 27) and some other changes - see second post. Posted by Skelux Most (if not all) levels have a collision type for the death floor - you can use the KCL editor to set the lower faces of your level to be the death floor |
Fiachra |
| ||
Local moderator Level: 65 Posts: 32/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
The changes between rev. 23 and 24 were:
This line: if (cross(v.sub(u), w.sub(u)).norm_sq() < 0.001) { continue; } //#TODO: find a better solution was removed as it was getting rid of very small faces. Also sometimes num_buckets could be equal to zero if there were fewer than 256 triangles in the model int result = (int)(ix*this.magic_x + iy*this.magic_y + iz*this.magic_z) % this.num_buckets; so this has been fixed to set num_buckets = 1 not 0 if there are fewer than 256 faces. Edit: I have now added the first line back in but you can now configure the value it uses - 0 to keep all faces, default value is original 0.001. For your Bob-Omb Islands model the value 0.0005 seems to sort out both the hill and the raised bumps around the roof of the floating fort. Please see second post (revision 29 07/01/2013). |
Fiachra |
| ||
Local moderator Level: 65 Posts: 33/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Yeap
I haven't been working on it as much though this past week as I'm working on porting a level from Super Mario Sunshine to SM64DS. So far I've finished simplifying the model from over 16000 faces to 3750 (the maximum the DS can handle, a lot higher than I previously thought) and I'm nearly done with the re-texturing. I'm currently adding an interface for the texture collision data which hopefully will allow adding and removing from selected areas and renaming the material to use as well as the scale, rotation and translation values. |
Fiachra |
|
Fiachra |
| ||
Local moderator Level: 65 Posts: 35/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Has anyone worked out the texture animation data, specifically the last values at offset 0x18 (below)?
The documentation says the last value is 4 bytes but it's actually 2 ushort values. For most texture animations they're the same as the translation values table start index and amount of values but then in others it's just 1, 0 and then in others it seems to be the total length of the translation values table. I'm trying to allow you to remove a specific texture animation from an area but I think this is causing problems. If no one knows, I'll just leave it as editing existing values - adding/removing scale, rotation and translation values and setting the name (can resize) or removing all of them. Edit: Changing doesn't seem to do anything at all. I can delete individual texture animations if it not the first one, otherwise it deletes the first one but the ones after it just appear as noise in their main colour even though their values appear to be fine when read by the editor. Edit: Finally got that working, now I need to try and allow adding new texture animations. Finally finished the texture animation editor (rev. 30). You can edit or remove existing texture animations including their scale, rotation and translation values as well as adding new ones. Also added option to change minimap co-ordinate scale. Mega-Mario: Is there anything else you think needs added? Edit: Just merged above post. Also, this is the level I was talking about, though the water looks better now than in the video. http://www.youtube.com/watch?v=Llq53_P8Tow |
Fiachra |
| ||
Local moderator Level: 65 Posts: 36/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
The only thing that isn't fully working of the stuff I've added is model exporting - there seem to be problems with quads. I'll try and fix that tomorrow but if that doesn't work, I say just release it as it is, it's got plenty of other new features, most importantly the fixed collision |
Fiachra |
| ||
Local moderator Level: 65 Posts: 37/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Download this plugin:
https://sites.google.com/site/messiaen64/level-importer/ObjExporter.rb?attredirects=0 Place it in C:/Program Files/Google/Google SketchUp 8/Plugins/ Open Sketchup, Plugins>OBJ Exporter Make sure you choose "Export front faces", not "Guess which faces to export". |
Fiachra |
| ||
Local moderator Level: 65 Posts: 38/1065 EXP: 2237126 Next: 98502 Since: 12-15-12 From: Ireland Last post: 2154 days ago Last view: 104 days ago |
Got model exporting working I made a mistake with working out the amount of faces in quadrilateral strips, messed up BODMAS. I had this:
4+(N-1)*2 vertices per N quads ((N/2)-4)+1 Quads. per N Vertices instead of 4+(N-1)*2 vertices per N quads ((N-4)/2) + 1 Quads. per N Vertices Some textures are upside down or repeated incorrectly but that's because the BMD format supports texture features that OBJ doesn't, that can't be helped. Also fixed the issue with exporting models that had a material without a texture that caused the textures to become swapped around. Code committed - rev. 31 24/01/2013 I had made improvements to the minimap editor that appeared to be working perfectly but it seems that resolution and other information about the minimaps is hardcoded into the game somewhere. Eg. just swapping playroom's minimap with Bob-Omb Battlefield's doesn't work. As Mega-Mario would say: Blarg! The changes though should allow it to be used as a general 2D graphics editor with some changes. |
(post in restricted forum) |
(post in restricted forum) |
Main - Posts by Fiachra |
Page rendered in 0.031 seconds. (2048KB of memory used) MySQL - queries: 21, rows: 139/139, time: 0.011 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |