2 add a terrain
3 then follow with a guide to add a sky
4 compile error because no info_player_start
5 add a info_player_start on the flat terrain
6 complie ok
7 enter the game with this very simple map
I think this is a valid map, a flat terrain closed with 5 sky brush,but why black?
Another problem when i build cafu with scons:
There are some no ascii chars in the comment line of the source code which make the build process stop like : 0xe4 0xfc 0x76
After i switch the code page of windows7 to German and restart the computer,
the build work.
and it looks ok in CaWE, but black in cafu.
i also build a closed room by hollow just one brush with no light,and it works,
both in cawe and cafu
About the terrain:
Did you run CaLight as part of the map compile process?
If you did, and the terrain is still black, can you please post a zip of the map here as an attachment?
About the compiler issue:
Thanks for the report!
Can you please post the exact error message?
Which compiler do you use?
What code page do you normally use?
(I'd love to fix this, but I'd need to be able to reproduce it first.)
then i switch the caLight on
but it still black in cafu game and look good in caWE
mymap.zip is the map file,and the map is very very simple , just add a terrain then follow the guide to finish the sky and texture operation , then add a info_player_start entity on the flat terrain.
i use chinaese simplified code page and vs2010
build.zip is the text out put of scons,
the error is report in chinese, which means that:
there are invalid chars for the current code page(936),please save it with unicode
[like CaBsp/LoadWorld.cpp/Line 141 ] 0xFC
thanks for your reply and great work
the problem with the map is caused by the
info_player_startbox (green) not being entirely "inside" the world.
It is easily solved though: Just raise the ceiling a bit and increase the heights of the four walls accordingly, recompile, and you should see the world properly in the engine as well.
About the codepage problem:
Thanks for the info!
It's clearly a problem that we should fix, though I'm not yet sure on how to do it best.
Can you please replace your file
Cafu/Libs/Templates/Array.hppwith the attached one, and see if the compiler still reports warnings in this file?
(The attached file is the same as the old one, but encoded as UTF-8.)
- (11.14 KiB) Downloaded 209 times
I've not yet fixed this universally, but finally came up with a helpful script that I've been pondering all along:
If you use Subversion, please update to SVN head revision.
If you don't use Subversion (please let me know!), I'll upload another set of archives later today.
Users browsing this forum: No registered users and 3 guests