| 
		
		
		I seem to remember there being an experimental codebase for having a hub using the old (now I beleive not even managed) MHQuake engine. It involved using the FRIK_FILE qc extension (requires engine support also) to automagically save all state changes between individual bsp loads.
  oh, and since it's relevant: http://hosted.planetquake.gamespy.com/fatty/default.asp?opinion=hub 
		 What A Plonker! #5650 posted by Mike Woodham on 2006/12/03 12:02:28 Without going in to too much detail (it's too embarrassing) I have 'lost' my heavily modified progs.dat.
 I have managed to replicate most of it as I kept sources and had notes for my own ideas but I am stuck on one thing: I had monsters who were spawned-in being angry regardless of whether they could see the player. I have an 'angry' flag on the monster (spawnflag = 8) but cannot figure out what actually made him angry when he landed.
 
 I've played with FindTarget and FoundTarget but am getting nowhere. I cannot remember where I got this idea from but as I have added the angry flag to every monster, I must have had something working originally.
 
 Is there any chance that someone knows what I am talking about?
 
		 . #5651 posted by necros  on 2006/12/03 12:20:50add this into walkmonster_start_go (and the other ones) at the end.  add an if check for the angry flag.
 
 self.enemy = activator;
 FoundTarget();
 
 
		 Append: #5652 posted by necros  on 2006/12/03 12:21:32obviously, this means it will only work with a monster that has been triggered to spawn, since a monster that is spawned normally won't have an activator.  
		 Append 2: #5653 posted by necros  on 2006/12/03 12:22:58this also assumes you are running the walkmonster_start function after spawning the monster...  if you use the hipnotic method of creating a monster (spawn the monster, but set it invisible without running walkmonster_start, then copying the monster and making the copy run walkmonster_start) it won't work either.
 difficult to say without knowing how your spawning works.
 
		 Necros #5654 posted by Mike Woodham on 2006/12/04 02:17:00 I'm using PreachSpawn_v1.0, ("style" "1") so you got the right idea.
 'self.enemy = activator;', doh!
 
 As always, thanks for your help.
 
		 Mark Surfaces Again #5655 posted by Mike Woodham on 2006/12/04 05:31:04 Still having problems with fluctuating marksurfaces.
  Please see attached file showing editor view, in-game normal and in-game showtris2.
 
 http://img120.imageshack.us/img120/6706/marksurfacesgt2.jpg  Can anyone explain, or better still tell me how to avoid, the mashing of my brushes?  
		 Mike: #5656 posted by metlslime  on 2006/12/04 12:28:30a screenshot showing r_drawflat would be better, since showtris outlines the triangles drawn by the video card, but drawflat shows the polygons created by QBSP more clearly.
 As for what's making those cuts, I don't know.  Sometimes there's an obvious bit of brushwork nearby that can explain it.  QBSP is still a mystery to me.
 
		 Take 2 #5657 posted by Mike Woodham on 2006/12/04 13:49:10 Just for completeness:
