#11898 posted by necros on 2012/04/15 01:38:34
Drew:
so people really want blogging on that stuff? i started with some doom mapping but figured no one really cared as it ended up not really being all that interesting to read. "i put in a room today... also, i textured stuff" etc...
Mike:
imps?
i'm going to guess you are talking about the flying imps from Hx2 that kinn ported over?
if so, then your question is actually related to flying monsters not following paths.
essentially, a monster won't move up or down unless it has the target as an enemy.
there's some code stuff but essentially, you can haxor it in yourself by doing this: http://celephais.net/board/view_thread.php?id=60097&start=601&end=601
ALSO what's not mentioned in that post is that the path_corners must have a movetype other than MOVETYPE_NONE (which is 0, so any entity that DOESN'T set a movetype has MOVETYPE_NONE).
so in your path_corner spawn functions, add in a self.movetype = MOVETYPE_NOCLIP;.
There Is Also
#11899 posted by ijed on 2012/04/15 02:34:37
A bug in Qouth code where the monster will not use the path if positioned directly above the path_corner. Apprently this bug was inherited from elsewhere.
Could well be fixed in latest version, or just not be the problem - but worth bearing in mind.
To Clarify
#11900 posted by ijed on 2012/04/15 02:45:33
As I remember it was if the monster shared its starting position with its first path_corner.
As Necros mentions vertical position is irrelevant for Quake Ai, apart from fliers and swimmers wanting to stay above their chosen enemy.
#11901 posted by necros on 2012/04/15 04:41:15
the bug to which you are referring to was introduced by me.
it was so 'wait' keys on path_corners would allow monsters to stand around for a few seconds before moving on, and the way i checked if the monster had 'arrived' was by measuring the flattened distance to the corner to see if it was less than 4 units.
unfortunately, as you pointed out, it has the side effect of making monsters not register anything if they start on the corner. :(
Some Do
#11902 posted by Drew on 2012/04/15 05:05:52
I typically like it.
haven't looked at this in depth but it might be cool, for example: http://www.rockpapershotgun.com/tag/level-with-me/
Not Really An Example
#11903 posted by Drew on 2012/04/15 05:06:20
i guess.
whatever.
#11904 posted by ijed on 2012/04/15 05:50:13
Learn something new every day. Think I saw this in Quoth2 content.
Also
#11905 posted by ijed on 2012/04/15 05:50:56
Having monsters patrol a bit better is always good.
Imps
#11906 posted by Mike Woodham on 2012/04/15 11:04:03
Thanks again for your help necros.
It seems as though every time I want to 'tidy up' a map, there's some kind of jiggery-pokery to do. I think I'll leave it as it is and just make do. Otherwise this will go on forever and as Jimbo says, "...and forever is a very, VERY long time, Geoffrey".
Vis Fail
#11907 posted by wakey on 2012/04/19 01:55:26
As title says.
My map is tightly sealed, no leak, no pts file, prt and vis files are generated.
Still i'm able to look through the whole level with r_showtris in Fitzquake.
The map layout is suited for vis to work, still it doesnt.
Any ideas on this?
Have To Ask This
#11908 posted by necros on 2012/04/19 02:20:47
are you doing -level 4?
-quick is almost always useless
are you noclipped outside the map?
vis data is ignored when you are outside of the map.
Doh!
#11909 posted by wakey on 2012/04/19 19:19:02
Radiants build menu caused the fail.
Before every compiling stage it did automaticaly bsp again, so when i lightet the map, it "forgot" that vis was already done.
Rewrote the build menu, now it works.
Thanks necros, i now use -level 4, works like a charm.
#11910 posted by necros on 2012/04/19 19:42:00
i hope you don't mean you always use -level 4.
i was only saying that it was possible you might not see much with -fast, but -fast is sometimes all you need for testing.
in some ways, using -fast will show how much a vis blocking tunnel or wall will help.
if the area is disappearing with just -fast, you have a great vis blocker and your -level 4 vis time will probably be really fast.
if it's NOT disppearing, -level 4 will catch all (or most) of the stuff -fast misses, but at the expense of a lot of calculations. (this is where you hear about those 3 week long vis sessions)
#11911 posted by wakey on 2012/04/19 23:47:19
Previously i used just vis without any switches.
I often used fastvis for my q3 maps, but my current machine handles normal vis in a few seconds (for now at least), so i tend to use it until it takes too long for fast test's.
Btw, just took a look into ne_ruins.
Great map, i especialy liked all those cool stuff like breaking vases, the coins inside, the swinging silver key door (amazing!)
Is this all added through QuakeC?
I guess i should take a look into the coding section too then!
#11912 posted by necros on 2012/04/20 00:18:06
oh ok. -level 1-3 vises are not logical though, i mean, it's not like 1 is faster than 2 is faster than 3. in fact, some tests indicated that level 1 is vastly slower than 4 as well as much less effective.
and yes, ruins stuff is all quakec. qc is very powerful :)
#11913 posted by func_train on 2012/04/21 07:43:30
do func_train entities have a maximum distance in units they can travel? in my map, the train disappears or goes invisible after travelling about 3,520 units. i am still standing on it and it keeps moving, but i cannot see it. the train goes back and forth between a destination. on the way back, the train reappears and becomes visible again. i think this is happening when the train crosses the origin 0,0 of the map. my map is within the 4096 unit limit.
Potential Problem
#11914 posted by Preach on 2012/04/21 10:48:04
All brush models start with their origin at the centre of the map, which can come as a surprise because usually the origin of an entity is close to its centre of mass. If the initial path corner was far enough to the left of the map, then as a train travelled left to right its origin could leave the map on the right just after the brushes went past the half way mark.
As a test of this hypothesis, try moving the entire brush model for the train to the origin of the map (the path corners should work identically, the only issue will be lighting on the train). Then recompile and see if this fixes it.
#11915 posted by func_train on 2012/04/21 14:59:55
thanks, moving the train to the origin fixes the visibility problem!
i had the train positioned at the south most part of the map heading to the north most part of the map so if the train's actual brush model origin was 0,0, then i guess the game believed the brush went outside the map after reaching it's halfway mark.
This
#11916 posted by ijed on 2012/04/21 17:02:04
Sounds cool.
Lighting Basics...
#11917 posted by necros on 2012/04/27 02:13:25
@necros
#11918 posted by sock on 2012/04/27 05:06:12
Such a cool article on Q1 lighting, I am glad you wrote that, thank you :)
Great 'un
Like It A Lot!
#11920 posted by wakey on 2012/04/27 13:02:38
very useful indeed!
+1
#11921 posted by ijed on 2012/04/27 14:52:00
+2
#11922 posted by Drew on 2012/04/27 16:46:48
|