With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
For all you mappers out there!

Moderators: Joe Kari, Pardner, TheDoctor, Breli

Mapping with linux

Postby Lucky Luke » Sun Apr 19, 2009 2:21 pm

Hello,

I'm trying to lern how to make a map. But i don't have windows.

So i tryed to adapt the tutoriel of pardner for myself, and it seams to work. Using gtkradian (for linux), i can make something (a room, with a knife and the wall with SG texture for exemple). It's a ugly job i guess, but i'm proud of it.

But my question is, how to compile the map, in order to try to play in my map. I'have never done something like that before (so, BIG BEGINNER am I ...noobs) ... but i guess i can't use the same thing like in the tutoriel because it's for windows.

How can i try to make the same with linux? Do i have to use a script (.sh) or something like that and could you give me an exemple?

Thanks for you're answer!
Sorry for my english and don't hesitate to answer in french!
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Postby Breli » Sun Apr 19, 2009 2:46 pm

Hi and welcome on the forum,

For all I know, there is no Linux binary of q3map2 I am not sure whether it makes sense to try to compile it for yourself. My best bet for you would be to run q3map2 in an emulation\WINE environment (if thats possible).

Cheers

Breli
SG name: =SG= BRELI

Harmonica: Did you bring a horse?
Gunmen: Looks like we are short on one horse!
Harmonica: No. You brought two too many.
User avatar
Breli
SG Team
 
Posts: 906
Joined: Mon Jul 18, 2005 10:08 am
Location: Germany



Postby Lucky Luke » Sun Apr 19, 2009 3:35 pm

q3map2 seems to work with wine, but i don't know how to configure it.

For 2 reasons:

I don't have the same path like in the tutoriel:

Code: Select all

1: path to smokinguns.exe

2: path to q3map.exe

3: path to bscp.exe



I can find (1), but in a different location (Home/user ...)

(2) and (3) doesn't exist at all. (but i fund a q3map2.exe i think)


And, does it make the work, if i compile a map that i made with the linux gtkradian?

(I allready tryed radian 1.4 with wine, wich is unusable (it work, but i can't see nothing in the windows (XY, YZ, etc (just a lot of colors)
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Postby Breli » Sun Apr 19, 2009 4:45 pm

Hi,

I can't really help you cos' I haven't fooled around with Linux since 1998 (hey! it was really nerdy back then ;)) ... but I'll try:

Lucky Luke wrote:q3map2 seems to work with wine, but i don't know how to configure it.


There is no need for configuration. Everything is controlled by switches given via the command line.

Lucky Luke wrote:For 2 reasons:

I don't have the same path like in the tutoriel:
1: path to smokinguns.exe



You don't really need the *.exe but q3map2 needs the path to all the textures and such. so giving q3map2 the path to your ..\home\sg\whatever dir should work ...

Lucky Luke wrote:2: path to q3map.exe
3: path to bscp.exe


Same thing. You need to "tell" q3map2 where to find all the stuff. Forget about bspc.exe for now since it is only needed for bot support. You should be able to locate your q3map2 though ;)

Lucky Luke wrote:And, does it make the work, if i compile a map that i made with the linux gtkradian?


Yes, it does. gtkradiant creates a so called map-file which is plain text and contains the brush definitions. Open yours just for fun so that you get an idea about whats going on.

Again: I don't really know that much about Linux :) ... I hope it helps anyway!

cheers

Breli
SG name: =SG= BRELI

Harmonica: Did you bring a horse?
Gunmen: Looks like we are short on one horse!
Harmonica: No. You brought two too many.
User avatar
Breli
SG Team
 
Posts: 906
Joined: Mon Jul 18, 2005 10:08 am
Location: Germany



Postby Lucky Luke » Sun Apr 19, 2009 6:09 pm

I think the q3map2 tool doesn't work fine (or it's because of me), because i can't open a map (there is no map to open in the right window)

And

Edit > configuration tools
and
Edit> set path

doesn't open nothing...

I don't know what to do...

May be it just because of wine, so that there is nothing to do.

But there is certainly a way to do it with a script, no?

Thank you anyway.
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Postby Tequila » Sun Apr 19, 2009 6:56 pm

Welcome Lucky Luke,

I want to help you in that frustrating day and eventually any other guys wanting to map under Linux ;)

I'll PM you my mail so we can exchange your first ugly map and I will report here my progress for your map compilation under linux.
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Postby Breli » Sun Apr 19, 2009 7:20 pm

