Antilights And Weird Classes
#13364 posted by Preach on 2013/11/28 02:18:27
I'm mucking about with weird entity settings as usual. Most of my experiments have found that no matter what classname an entity has, you can give it keys that light.exe recognises and it just works. For some reason, antilights only seem to work on proper light entities, not on these repurposed entities. I'm using benlight for these tests, has anyone ever encountered this and worked around it? Or does another light tool cope any better?
Preach...
#13365 posted by quaketree on 2013/11/28 07:05:02
I'm not quite getting what you are asking. Are you asking if someone has found a way to apply or tie a negative light to an entity as a sphere around the entity? If so I haven't seen it.
Sprony
#13366 posted by - on 2013/11/28 08:37:57
Even the stock Quake3 textures do that? If not, then likely there is a disconnect between the Q1 textures you are seeing in editor and the textures the game is using (maybe there is a pk3 of half-size textures in your Q3 directory stomping correctly scaled textures in a directory you are using for radiant?)
If not, first thing I would look at is if your textures are being scaled down properly. Quake3 generally uses double-sized textures that are scaled down by half in radiant (so, a 256x256 for a 128x128 wall). Select a face in your map and bring up the surface properties, your x and y scale should be "0.5". (in 1.5 at least, there's a setting in 'edit -> preferences -> settings -> brush' that controls this default) I'd then save the .map and then look at it in notepad. You should have brush faces that look something like:
( 0 96 256 ) ( 0 32 256 ) ( -64 96 256 ) egyptsoc_mat/block01a 0 0 0 0.5 0.5 0 0 0
Where the "0.5 0.5" parts of the line are the texture scale. If Radiant showed you something different in editor vs when it saves, then there's a problem that I don't know how to fix :(
I don't believe there are any compiler settings that could be doing this.
#13367 posted by Preach on 2013/11/28 11:04:00
I'm not quite getting what you are asking. Are you asking if someone has found a way to apply or tie a negative light to an entity as a sphere around the entity? If so I haven't seen it.
It's a compiler issue I'm having, and I don't understand the compiler source code all that well. In general, the light.exe tool doesn't care what classname an entity has, it's only looking for the "light" key on that entity. You can give a monster_shambler the key "light" "200", and the compiler will create a light source at that point (obviously it doesn't follow the shambler, it's just static).
The other thing is that antilights - lights with a negative value in the light key which some compilers support. What I've found is that these two things don't mix. If you create two mapobjects with "light" "200" and "light" "-200", what I've found is that the antilight one doesn't have any effect. If you take the entities and just change their class to "light", suddenly the antilight starts working as well.
I think I've spotted a separate issue in what I'm trying to do, so don't worry too much about it, but it's weird all the same...
Well
#13368 posted by ijed on 2013/11/28 13:04:27
AFAIK it was AguirRe who invented antilights, or standardized them at least. Maybe send him a direct email because I don't think he views this board anymore.
I'm Probably Wrong But
#13369 posted by Rick on 2013/11/28 15:16:27
I would guess that when anti-light was added (negative light), that particular code only checks actual Light entities, whereas the original Light code (as you have noticed) just looks at everything.
Personally, I've always considered that to be a bit of a bug.
Scampie
Yes, even stock textures do that. Thank you for your suggestion. I checked but Radiant shows the right scales, just like you said. I did some extra checks:
It's not the editor. Regardless which map I make or load, everything works fine.
It's not the game. If I take old compiles or load the original maps. all is displayed normally.
It's not the textures. Even vanilla textures show the same problem.
It has to be a compiler issue. I reinstalled Q3map2 to no avail.
Sprony:
#13371 posted by - on 2013/11/28 16:03:56
Can't Compile Map
#13372 posted by Breezeep on 2013/11/28 17:08:33
Hey, I'm using necro's compiling gui and I get this error in the console:
Copying Files... The system cannot find the file specified. Converting map... --------------QBSP-------------- 'C:Program' is not recognized as an internal or external command,operable program or batch file.
#13373 posted by Spirit on 2013/11/28 19:03:52
put the map in a path without spaces (it breaks at the space in "Program Files"), quake tools are a bit last century
Scampie!
My man! Thanks to you I found the problem. After re-installing Windows I decided to sort through my old files and make everything tidy. This resulted in me installing Q3Map2 in a directory outside the Quake 3 directory. That's apparently the problem because I now placed it in the Quake directory and tada, it works like a charm!
@Spirit
#13375 posted by Breezeep on 2013/11/29 04:26:39
good. I might try that tomorrow.
@Spirit #2
#13376 posted by Breezeep on 2013/11/29 18:02:27
Alrigt, It compiled. But I can't instantly launch quake and play my map on it, (I have the steam version BTW.) but it's alright now! thanks for the advice!
Random Idea
#13377 posted by Spirit on 2013/12/03 09:59:21
could a very low r_speeds limit lead to a "Quake the way id did" look?
I Guess So
#13378 posted by RickyT33 on 2013/12/03 16:05:56
Could be a good speedmap theme also.....
Ogre Idle Sound
#13379 posted by Rick on 2013/12/05 05:27:20
Why do they have one? No other monster makes noise when standing still. It makes no sense.
Ogre Idles
#13380 posted by Preach on 2013/12/05 05:58:19
Most monsters do play their idle sound while walking instead of standing. I'd guess it's because the ogre has a special chainsaw dragging sound when he hits the waypoints of his patrol, so they put the mumbling on the standing sequence so they don't interfere.
Monster Idle Sounds
#13381 posted by quaketree on 2013/12/05 06:24:48
The Vore has that grunting\wheezing noise that it makes (I think that's used while it's idle).
Yeah
#13382 posted by ijed on 2013/12/05 10:00:16
All monsters have an idle, but they call it at varying times. Most will call it while in their run sequence (attacking you) at some point, as well as when standing still chilling out.
If you look through the sound folder you'll find them all.
Ogre has the additional chainsaw scrape as Preach mentions.
The idle sounds themselves add ambience to the level and give the player a hint of what they'll be fighting later on. Some have stronger, more recognizable sounds, like the ogre, or the Quoth Night Gaunt.
I Don't Think So
#13383 posted by Rick on 2013/12/05 13:08:36
Basically, I'm trying to figure out why the only ambient sound in my map is from the sky. There's no water or lava noise. I think this is caused by the texture names I used.
Just to test, I built the map using the -noambientsky switch and when I move around the level using -noclip and -notarget, the only sounds I hear are from torches, sound entities such as ambient_drip, monsters that are walking a path, and ogres.
All the ogres make the rumbling sound when standing still, all of the other monsters are silent when standing still.
Aha
#13384 posted by ijed on 2013/12/05 14:05:39
You're right.
I just took a quick look over the qc and only the ogre is calling his idle sound while in his idle cycle.
All the others call it during their non-idle cycles, or during walk.
So
#13385 posted by Rick on 2013/12/05 14:56:35
How would I make them shut up?
I commented out both places in ogre.qc where that sound is called and they still stand there making that stupid noise.
Well
#13386 posted by ijed on 2013/12/05 15:05:18
That should do it. The engine isn't calling any monster sounds directly.
So, I'll ask the dumb questions; did you compile, did you copy the progs.dat over?
I've failed on that many, many times. I'm also dyslexic when it comes to greater > or < less than.
Fixed
#13387 posted by Rick on 2013/12/05 16:06:07
Facepalm moment - was just me being stupid and putting the new progs.dat in the wrong game folder.
Seriously, is this some kind of bug? Why does only the ogre make sounds when he should actually be silent, waiting to ambush the player?
Well
#13388 posted by ijed on 2013/12/05 16:18:41
Thats lots of weird shit in the original qc. Like the ambush / crucified spawnflags and so on.
Probably the actual behaviour should be controlled by the AMBUSH flag.
So if that is set a monster is silent, if not then they make sounds.
I never realised one of the reasons I like patrolling monsters is that they make sound.
|