kripken / BananaBread

BananaBread is a C++ 3D game engine that runs on the web using JavaScript+WebGL+HTML
1.38k stars 346 forks source link

Missing Files for Map Change and other Implementations #71

Open noahcoetsee opened 6 years ago

noahcoetsee commented 6 years ago

It appears that the skybox needs to be redefined for the two_towers map, as it breaks that game when you try to do `/map Two_Towers'

could not read map packages/base/Two_Towers.ogz
could not load side lf of sky texture skyboxes/philo/sky3
could not load side rt of sky texture skyboxes/philo/sky3
could not load side ft of sky texture skyboxes/philo/sky3
could not load side bk of sky texture skyboxes/philo/sky3
could not load side dn of sky texture skyboxes/philo/sky3
could not load side up of sky texture skyboxes/philo/sky3
could not load texture packages/textures/default.png

In Two_Towers.cfg we must redefine which files are the skybox.

Croydon commented 6 years ago

This skybox exists in the files https://github.com/kripken/BananaBread/tree/2efd633d9326ab3fd00f0eac98f1e60f8213c1dd/cube2/packages/skyboxes/philo so it's rather a location problem.

Feel free to use our default.png, which was done by Nieb and is under CC-0 license https://github.com/inexorgame/media-essential/tree/8d0caab9d61263ac12f0c0af024a791988227269/texture/inexor

noahcoetsee commented 6 years ago

@Croydon Copy that. I'm actually helping out Kripken with this project. I was just messing around in the game and I never realized how powerful and fulfilled the editing is. So I was trying to figure out how to make my own map and things, but I couldn't load any other map.

Yeah so I need to move the files?

noahcoetsee commented 6 years ago

Does the map reference the skybox in the cfg file? I can't find it...

Calinou commented 6 years ago

Map variables can be stored in the .ogz file directly, in which case you won't find a skybox entry in the map's .cfg file. To save map variables in the .ogz file, just input /skybox path/to/skybox (without the extension) then save the map.

noahcoetsee commented 6 years ago

Interesting.. Sorry, I'm quite new to the whole Cube 2 and Sauerbraten space.