Quake3World.com Forums
     Level Editing & Modeling
        EntityDefinitionsConverter


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: EntityDefinitionsConverter

Cool #9
Cool #9

Joined: 01 Dec 2000
Posts: 36787
PostPosted: 10-06-2011 04:17 AM           Profile   Send private message  E-mail  Edit post Reply with quote


This was discussed a bit in the EntityPlus thread before but I thought I’d make its own thread for it.

EntityDefinitionConverter is a commandline tool that can convert entities.def files that are used by GtkRadiant 1.4 to entities.ent files that are used by GtkRadiant 1.5. Because GtkRadiant 1.4 and 1.5 both use different file formats for their entity definitions, it can be a tedious job to translate one to the other.

While at this point it can only convert 1.4 to 1.5, I could (if people have a use for it) also implement a 1.5 to 1.4 converter. Or some other format that needs to be converted to 1.5 or whatever. The code is currently set up modularly so that I have a 1.5 writer and a 1.4 reader, but I could implement readers and writers for other formats as well.

Currently there is only one known “issue” and that is that comment lines are ignored, so they get lost in translation.

Even though the code and tool is hosted at the EntityPlus project page, it’s not strictly EntityPlus related. It’s just that I used this tool to generate the entities.ent file for EntityPlus and had nowhere else to stick it :-)

Here’s the download link: http://code.google.com/p/entityplus/dow ... er-1.0.zip



_________________
Get mods & maps at Engines of Creation


Top
                 

I'm the dude!
I'm the dude!

Joined: 04 Feb 2002
Posts: 10531
PostPosted: 10-06-2011 07:17 AM           Profile Send private message  E-mail  Edit post Reply with quote


Thanks.



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 

Veteran
Veteran

Joined: 28 May 2010
Posts: 187
PostPosted: 10-07-2011 03:22 AM           Profile Send private message  E-mail  Edit post Reply with quote


That's great, thanks a lot. Is there a way to specify which entities.ent is used by Gtk1.5 without renaming the files? Right now I have to rename or move the original entities.ent file for Q3 if I want to map for EntityPlus (so it uses the .ent file for EntityPlus). If I then want to map for the regular Q3 again, I have to change the files back.



_________________
victorkarp.wordpress.com | the most comprehensive German Quake 3 mapping tutorials on the internet


Top
                 

Cool #9
Cool #9

Joined: 01 Dec 2000
Posts: 36787
PostPosted: 10-07-2011 03:53 AM           Profile   Send private message  E-mail  Edit post Reply with quote


It just outputs to entities.ent
What you do with the resulting file after that is up to you and I have no idea how GtkRadiant handles .ent files. I read comments from people talking about creating a new mod folder inside the q3.game folder, but I've not figured out how that works myself.



_________________
Get mods & maps at Engines of Creation


Top
                 

I'm the dude!
I'm the dude!

Joined: 04 Feb 2002
Posts: 10531
PostPosted: 10-07-2011 06:32 AM           Profile Send private message  E-mail  Edit post Reply with quote


You need to create a new folder in "Program Files\GtkRadiant 1.5.0\q3.game\[modfolder]", as well as where your mod is in the game folder in "Quake\[modfolder]"

Inside the q3.game mod folder you need your definition file like entities-eplus.ent

The contents of which will include only changes specific to your mod as Radiant still reads the baseq3 entities file and appends any additional changes from your mod's entity definitions.

As an example, you should also find the Team Arena entities definition file (entities-ta.ent) in the "missionpack" folder.



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 

Cool #9
Cool #9

Joined: 01 Dec 2000
Posts: 36787
PostPosted: 10-07-2011 06:36 AM           Profile   Send private message  E-mail  Edit post Reply with quote


Hmm, might need to test that, because entityplus actually removes some keys from baseq3 entities.



_________________
Get mods & maps at Engines of Creation


Top
                 

Veteran
Veteran

Joined: 23 Aug 2011
Posts: 174
PostPosted: 10-07-2011 08:02 AM           Profile Send private message  E-mail  Edit post Reply with quote


I'm sorry to ask, I don't want to hijack this thread, but I was wondering, ZeroRadiant is based on Gtk 1.4 or 1.5 for managing it's entities def files? Or is it something new also?




Top
                 

I'm the dude!
I'm the dude!

Joined: 04 Feb 2002
Posts: 10531
PostPosted: 10-07-2011 08:17 AM           Profile Send private message  E-mail  Edit post Reply with quote


ZeroRadiant (1.6) is mostly based on the 1.4 branch so it uses entities.def



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


Post new topic Reply to topic


cron
Quake3World.com
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group