project-navigation
Personal tools

Author Topic: compiling  (Read 11538 times)

Jason

  • Guest
compiling
« on: February 09, 2007, 07:29:23 pm »
yea maybe its my pc which wouldent suprise me or maybe i missed something but when i try and load up the map i have compiled it just loads a black screen even when just coppying and renaming a map allreaddy made and compiling that (using gtk, windows)

Offline Zenerka

  • Sergeant
  • *****
  • Posts: 301
    • View Profile
compiling
« Reply #1 on: February 10, 2007, 12:07:29 am »
Which version of the game? Is there any additional info in ufoconsole.log when you run the game with +set developer 1 ? Are you sure you compiled the maps correctly? How do you try to load one?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
compiling
« Reply #2 on: February 10, 2007, 08:10:22 am »
are you sure, that you've used
Plugins->UFO:AI->Worldspawn (day) (e.g.)

This function will set some worldspawn flags that are needed (e.g. the light)

Jason

  • Guest
compiling
« Reply #3 on: February 10, 2007, 11:07:36 am »
ehh whats this +set developer 1 ^^ as forcompiling i used the ufo2map prog as for the version of the game its the 1 i downloaded 3 days ago yea i done the ambient, light ect well ill go try again annyways

Jason

  • Guest
compiling
« Reply #4 on: February 10, 2007, 11:22:00 am »
ok still not working but when i try to compile it does compile but i also get this error
Error opening C:\Program Files\UFOAI-2.0RC6\base\maps\test: No such file or directory GetLastError() = 2

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
compiling
« Reply #5 on: February 10, 2007, 01:00:38 pm »
could you please send me that map file?

how exactly do you call ufo2map?

which version of gtkradiant are you using?

did you try the plugin->ufo:ai->worldspawn stuff?

+set developer 1 is a starting paramter for ufo:ai
but you can also set it by opening the game console (^-key) and type "developer 1" (without the quotes of course)

Jason

  • Guest
compiling
« Reply #6 on: February 11, 2007, 04:17:13 pm »
the map file is anny map file even just taking one of the one's allreaddy in base renaming saving then compiling old habit not to make something till you know all the programmes work ^^ , umm wat u mean by what do i call ufo2map? because i just downloaded it and extracted it to my decktop i havent changed it in annyway i tryed the plugi if that was the case then the readdy made maps would work i guess i could allways make something and send the textures and file over 2 u to compile i guess

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
compiling
« Reply #7 on: February 11, 2007, 04:31:11 pm »
you should call ufo2map with some parameters:

ufo2map -bounce 0 -extra <mapfilename.map>

also please try the ufo2map binary from http://mattn.ninex.info/download/binaries/ufo2map.exe

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
compiling
« Reply #8 on: February 11, 2007, 04:35:35 pm »
and please don't forget to look at the wiki - there is map compilation article here: http://ufo.myexp.de/wiki/index.php/Mapping

Jason

  • Guest
compiling
« Reply #9 on: February 11, 2007, 06:36:39 pm »
ok the uf2map binary compiles it without giving me anny erros however when trying to run in game the screen still just goes black and i have to end the game with task maniger

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
compiling
« Reply #10 on: February 11, 2007, 06:44:18 pm »
and this is the same even for already existing map files? please join the irc to track this issue down - this would be a lot faster

Jason

  • Guest
compiling
« Reply #11 on: February 12, 2007, 08:17:51 pm »
irc?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
compiling
« Reply #12 on: February 12, 2007, 08:59:05 pm »
please try an updated binary - which is available at http://mattn.ninex.info/download/binaries/ufo2map.exe , too

i've changed some small things that maybe will fix your issue

Jason

  • Guest
compiling
« Reply #13 on: February 14, 2007, 10:46:43 pm »
BINGO it workes great :) now i can get to making something

wotwot

  • Guest
Re: compiling
« Reply #14 on: March 01, 2008, 05:43:40 pm »
Im getting error "FloatPlane: bad normal GetLastError() = 0" when compiling, could someone pls tell me what this is about?