Some Of The Map Sources Are
#197 posted by HeadThump on 2008/05/29 08:04:16
available. I stripped out the entity text for one of them and use it for reference. I haven't created a .def file for it as of yet since I can only guess at the spawnflag settings in a hit or miss kind of way without the source.
What The Def
I'll definitely volunteer to create a complete .def file if and when the full range of required info is made available. At the risk of stating the obvious, for each new entity we need to know:
- entity name
- description of entity
- bbox extents
- spawnflags
- keys (and the valid range of values)
- is it meant to be a point entity or a trigger/bmodel (not always obvious)
- anything else I forgot
I understand that a lot of this info is available, but unless I missed something, we don't have access to all of that stuff. (Correct me if I'm wrong, else, wake me up when it's ready).
By The Way...
I didn't mean to suggest that I'm ungrateful here - I appreciate the effort that has gone into Quoth/2, and I'm looking forward to making some SP maps with the new monsters and functionality. I just don't want to be fumbling around in the dark while I do it. :)
#200 posted by JneeraZ on 2008/05/29 14:47:50
Oh yeah, and just to chime in here myself. I love the work that went into Quoth2. You guys are at the 18 mile mark of a marathon. Just get some documentation out (at least a .DEF file) and we can get to work supporting your creation!
Why Not
#201 posted by ijed on 2008/05/29 15:45:46
Decompile the progs so you can put together a working .def whilst waiting for the approved version?
#202 posted by JneeraZ on 2008/05/29 16:18:46
Preach already said there aren't any comments in the class headers so where would the information come from? I'm not too keen on reading the source code (decompiled, even) and piecing together spawnflags.
#203 posted by JneeraZ on 2008/05/29 16:19:11
In other words, I already have a full time job. :)
Fair Enough ;)
#204 posted by ijed on 2008/05/29 17:30:58
Documentation
#205 posted by Preach on 2008/05/29 18:24:10
- entity name
- description of entity
- bbox extents
- spawnflags
- keys (and the valid range of values)
- is it meant to be a point entity or a trigger/bmodel (not always obvious)
- anything else I forgot
How many times do I have to link http://kell.quaddicted.com/quoth/quoth_tutorial.html in this thread...
Apart from the handful of entities I listed in my last post, this information is there for all the new entities.
The quoth naming convention is that anything that's a bmodel gets trigger_ or func_ in front of it, anything else is a point entity(the point sized triggers are a exception to this for obvious reasons). The size of monsters can be grabbed from in game if it's needed, but as a general guide things are either shambler sized or enforcer sized - the vermis is the only real exception to my knowledge.
Preach
#206 posted by than on 2008/05/30 02:12:21
you actually sent round emails containing descriptions of most of the new stuff when developing quoth 2. I can probably fish out all the info and post it in this thread when I get home tonight if that's ok.
#205
#207 posted by Mike Woodham on 2008/05/30 07:26:23
'Till you're blue in the face Preach, 'till you're blue in the face
Yeah, So Where's The Mapping Tutorial?
As I said, I know the bulk of the documentation is done. I know where it is. Thank you. :)
Why not decompile the progs so you can put together a working .def whilst waiting for the approved version?
Why don't you try to dig your way to China with a spoon?
Look, as I've said, I appreciate the effort that has gone into Quoth/2. I understand that this is a project done in people's spare time and I would neither expect nor demand anything more.
I would simply rather wait to have the complete info before I start making .def files or maps, rather than trying to piece together info from web pages, forum posts, map sources, emails or decompiled source code!
This is not just laziness talking - given that I wanted to make a .def file to share (since that hasn't been done yet), I wanted to make sure the information was complete before doing so.
If that makes me sound like an ungrateful bastard, so be it. I'm not in a hurry though, and I don't have a Quoth/2 map on the go, so I have the luxury of waiting. If the docs are never completed, obviously I'll deal with it in one way or another, but you won't hear me bitching about it.
p.s. thanks for the extra info, Preach. :)
#209 posted by JneeraZ on 2008/05/30 11:32:45
"'Till you're blue in the face Preach, 'till you're blue in the face"
I tried pointing my editor at that web page but it didn't seem to parse correctly.
Hehe
GOLD!
Well I Think That There's Plenty Of Info Around
#211 posted by RickyT33 on 2008/05/30 11:52:57
I didn't have any real problems implementing the wider range of features Quoth2 has to offer into my last map! The tutorial at kell.quaddicted.com was very informative, and with a little savvy and common sense I was able to use the new stuff with no major problems, all of the gameplay added to the map in just a couple of good sessions (before playtesting that is). The map sources were very usefull, and I found the map source for the breakables to be highly usefull too, a real good way of getting the right effect for whatever situation you require.
I've never used a def file in my life, so I can't comment on that.
I Predict That
#212 posted by RickyT33 on 2008/05/30 12:01:48
after I have finished the current rmx map I am working on I will be returning to Quoth straight away, with the intention of making a small episode, probably in no particular rush. I am getting busier all of the time, crikey, I've been mapping for about 11 months, and have made 10 maps and am currently working on an 11th. I was delighted to discover Quoth during the construction of the 1st release, I know that there is much more I can still do with it...
I dont see me kicking this habit of making Quake maps any time soon, but I will probably slow down some, the next project will be made slowly at my leisure, as a relaxing way to disconnect from my daily schedules...
Yep
There's heaps of info on the web pages. More than I would have expected - very informative.
The def file isn't really any different to a FGD file (it's the same thing really, it's just in a different format).
Here's the point though, since it seems like it still isn't clear: It is impossible to create a complete .def file for Quoth 2, because the complete range of information is not available.
There's certainly enough info to make a map. There's not quite enough info to create a comprehensive .def file. That's really all I'm getting at.
If a job is worth doing, it's worth doing properly. If I'm going to make a .def file and distribute it, I want to make sure it's complete.
That is all.
Fair Point!
#214 posted by RickyT33 on 2008/05/30 12:21:43
How about starting on it, taking it as far as you can with the info available, then getting Preach to fill in the gaps...
(I should have been a politician)
Then it's done, innit!
Hey Man
Don't oppress me with your common sense and logic!
(Real answer: because I'm lazy ;)
I could put most of it together this weekend I suppose. *grumble*
Se�or Fribbles
#216 posted by ijed on 2008/05/30 15:24:22
I was just wondering - I haven't a clue how you write a .def file.
Completeness
#217 posted by Preach on 2008/05/30 18:21:00
Yeah, I acknowledge you can't complete the fgd yet. But I can assure you that anything listed there, eg func_breakable, is fully documented, we shouldn't be adding anything more to that entity when the documents are updated. I didn't realise you'd be able to knock something out within a weekend, I figured it would take you longer to write it than it will for Kell to update. I had also been planning to post the playtester info Than mentioned in this thread to tide people over(I can't update Kell's website). Than, if you've got it all gathered together I'd love to see it here.
Making .def Files
It's pretty simple, it's just a text document with an entity definition something like this (see below). All that really matters is the first line, which defines the entity name, bounding box extents (or ? if it's a bmodel), and spawnflags.
The rest is basically just information for the mapper (a desription of the entity and the list of keys). It's optional, even the key list, since in Radiant you have to manually add your keys every time regardless of whether that info is there or not (it's just helpful for the mapper to have that info, of course!)
/*QUAKED func_door_secret (0 .5 .8) ? OPEN_ONCE 1ST_LEFT 1ST_DOWN NO_SHOOT ALWAYS_SHOOT
Basic secret door. Slides back, then to the side. Angle determines direction.
Flags:
"open_once" - stays open when triggered
"1st_left" - 1st move is left of arrow
"1st_down" - 1st move is down from arrow
"no_shoot" - only opened by trigger
"always_shoot" - even if targeted, keep shootable
Keys:
"target" - all matching targets will be used
"killtarget" - all matching entities will be removed
"wait" - # of seconds before coming back
"delay" - waits # seconds before firing its targets
"t_width" - override Width to move back (or height if going down)
"t_length" - override Length to move sideways
"dmg" - damage to inflict when blocked (2 default)
"message" - prints message when touched
"sounds"
1 = medieval
2 = metal
3 = base
NOTES:
If a secret door has a targetname, it will only be opened by it's button or
trigger, not by damage.
*/
So Yeah
Again, all that matters is the first line (preceded by QUAKED), though you should note that func_msgboard wrapped the text in the post above.
The rest is purely optional information and can be in any format or order you wish. The text will appear in the entity dialogue in Radiant regardless of how it is written.
As you can see, most of the "work" involved in creating the Quoth2.def file will be a simple copy/paste job from the web page.
Slightly More Info
Posting this just in case anyone wants to know exactly how the .def file info is used, for whatever reason.
The structure is basically this:
/*QUAKED entity_name (colour) (bbox extents) spawnflag1 spawnflag2
Optional info...
*/
The colour is just an RGB (0-1) colour for Radiant: it will only affect how it is displayed in the editor. If the entity has an associated brush model, the bbox info will be replaced with a ?
Here's 2 examples, a point entity and a bmodel, which will demonstrate this:
/*QUAKED item_spikes (0 .5 .8) (0 0 0) (32 32 32) BIG
25 ammo points (spikes) for Perforator and Super Perforator.
Flags:
"big" gives 50 instead of 25
*/
/*QUAKED func_episodegate (0 .5 .8) ? E1 E2 E3 E4
This bmodel will appear if the episode has already been completed, so players
can't reenter it.
*/
Fair Enough
#221 posted by ijed on 2008/05/31 17:49:09
I use Worldcraft and have written a few .fgd which are the equivalent.
Looks to be the same tedious task, but in a different format.
|