Lucky Luke wrote:I think the q3map2 tool doesn't work fine (or it's because of me), because i can't open a map (there is no map to open in the right window)
...

But there is certainly a way to do it with a script, no?



Not sure I get you. Q3map2 is a command line tool. There is no GUI and u can't "open" your map with it. I run q3map2 with a batch script under windows. It looks like this:


Code: Select all

*** this is an old script *** dont let the Q3A paths distract you


"C:\Programme\Quake III Arena\westernq3\dev_tools\q3map2.exe" -meta -v "C:\Programme\Quake III Arena\baseq3\maps\dawnfort.map"
"C:\Programme\Quake III Arena\westernq3\dev_tools\q3map2.exe" -vis -saveprt "C:\Programme\Quake III Arena\baseq3\maps\dawnfort.bsp"
"C:\Programme\Quake III Arena\westernq3\dev_tools\q3map2.exe" -light -fast "C:\Programme\Quake III Arena\baseq3\maps\dawnfort.bsp"
"C:\Programme\Quake III Arena\Radiant-1.4\bspc.exe" -forcesidesvisible -optimize -bsp2aas "C:\Programme\Quake III Arena\baseq3\maps\dawnfort.bsp"


You need to do something similar under WINE or whatever cross\emu thingy you might use.

Tequila can give much better advice ;)

Cheers

Breli
SG name: =SG= BRELI

Harmonica: Did you bring a horse?
Gunmen: Looks like we are short on one horse!
Harmonica: No. You brought two too many.
User avatar
Breli
SG Team
 
Posts: 906
Joined: Mon Jul 18, 2005 10:08 am
Location: Germany



Postby Lucky Luke » Sun Apr 19, 2009 8:01 pm

I was talking of Q3Map2Toolz, wich is a front end GUI for compiling (with q3map2 i guess)

But sure Tequila will make a good job, so that pinguins can also have an easy way to compile a map. :)

It would be also great for me, if it would work with a command line tool (i'm not afraid of it 8) ), but i need a model, because i have no idea how to make it myself.
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Postby Tequila » Mon Apr 20, 2009 9:54 am

:D
thanks, I got your work, give me few days to check that I've so stuffs to do that times ;)
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Postby Lucky Luke » Fri May 15, 2009 8:34 pm

Hello!

I made some progress! :)

So that i can try to make a map and play it. (a little house and a safe with dynamite, and also a cactus! 8) )

But i have a little problem:

I can't use the entitie "func-door-rotating". I don't have it with a right mouse click. (I only have func-door, and func-rotating)

Any idee, how to make it better? (I have a lot of entities, like dynamite ...)

Ciao
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Postby ReD NeCKersoN » Sat May 16, 2009 2:29 am

So you don't see this?
[thumb=http://forum.smokin-guns.org/userpix/19_func_door_rotating_1.jpg][timg]19_func_door_rotating_1.jpg[/timg][/thumb]

You have entities.def AND entities-SG.def in the scripts folder?
User avatar
ReD NeCKersoN
SG Team
 
Posts: 3245
Joined: Wed Mar 27, 2002 6:22 am
Location: VA, USA



Postby Lucky Luke » Sat May 16, 2009 9:45 am

Yep!

I see all "func-blabla" (bobbing breakable door ... all) except "func-door-rotating".
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Postby Lucky Luke » Sat May 16, 2009 9:49 am

And i don't have also "path" and "pickup", but instead only:

"path-corner", and "pickup-money".
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Postby Breli » Sat May 16, 2009 11:58 am

AFAIK Radiant simply loads any definition files it can find. Please check again whether you have the def files properly extracted.
SG name: =SG= BRELI

Harmonica: Did you bring a horse?
Gunmen: Looks like we are short on one horse!
Harmonica: No. You brought two too many.
User avatar
Breli
SG Team
 
Posts: 906
Joined: Mon Jul 18, 2005 10:08 am
Location: Germany



Postby Lucky Luke » Tue May 19, 2009 2:26 pm

I checked it. (extracted again, and replaced files, and also downloaded again and replaced files)

I use netradiant. May be it 's because of it?

I have 2 files .def , entities.def and entities-SG.def.

In the second i can find a "func-door-rotating" part.
User avatar
Lucky Luke
Pistolero
 
Posts: 33
Joined: Mon Mar 16, 2009 2:12 pm



Next

Return to Level Editing

Show Sidebar
Show Sidebar

User Control Panel

cron