Page 2 of 4
Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 11:14 am
by nathan2055
OK, made the adjustment and exported. Linked in successfully, but there are no physics!
EDIT: YES!!!!!!!! I fixed the physics so they are set up correctly, and I can link to the small cube:
- Show Spoiler

- It's a start
- blender3.png (68.31 KiB) Viewed 3747 times
I'm going to see if I can make a bigger cube, and maybe add a Maintainer's Mark.
Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 11:32 am
by nathan2055
Hmm, why do .blend1 and .blend2 files keep appearing in my Age directory?
Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 11:45 am
by Branan
It's a backup file created by blender when you save.
Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 11:57 am
by nathan2055
Ah! Is there any way to make it not do that, or have the files be in a different directory?
Also, how do you change the cursor to be a mouse so you can move around the camera?
Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 1:00 pm
by diafero
Just as a hint, please do not put images into spoiler tags. Large images get scrollbars automatically, and with the spoiler, this makes for a double scroll-bar and having to look at the image through a 150 pixel high gap. Not so useful

Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 4:00 pm
by nathan2055
diafero wrote:Just as a hint, please do not put images into spoiler tags. Large images get scrollbars automatically, and with the spoiler, this makes for a double scroll-bar and having to look at the image through a 150 pixel high gap. Not so useful

Yeah, you're right. Oops.

Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 4:05 pm
by Lontahv
nathan2055 wrote:I'm going to see if I can make a bigger cube, and maybe add a Maintainer's Mark.
Sounds good for a test age. Keep in mind that the modifier will only add the coordinates in your KI and not the visual.
Re: PyPRP2 Questions from a Noob
Posted: Mon May 30, 2011 7:43 pm
by tachzusamm
nathan2055 wrote:OK, made the adjustment and exported. Linked in successfully, ...
Ok, I see it's already solved.
Older hint, which can now be ignored:
- Show Spoiler
nathan2055 wrote:Hmm. I exported to URU's dat folder, but when I type /link $Age, I get shown a black screen instead of linking. The cursor is there, but I can't do anything, and a random hotspot appears on the left.
This effect appears when the file "$test_District_Scene.prp" is not exported to the dat folder as well, but elsewhere.
Lontahv already fixed this bug, but did not release a new version yet.
EITHER manually move the exported file "$test_District_Scene.prp" to your dat folder (the file should be found one folder above dat, or search for it),
OR edit the file "exporter.py" in Blender/2.57/scripts/addons/PyPRP2 and replace line 71
Code: Select all
rm.WritePage(os.path.join(os.path.dirname(path),fullpagename), page)
with this:
Code: Select all
rm.WritePage(os.path.join(path,fullpagename), page)
using a plain-text editor like notepad (not Word); be sure to keep the same indention (4 spaces). Then restart Blender to make the change take place.
(In the first place, I did not see page 2 of this thread. Then I posted, realized, that a solution was found, then I removed my post - resulting in hiding page 2 for me again. The I re-posted again, giving me page 2 again ... well, a bit weird. Not sure what's going on.)
Re: PyPRP2 Questions from a Noob
Posted: Tue May 31, 2011 12:18 am
by Fuchida
thanks tachzusammen, I will edit that in my exporter.py.
Re: PyPRP2 Questions from a Noob
Posted: Tue May 31, 2011 11:38 am
by nathan2055
Lontahv wrote:nathan2055 wrote:I'm going to see if I can make a bigger cube, and maybe add a Maintainer's Mark.
Sounds good for a test age. Keep in mind that the modifier will only add the coordinates in your KI and not the visual.
Ah! That makes since. Edit time!
tachzusamm wrote:nathan2055 wrote:OK, made the adjustment and exported. Linked in successfully, ...
Ok, I see it's already solved.
Older hint, which can now be ignored:
- Show Spoiler
nathan2055 wrote:Hmm. I exported to URU's dat folder, but when I type /link $Age, I get shown a black screen instead of linking. The cursor is there, but I can't do anything, and a random hotspot appears on the left.
This effect appears when the file "$test_District_Scene.prp" is not exported to the dat folder as well, but elsewhere.
Lontahv already fixed this bug, but did not release a new version yet.
EITHER manually move the exported file "$test_District_Scene.prp" to your dat folder (the file should be found one folder above dat, or search for it),
OR edit the file "exporter.py" in Blender/2.57/scripts/addons/PyPRP2 and replace line 71
Code: Select all
rm.WritePage(os.path.join(os.path.dirname(path),fullpagename), page)
with this:
Code: Select all
rm.WritePage(os.path.join(path,fullpagename), page)
using a plain-text editor like notepad (not Word); be sure to keep the same indention (4 spaces). Then restart Blender to make the change take place.
(In the first place, I did not see page 2 of this thread. Then I posted, realized, that a solution was found, then I removed my post - resulting in hiding page 2 for me again. The I re-posted again, giving me page 2 again ... well, a bit weird. Not sure what's going on.)
Don't worry. The error was actually the fact that I exported it in MOUL format by mistake

. Luckily, I fixed the problem. I'll upload a screenshot later.