AO baked ground plates for your mod!
Moderators: MR.D, Moderators
Re: AO baked ground plates for your mod!
I'm not familiar with that setting where is it located within spring settings?
Re: AO baked ground plates for your mod!
Its the ground decals slider in springsettings.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: AO baked ground plates for your mod!
noooo don't use that plate! lol
shit, I'm sorry, but I keep that stuff in there commented out because for a lot of them that have it, I've already sized the plates and stuff. Dangit, I'm sorry.
shit, I'm sorry, but I keep that stuff in there commented out because for a lot of them that have it, I've already sized the plates and stuff. Dangit, I'm sorry.
Re: AO baked ground plates for your mod!
I tried 0 and I tried 5. Both crashed.
Re: AO baked ground plates for your mod!
Forb, would you mind sending me the .s3o and the lua/fbi file? I suspect the bug may be in my 3do/s3o to obj converter routine.
Snoop, got a stack trace? Or even an Infolog?
Snoop, got a stack trace? Or even an Infolog?
Re: AO baked ground plates for your mod!
I updated my gfx driver and it works now.
Re: AO baked ground plates for your mod!
Hi Beherith, should this work with luadefs? I've installed all the programs and copied my s3o's and def into respective folders, but it crashes out when I try and run it. It does spew out a "unitname".obj befor it does so, but it won't leave the python window open long enough to see what the error is...
Any ideas?
aGorm
Any ideas?
aGorm
Re: AO baked ground plates for your mod!
run it from the console, instead of double clicking to see the error message. It should work with luadefs too.
Re: AO baked ground plates for your mod!
small request,
would it be possible to limit the maximum blackness? e.g. when the grounddecal is not 100% exact under the building you see those totally black spots. Imo there should be a last stage at the end of the texture generation that cuts all blackness above a threshold (AO should never be 100% pure black).
(I know I am late)
would it be possible to limit the maximum blackness? e.g. when the grounddecal is not 100% exact under the building you see those totally black spots. Imo there should be a last stage at the end of the texture generation that cuts all blackness above a threshold (AO should never be 100% pure black).
(I know I am late)
Re: AO baked ground plates for your mod!
jK, edit line 444 from the .py script.
Re: AO baked ground plates for your mod!
Code: Select all
Working in : C:\AO_Groundplate
Definition type is lua
fbi parsed bearbase.lua
objtype s3o
header: (0, 70.0, 50.0, -0.0, 16.0, 0.0, 52, 0, 152796, 152813)
working on: bearbase.lua vertices: 3587 parts: 6
found .obj in xml
found .obj in xml
found .bmp in xml
"C:\Program Files (x86)\Santiago Orgaz\xNormal\3.17.0\x64\xnormal.exe" xnormalsettings.xml
Traceback (most recent call last):
File "C:\AO_Groundplate\aobaker.py", line 434, in <module>
img=Image.open(outfname.partition('.')[0]+'_ao_occlusion.bmp')
File "C:\Python26\lib\site-packages\PIL\Image.py", line 1952, in open
fp = __builtin__.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'bearbase_ao_occlusion.bmp'
>>>
Re: AO baked ground plates for your mod!
Tyrian nick got the same error, for him xnormal reinstall helped. Does xnormal throw any exceptions? Does it even launch (should take a while to generate, it has a splash screen and everyrthing)?
Is the xnormal path correct?
Is the xnormal path correct?
Re: AO baked ground plates for your mod!
OK, sorted the xnormal path (forgot the last / )
But now I'm getting a message saying:
However, if I look in C:\Python26\lib\site-packages\PIL\ I can see Image.py in there so I don't know why it thinks it's not there...
But now I'm getting a message saying:
Code: Select all
self.im = Image.core.new(self.mode, self.size)
File "C:\Python26\lib\site-packages\PIL\Image.py", line 37, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
Re: AO baked ground plates for your mod!
Code: Select all
>>> import _imaging
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
import _imaging
ImportError: DLL load failed: %1 is not a valid Win32 application.
Re: AO baked ground plates for your mod!
Have you tried copying _imaging.pyd and _imagingft.pyd to python2*/dll ?
Re: AO baked ground plates for your mod!
Tried, same error... :-/ strange goings on.
Re: AO baked ground plates for your mod!
wiiiierd my last be would be to uninstall and reinstall python+PIL.
If that fails I can do them for you.
If that fails I can do them for you.
Re: AO baked ground plates for your mod!
HA, I win. Don't use python 64bit.
Awesome.
Awesome.
Re: AO baked ground plates for your mod!
Oh Irony, I get it to work and now the textures don't show up in game...