ODF switch
Moderator: Moderators
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
ODF switch
It was a big mistake when I acedently changed my odf's to sketchup properties. I was going through my mod tools and I acedently right clicked on a odf when to properties and set it as a sketchup model. Unfortianatly it says "does not appear to be a sketchup model. That however is not the big problem. Now when I try and open a mod/map in zero edit, all the odf's in it can't be opened. I was wondering if following this tutorial below, or anything else you know of will fix this.
http://www.liutilities.com/products/win ... files/ODF/
Thanks.
http://www.liutilities.com/products/win ... files/ODF/
Thanks.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: ODF switch
That ODF designation is different from the one used for SWBF2.
As for your problem, I'm not sure how you can do this series of things on "accident," though I understand that you didn't want this to be the outcome when you changed the ODFs. When you say you "set it as a sketchup model," what do you mean (I'm assuming you're talking about Google Sketchup). Did you change what program opened the ODFs? Did you change the file extension? I'm not sure why you would change the ODFs, as they have nothing to do with the model, but you have to clarify your self, explain the exact process you went through, to get any help.
As for your problem, I'm not sure how you can do this series of things on "accident," though I understand that you didn't want this to be the outcome when you changed the ODFs. When you say you "set it as a sketchup model," what do you mean (I'm assuming you're talking about Google Sketchup). Did you change what program opened the ODFs? Did you change the file extension? I'm not sure why you would change the ODFs, as they have nothing to do with the model, but you have to clarify your self, explain the exact process you went through, to get any help.
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
What happened was I was looking to see what other programs where compatible with the model. (I had just downloaded sketchup pro, and was trying to change the odf to an obj for editing in pro) I right clicked and opened up the properties window. I ment to click on obj, for what it opens with, and acedently clicked on sketchup. Now whenever I try and open, download, or do anything with an obj it thinks it's a sketchup model for it's properties. 
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: ODF switch
odfs are text files
mshs are the actual model file
mshs are the actual model file
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
I know that now, but I wasn't that smart a month ago. 
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: ODF switch
I'm still not quite sure what you mean. Can you paste a picture of the properties window that shows exactly what you did?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: ODF switch
So you're saying you can no longer open ODFs as text documents? If so, right-click on one and select 'Open With...'. Choose the program you want to open the file and check the 'always use this program' checkbox.(RAPTOR)BENSTWO{SGT} wrote:...Now whenever I try and open, download, or do anything with an obj it thinks it's a sketchup model for it's properties.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: ODF switch
That's what I was thinking, but had he done just that, it shouldn't be causing the problems that he's having.[RDH]Zerted wrote:So you're saying you can no longer open ODFs as text documents? If so, right-click on one and select 'Open With...'. Choose the program you want to open the file and check the 'always use this program' checkbox.(RAPTOR)BENSTWO{SGT} wrote:...Now whenever I try and open, download, or do anything with an obj it thinks it's a sketchup model for it's properties.
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
The point is that I can't open worlds in zero edit with odf's in it, because sketchup mod tools are not compatible with mod tools/zero edit. Here are some pics.
http://img142.imageshack.us/my.php?imag ... re1yg8.png
Here is BF2_Modtools/Assets/Worlds/COR/ODF
http://img355.imageshack.us/my.php?imag ... re2ll7.png
Here is when I right click and click properties.
http://img135.imageshack.us/my.php?imag ... re3dh5.png
Here is the final image where I clicked change, and chose sketchup.
http://img142.imageshack.us/my.php?imag ... re1yg8.png
Here is BF2_Modtools/Assets/Worlds/COR/ODF
http://img355.imageshack.us/my.php?imag ... re2ll7.png
Here is when I right click and click properties.
http://img135.imageshack.us/my.php?imag ... re3dh5.png
Here is the final image where I clicked change, and chose sketchup.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: ODF switch
Right, then like Zerted said, you should go to the same screen you had in the last picture and choose notepad (or notepad++, etc.; the program you would edit ODF files with) from the list.
However, like I was saying, I don't think that will resolve your problem (though it may). If it doesn't fix the problem, do me a favor and look at the folder window, go to the "Tools" tab at the top, and select "Folder Options." Inside this window, click the "View" tab and on the list, uncheck the box next to "Hide extensions for known file types." Now recreate the second picture and let me see it.
However, like I was saying, I don't think that will resolve your problem (though it may). If it doesn't fix the problem, do me a favor and look at the folder window, go to the "Tools" tab at the top, and select "Folder Options." Inside this window, click the "View" tab and on the list, uncheck the box next to "Hide extensions for known file types." Now recreate the second picture and let me see it.
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
Ok here are some pics. Also I tried both things you recommended but it didn't work completely. It didn't all fail as one. I was able to open the odf, and see it's properties with word pad. However I couldn't open it in zero edit. I also did the tools/folder options/view, and unchecked the box you were talking about. Here are the pics you asked for.
http://img143.imageshack.us/my.php?imag ... re4ri5.png
This is me in zero edit.
http://img291.imageshack.us/my.php?imag ... re5xg1.png
This is when I changed the properties to wordpad.
http://img370.imageshack.us/my.php?imag ... re6dj5.png
Last of all this is when I try and open the odf outside of zero edit.
http://img143.imageshack.us/my.php?imag ... re4ri5.png
This is me in zero edit.
http://img291.imageshack.us/my.php?imag ... re5xg1.png
This is when I changed the properties to wordpad.
http://img370.imageshack.us/my.php?imag ... re6dj5.png
Last of all this is when I try and open the odf outside of zero edit.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: ODF switch
Use notepad to open odfs, not word pad
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
Isn't note pad only for a Mac (I have windows) Also if not could you please send me a link for a download.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: ODF switch
Notepad is in windows
It should be in Accessories in All Programs
It should be in Accessories in All Programs
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
What's the difference?
Also could you give me a download link please? 
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: ODF switch
Word Pad adds some things to your script (something to do with brackets and whatnot)
and there is no download link for it, you should already have it (you're talking about notepad right?)
and there is no download link for it, you should already have it (you're talking about notepad right?)
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
Well, I do have notpad. However wordpad is also a text file. (same as notepad.) Do I still need to change it? Also my main goal however is how to open odf's in zero edit, becuase when I changed the properties it wouldn't open in zero edit, becuase it doensn't reconise/isn't compatible with it.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: ODF switch
I can't help you with the Zero Editor problem, but Wordpad adds in extra characters that can and will crash your map.
Notepad does not add these characters
Notepad does not add these characters
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: ODF switch
use notepad++ (
)
it can strukture many different filetypes (custom format for commented out lines etc.)
it can strukture many different filetypes (custom format for commented out lines etc.)
- (RAPTOR)BENSTWO{SGT}
- Command Sergeant Major

- Posts: 280
- Joined: Tue Jul 22, 2008 3:47 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: ODF switch
Well, I changed the properties to notpad and it won't even open now. However it does open with word pad. Here is what it looks like.
http://img146.imageshack.us/my.php?imag ... re7kd8.png
When properties of file are changed to notepad.
http://img209.imageshack.us/img209/5076/picture8tu3.png
Message I get when I try and open it.
http://img146.imageshack.us/my.php?imag ... re7kd8.png
When properties of file are changed to notepad.
http://img209.imageshack.us/img209/5076/picture8tu3.png
Message I get when I try and open it.