http://img152.imageshack.us/img152/8837/marksurfaces2lz3.jpg  the ceiling is one brush with nothing else attached above i.e. it touches the void. The 'curve' that we see does not reflect any brushwork on the other side of the visible brushwork. The right-hand wall also touches the void.
 
  With marksurfaces bobbling around 32K and a desire to ensure the map works with FQ, I find myself having to remove trim. I have already cut the map in half and it would defeat the object to split it any more.  
		 Hm.. #5658 posted by necros  on 2006/12/04 14:16:27can you force qbsp to split the brush the way you want by first shaping the brushes in the proper pattern, then doing a texture shift of 1 unit difference on each brush so that qbsp doesn't combine them?  
		 Just For Fun #5659 posted by Mike Woodham on 2006/12/04 14:19:36 I removed the 3 brushes that gave me a curved corner, and this was the result:
  ---- WriteBSPFile ----
  Before  After
   10568  10559 planes
   32563  32164 vertexes
  13300  13015  nodes
  3107   3106   texinfo
  25959  25429  faces
  24486  25105  clipnodes
  7356   7261   leafs
  32165  31634  marksurfaces
  119337 117378 surfedges
  60330  59343  edges
  145    145    textures
 
  Increased clipnodes and decreased marksurfaces.
 
 http://img71.imageshack.us/img71/8720/marksurfaces3ys1.jpg  If anyone has not yet fallen asleep, what have we learned here?
 
  No, I don't know either. Oh well; plug on, plug on.  
		 Necros #5660 posted by Mike Woodham on 2006/12/04 14:28:47 The thing is that these are pretty much single brushes: the wall behind the ammo is one, the ceiling is one the two faces are one etc.
 Is there an optimum size that qbsp likes to find? (although I would hate to map to specific sized brushes, so perhaps I don't want to know that)
 
 I'm just going drop some more monsters in and then call it a day.
 
		 TreeQBSP Users #5661 posted by aguirRe  on 2006/12/04 14:34:33Thanks to ORL, I've found a bug in Tree when having >32k clipnodes that corrupts the clipnode information.
 Hopefully I've fixed the bug now, but I recommend switching to TxQBSP permanently as it doesn't have this bug.
 
		 AguirRe #5662 posted by negke  on 2006/12/04 23:36:03but there is no way to have opaque water and solid sky with txqbsp...  
		 AguirRe #5663 posted by Spirit  on 2006/12/05 00:08:06TxQBSP even for QuArK users? I remember TreeQBSP was recommended for us (if I am not wrong).  
		 Spirit #5664 posted by JPL  on 2006/12/05 00:49:16TxQBSP run fine even with QuArK... It is just an external program to call from QuArK, and has nothing to do with the editor. Maybe only the saved map format could have an effect (i.e V220, etc..) and I'm not sure about that point.
 FYI, I'm currently using QuArK 6.5.0-alpha2 with aguirRe's TxQBSP, aguirRe's VIS, and a aguirRe's modified TyrLight ... and all the stuff works fine ...
 
		
		#5665 posted by Trinca  on 2006/12/05 01:25:55i got same as JPL but QuArK 6.5.0-alpha8 new version of quark :\ suck :((( dont compile my base map :( give lots of errors :( leaks everywehere and say stuff like maxsufarces limit bla bla bla :) errrr i will keep this version a lottttttttttt  
		 Trinca #5666 posted by Spirit  on 2006/12/05 01:32:42There was something wrong with the new version, they released a bugfixed build.
 JPL: It was something with the map format QuArK writes, maybe with the .12345 floating point stuff or something. Dunno.
 
		
		#5667 posted by Trinca  on 2006/12/05 01:36:15thks Spirit_ i think i will stick to this version a litle wile :) is perfect for me!!!
 ;) i dont have problems at all, despist other poeple say Quark owns!
 
 ;o)
 
 ban worldcraft :p
 
		 TxQBSP #5668 posted by aguirRe  on 2006/12/05 01:49:43can have opaque liquids, just add -nowatervis. I don't know what you mean by solid sky, both compilers use CONTENTS_SKY for sky.
 Tx was originally the *only* compiler for QuArK so it'd better work with it ... ;)
 
		 Door Sounds #5669 posted by Mike Woodham on 2006/12/06 02:16:14 I haven't full vis'd my map yet and get plenty of packet overflows, which I'm not too concerned about.
 But would this also account for occasional door opening sounds playing continuously: not every door and not every time?
 
		 Yeah,,, #5670 posted by metlslime  on 2006/12/06 02:28:04packet overflows often result in dropped sounds  
		 Metlslime #5671 posted by Ekim Mahdoow on 2006/12/06 02:53:59 Thanks, I'll carry on not being too concerned then.  
		 Rocks Rock #5672 posted by efdat  on 2006/12/10 00:48:05just a short question: does anyone know a good tutorial on making good looking rocks? (i don't mean terrain via triangle method, which i already use) i mean rocks like in kona's maps for example. thanx  
		 More Qc #5673 posted by Mike Woodham on 2006/12/10 10:50:13 How might I emulate ai_forward(x); without using the walkmove function?
 I want to move a monster in its forward direction x units where the direction has to be found AND he may be stuck in a wall (which is where the walkmove function (correctly) exits with FALSE).
 
 I guess I can change self.origin but am stumped on how to calculate the new origin taking an unknown direction into account.
 
 Any offers?
 |