Now that GTKradiant is gpl...

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Now that GTKradiant is gpl...

Postby pepperboxrevolver » Wed Mar 01, 2006 1:45 pm

Now that GTKradiant is gpl... (along with q3map2) I was wondering if it could be set up for nexuiz and included (lin and win bins please) and read from the nexuiz data dir etc.

If it's too big then perhapse a gtkrad4nex.zip could be made with the dir structure:
Nexuiz/gtkradiant4nex/stuff
that one can unzip in the same dir they unzipped nexuiz.

PS: how do you losslessly convert a png to jpg, I have made alot of gpl'd textures I wish to use.

PSS: gtkradiant doesn't always compile happily so doing this is probably a good idea for everyone.
pepperboxrevolver
Newbie
 
Posts: 5
Joined: Tue Feb 28, 2006 9:51 pm

Postby pol pot » Wed Mar 01, 2006 2:58 pm

Sounds like a good idea :) I'm not a mapper, but this would make it easier for people.
pol pot
Alien
 
Posts: 100
Joined: Tue Feb 28, 2006 9:33 pm

Postby Chozabu » Wed Mar 01, 2006 3:40 pm

i like the idea too
jamming fteqcc in the nex pack would be kinda cool as well
Chozabu
Member
 
Posts: 24
Joined: Wed Mar 01, 2006 12:29 am

Postby Revenant » Sat Mar 04, 2006 9:49 pm

Let me guess.... Is this the root from IRC?
Revenant
Alien
 
Posts: 122
Joined: Sat Mar 04, 2006 9:38 pm
Location: Canada

Postby Willis » Sun Mar 05, 2006 5:02 am

pepperboxrevolver wrote:Now that GTKradiant is gpl... (along with q3map2) I was wondering if it could be set up for nexuiz and included (lin and win bins please) and read from the nexuiz data dir etc.


Yes, it could be done, however, finding somebody to do it may be an entirely different matter.

pepperboxrevolver wrote:PS: how do you losslessly convert a png to jpg, I have made alot of gpl'd textures I wish to use.

Unless you are using JPEG2000 (which I don't think is supported by the engine), it can't be done, standard jpeg is a lossy compression. PNG is supported in the engine as of 1.5 I believe, but for the best quality, a TGA file is recommended (yes they are large, but compress well in pk3's)

pepperboxrevolver wrote:PSS: gtkradiant doesn't always compile happily so doing this is probably a good idea for everyone.


Just say you couldn't do it already, we get the point.

Revenant wrote:Let me guess.... Is this the root from IRC?

In a word, yes, he is.
--Willis
Willis
Site Admin
 
Posts: 168
Joined: Tue Feb 28, 2006 7:00 pm
Location: Wisconsin, USA

Postby pepperboxrevolver » Sun Mar 05, 2006 10:21 pm

So I'll take that as a no.
If you don't want many people mapping for nexiuz fine.
I have my gtkradiant working for mapping. The menu to compile the map isn't working so good though (slime/water/etc won't work).

PS: does the PNG support extend to alpha channel: IE can I use a semi transparent image and have it work correctly.

PNG is lossless, it will look just as good as TGA unless the engine messes up somewhere so your assertion about TGA being the best is completely wrong, just wanted to let you know that as long as we're being sardonic assholes to eachother :).
pepperboxrevolver
Newbie
 
Posts: 5
Joined: Tue Feb 28, 2006 9:51 pm

Postby divVerent » Sun Mar 05, 2006 11:00 pm

TGA is faster to read, and PK3s are compressed anyway.

You do gain a small bit if you use PNG instead of TGA - but the loading time increases.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby divVerent » Sun Mar 05, 2006 11:03 pm

Willis wrote:
pepperboxrevolver wrote:Now that GTKradiant is gpl... (along with q3map2) I was wondering if it could be set up for nexuiz and included (lin and win bins please) and read from the nexuiz data dir etc.


Yes, it could be done, however, finding somebody to do it may be an entirely different matter.

I would volunteer to do it if I had the required information.

I get up to the point of some shaders not working and being displayed as "no shader" (like caulk and hint brushes). And if the map is compiled, the hint brushes become solid. What am I missing?

What changes were done to 1.4 to get it working? Is there any publicly available information about that?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby tZork » Sun Mar 05, 2006 11:11 pm

pepperboxrevolver wrote:So I'll take that as a no.
If you don't want many people mapping for nexiuz fine.
I have my gtkradiant working for mapping. The menu to compile the map isn't working so good though (slime/water/etc won't work).

PS: does the PNG support extend to alpha channel: IE can I use a semi transparent image and have it work correctly.

PNG is lossless, it will look just as good as TGA unless the engine messes up somewhere so your assertion about TGA being the best is completely wrong, just wanted to let you know that as long as we're being sardonic assholes to eachother :).


Open development it great because everyone that feels like it and can do it can contribute. Trying to shove task down the throat of the ppl developing free stuff on their spare time just pisses them off. I can surely appreciate that it would be a very nice thing to have an editor tailored to Nexuiz, but this does not mean ill go around pestering everyone that seems to have any clue on what may need to be done to do so. If you truly are dedicated to this task i suggest you take the time to find out how to, and make it happen, im sure ppl will be thankful. If you feel this is above and beyond you or you simply are to lazy to do so then live with it not happening, and hold yer tong. The request is out, and if someone capable and interested sees it, it will get done.

A few points on TGA vs PNG.
To make a PNG with the same quality as a TGA means to have the PNG in 24+8 bit mode. Doing this will result in a file the same size as a tga, more or less. PNGLib is pretty sloppy written with some positional dangerous stuff going on, im surprised it made it into the engine. The primary goal of png was to provide a royalty free alternative to gif as a platted format. Though its a good thing that this format now sports more features this original idea leaves its mark on how thins are done in the lib. Loading images with the standard pnglib is allot slower then lodging a tga due to the way the code is written and the layout of the format.

