Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Importing new maps to Xonotic. Errors exporting to .map on Blender

#26
I see you included a tga and an alpha jpg.

tga supports alpha, so you don't need an alpha map next to it. You only need texture_alpha.jpg if you have texture.jpg and no texture.tga.

Can you make a screenshot of the texture glitch you're getting?
Reply

#27
here I joined a screen shot. you can see the squares in the tree with the black in the center and the white borders. It became black now that I added the alpha jpg it was green before.
Reply

#28
Huh, you're running it in a VM? I'm not sure that's supposed to work right. Can you try running it on your mac directly?
Reply

#29
what's the difference? I didn't succeed to install it on mac Sad that is why I m using the VM
Reply

#30
I'm not sure VirtualBox's 3d acceleration is quite finished yet.

Why didn't you succeed in running it on your mac? Maybe we can sort this out first.
Reply

#31
it compiled then when I try to run it I get this:

Jul 21 19:23:35 MacBook-Pro-de-Soukaina.local darkplaces-sdl[3749] <Warning>: CGDisplayBaseAddress is obsolete and returning NULL for display 0x42731c0
Failed to set video mode to 1024x768: Error setting OpenGL fullscreen: invalid fullscreen drawable
Linked against SDL version 1.2.14
Using SDL library version 1.2.14
Jul 21 19:23:36 MacBook-Pro-de-Soukaina.local darkplaces-sdl[3749] <Warning>: CGDisplayBaseAddress is obsolete and returning NULL for display 0x42731c0
Failed to set video mode to 1024x768: Error setting OpenGL fullscreen: invalid fullscreen drawable
Linked against SDL version 1.2.14
Using SDL library version 1.2.14
Jul 21 19:23:37 MacBook-Pro-de-Soukaina.local darkplaces-sdl[3749] <Warning>: CGDisplayBaseAddress is obsolete and returning NULL for display 0x42731c0
Failed to set video mode to 1024x768: Error setting OpenGL fullscreen: invalid fullscreen drawable
Linked against SDL version 1.2.14
Using SDL library version 1.2.14
Jul 21 19:23:38 MacBook-Pro-de-Soukaina.local darkplaces-sdl[3749] <Warning>: CGDisplayBaseAddress is obsolete and returning NULL for display 0x42731c0
Failed to set video mode to 640x768: Error setting OpenGL fullscreen: invalid fullscreen drawable
Linked against SDL version 1.2.14
Using SDL library version 1.2.14
Jul 21 19:23:39 MacBook-Pro-de-Soukaina.local darkplaces-sdl[3749] <Warning>: CGDisplayBaseAddress is obsolete and returning NULL for display 0x42731c0
Failed to set video mode to 640x480: Error setting OpenGL fullscreen: invalid fullscreen drawable
Linked against SDL version 1.2.14
Using SDL library version 1.2.14
Jul 21 19:23:40 MacBook-Pro-de-Soukaina.local darkplaces-sdl[3749] <Warning>: CGDisplayBaseAddress is obsolete and returning NULL for display 0x42731c0
Failed to set video mode to 640x480: Error setting OpenGL fullscreen: invalid fullscreen drawable
Quake Error: Video modes failed
Invalid response from keygen server:
Reply

#32
Run it in windowed mode. Launch it from the terminal with Xonotic.app +vid_fullscreen 0 or put the line "vid_fullscreen 0" in ~/.xonotic/data/autoexec.cfg. See if you can then set your resolution to match your screen.
Reply

#33
I launched it from terminal as u said then it crashed when I clicked on "choose map".
and weirdly I can't find .xonotic folder
I got this:
"Menu_Error: menu Progs attempted to read an out of bounds edict number
QuakeC crash report for menu:.."
I m fed up with this I prefer to go back to my VM
Reply

#34
Huh, that's a weird error. Did you say you compiled it yourself? Can you give autobuilds a try instead?
Reply

#35
You know .xonotic is a hidden folder in UNIX? You probably already knew that but it might be why you can't find the folder soukaina.
Reply

#36
I'm not sure at which point it's created, maybe it simply doesn't exist yet. But yeah, in the Finder there's a "go to location" sort of thing in the menus, use that to go into ~/.xonotic
Reply

#37
weirdly now it works.. but still I don't find my .xonotic folder I know it's hidden but I checked it is not in the home folder
Reply

#38
It very probably is. In the xonotic console, type which config.cfg to check that.
Reply

#39
Gd morning
now everything is fine, xonotic works on mac youhouu.. but the tga textures for the tree have always the white borders.. Any way to make them transparent ? a function on netradiant? I tried the alpha channels as in http://forums.xonotic.org/archive/index....-2503.html but it didn't work.
Reply

#40
Again, alpha channels are only needed in jpeg textures because jpeg doesn't have a notion of alpha channels. TGA does, so only one file is needed.

Can you post a screenshot of the white borders?
Reply

#41
Can you send me a bsp and the texture files for this?

Also, does the grass on solarium look fine to you? (See this thread.)
Reply

#42
yes it looks fine
Reply

#43
I know next to nothing about mapping, so your problem could be anything really. Might be related to shaders, or something else. I get the same issue as you do in the files you sent me. I realized I don't know it's as simple as having an alpha map in the tga texture. Maybe a shader is needed too.

I think you should post the map sources here so that an actual mapper can have a look at it and tell you what you did wrong. Also, you should stop removing your attachments and posts, I got really confused trying to find two screenshots of yours that showed the problem.

EDIT: Oh, and the .bsp, mapinfo etc have to go in the "maps" directory Wink
Reply

#44
thx anyway. Yes I do put them in the maps directory
Reply

#45
I had actually to add shaders. I checked the tree model in xonotic (data/...map..kdir/models/model_tree.shader) where the textures are in tga. Now I think the problem that I still have is that my tga textures don't have transparency even if they look transparent when I edit them. when I remove the shaders for the tree model of xonotic I can see black borders of the textures when in my map the borders are white.
Same thing in the textures editor of netradiant. Does anybody know how I can modify my tga textures so that they can look like the xonotic samples?
Reply

#46
finally fixed it's all about shaders. Thx every body
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Netradiant, xonotic-mapping-support and maps dir? Gwlanbzh 1 1,678 02-02-2021, 06:57 PM
Last Post: AriosJentu
  [NEED HELP] Change mapinfo to make a CTF map a CTS map. Bhagwa-Yodhak-69 3 2,687 09-08-2020, 06:03 AM
Last Post: _para
  [SOLVED] Xonotic load downloaded maps Bla1 3 5,288 10-01-2017, 06:11 PM
Last Post: Mirio
  [BUG] Grappling hook breaks if no new key is pressed while it is midair (new since 8.2) reth 2 3,240 05-13-2017, 06:52 AM
Last Post: reth
  [BUG] xonotic-maps ebuild does not compile ZyX 0 2,379 05-01-2017, 10:10 PM
Last Post: ZyX
  [SOLVED] Where do I put maps in Xonotic? greasem0nkey 12 27,544 02-19-2016, 03:53 PM
Last Post: Exibar
  [NEEDS INFO] cant download map, black map area jaybates86 5 7,293 10-08-2013, 06:09 AM
Last Post: Halogene
  [SOLVED] how can i put the maps installed in xonotic? DagDigg 8 9,161 09-07-2013, 02:51 AM
Last Post: kuniu the frogg
  [SOLVED] Git clone errors end user 11 13,780 05-02-2013, 05:19 PM
Last Post: end user
  [NEEDS INFO] We need a FAQ item for the "black map" problem in maps with fog Mr. Bougo 6 7,186 05-30-2012, 10:36 AM
Last Post: edh

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-