In short PNG and TGA are equal to the task of storing an image with an alpha channel, but the implementation of TGA is more suited to a game engine.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby tZork » Sun Mar 05, 2006 11:26 pm

divVerent wrote:
Willis wrote:
pepperboxrevolver wrote:Now that GTKradiant is gpl... (along with q3map2) I was wondering if it could be set up for nexuiz and included (lin and win bins please) and read from the nexuiz data dir etc.


Yes, it could be done, however, finding somebody to do it may be an entirely different matter.

I would volunteer to do it if I had the required information.

I get up to the point of some shaders not working and being displayed as "no shader" (like caulk and hint brushes). And if the map is compiled, the hint brushes become solid. What am I missing?

What changes were done to 1.4 to get it working? Is there any publicly available information about that?


Changes done to 1.4 by me includes:
Editing the entity file to fit nexuiz mapping
Setting up the correct paths in various files
Adding a new game so that nexuiz wont have to replace another game, and remove the need for hostin the nexuiz media in the data (baseq3) folder of another (q3) game.
I also added compile setting sugested by experianced nexuiz mappers and incluses the lastest known q3map2.

missing caulk and the other "common" shaderes are most proly a missing / not found common-spog.pk3 file. this should be located in nexuiz/data ot quake3/baseq3 if you use teh "quake method"

The problem with shaders not beeing the correct solidity state in nexuiz are due to q3nap2 not beeing able to fine the shader(s) this is proly becase an incorret compile commandline. This info is stored in /game/path/[data|beseq3]/scipts/[something].proj

The thing that needs editing is the paths in the big messy blocks like
<key name="bsp_Q3Map2: (single) -light -fast -super 2 -filter" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -super 2 -filter $"/>

and
<key name="gamename" value="data"/>

if i remeber it right.. it was a while snice i was poking arround thise files.

enyways, heres my nexuiz.proj file:
Code: Select all
'<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "project.dtd">
<project>
  <key name="gamename" value="data"/>
  <key name="version" value="1"/>
  <key name="basepath" value="C:/Program/nexuiz-15/data/"/>
  <key name="rshcmd" value=""/>
  <key name="remotebasepath" value="C:/Program/nexuiz-15/data/"/>
  <key name="entitypath" value="C:/Program/nexuiz-15/data/scripts/entities.def"/>
  <key name="texturepath" value="C:/Program/nexuiz-15/data/textures/"/>
  <key name="autosave" value="C:/Program/nexuiz-15/data/maps/autosave.map"/>
  <key name="mapspath" value="C:/Program/nexuiz-15/data/maps/"/>

  <key name="bsp_Q3Map2: (single) BSP -meta" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $"/>
  <key name="bsp_Q3Map2: (single) -vis" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis $"/>
  <key name="bsp_Q3Map2: (single test) -vis -fast" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -fast $"/>
  <key name="bsp_Q3Map2: (single test) -light -faster" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -faster $"/>
  <key name="bsp_Q3Map2: (single test) -light -fast" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast $"/>
  <key name="bsp_Q3Map2: (single) -light -fast -super 2" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -super 2 $"/>
  <key name="bsp_Q3Map2: (single) -light -fast -super 2 -filter" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -super 2 -filter $"/>
  <key name="bsp_Q3Map2: (single) -light -fast -super 2 -filter -bounce 8" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -super 2 -filter -bounce 8 $"/>
  <key name="bsp_Q3Map2: (test) BSP -meta, -vis, -light -fast -filter" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -filter $"/>
  <key name="bsp_Q3Map2: (test) BSP -meta, -vis -fast, -light -fast -super 2 -filter" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt -fast $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -super 2 -filter $"/>
  <key name="bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -filter -super 2" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -filter -super 2 $"/>
  <key name="bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -filter -super 2 -bounce 8" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -fast -super 2 -filter -bounce 8 $"/>
  <key name="bsp_Q3Map2: (simulate old style -light -extra) BSP -meta, -vis, -light -super 2" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -super 2 $"/>


  <key name="Generic compile: -meta -vis -light" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $"/>
  <key name="bsp_Q3Map2: (Generic compile) -meta -vis -light" value=" ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light $"/>
  <key name="bsp_Q3Map2: (Fuzzy Shadows) -meta -vis -light -filter" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -filter $"/>
  <key name="bsp_Q3Map2: (Defined Shadows) -meta -vis -light -samples 2" value="! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -samples 2 $"/>
  <key name="bsp_Q3Map2: (Ultra Sharp Shadows) -meta -samplesize 1 -vis -light -samples 3" value=" ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta -samplesize 1 $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -samples 3 $"/>
  <key name="bsp_Q3Map2: (Ultra Sharp Shadows + glaussian blur) -meta -samplesize 1 -vis -light -filter -samples 3" value=" ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta -samplesize 1 $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -filter -samples 3 $"/>
  <key name="bsp_Q3Map2: (Ultra Sharp Shadows + phong shading) -meta -samplesize 1 -vis -light -shade -samples 3" value=" ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -meta -samplesize 1 $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -vis -saveprt $ &amp;&amp; ! &quot;C:/Program/GtkRadiant-1.4/q3map2/q3map2&quot; -v # -game quake3 -fs_basepath &quot;C:/Program/nexuiz-15/&quot; -light -shade -samples 3 $"/>


  <key name="brush_primit" value="0"/>
  <key name="user_project" value="1"/>
</project>


Maybe it can be of some use.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Next

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron