News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
 
Change "integer" in that line to "string". 
 
How am I supposed to do that? 
Oh Nvm I Think I Get It Now, I'll Have A Look At It. 
 
Strange 
I changed "integer" to "string" and I'm still getting the error. must be something to do with the "delay between flashes" being set to 0.2 
 
damn, I was just guessing though. Try removing the whole line and see if that helps. Don't blame me later! 
String And Quotes 
wait(string) : "Delay between flashes" : "0.2"

Need "" for string default values, might be it? 
Ok 
that worked, but the models don't show up.
at least it still works. 
RickyT23, Re: Posts 14013 + 14014 
Thanks very much for the detailed explanation.

No, I do realise that the compilers are standalone. I've been using TrenchBroom to map and them LordHavoc's hmap2 to compile (to test stuff), for which I use the terminal (i.e. the Linux "command prompt"). It's just that I could not get qbsp to work, as I clearly wasn't typing the right commands. I'll try it again later, but for now everything's working again and I've fallen back on hmap2. The problem was not with the compiler, but with the fact that I had duplicate (and as it turns out, triplicate, quadruplicate and quintuplicate) brushes), as mfx suggested above.

Still not sure how that happened, but I hope it won't happen again, as it was a pain to track down and remove all those duplicates. And no, I wasn't mapping under the influence! :) 
As For The Text Editor Thing... 
... that's really useful information. I am able to open my map files with my humble text editor (Leafpad) and now I can simply find and replace textures if I suddenly decide to use a different texture on 1000 faces. Thanks! 
 
Checkout jEdit some day, it rules!

Leafpad has some nasty undo bugs that can corrupt everything iirc. 
Quake Brush Limits? 
What is the upper limit (if any) to the number of brushes one can have in a Quake map? I'm not even done with one third of my map's basic layout and there's a lot of detail to be added, and already I've got ~800 brushes ... at this rate I'm going to have thousands of brushes by the time I'm done. Should I be worried?

PS: Thanks, Spirit. I'll check it out. 
 
I don't think there is a limit. The limits exist in the resulting BSP file. 
Limits 
The standard bsp format is bsp29.

There's a newer one called BSP2 which needs support from compilers like Tyrann's: http://www.disenchant.net/

Where you need the -bsp2 switch to make it compile.

There is a size limit on how far away from the world 0,0 you can get - if the player leaves this volume in game then strange things happen. Can't remember the distance.

Finally, the most difficult limit to overcome is your own sanity. Slaving away on a gigantic BSP2 monstrosity is not for the faint hearted and can quickly suck the fun out of mapping if you let it. 
4096 ^3 
 
My Monday Posts Suck 
To clarify:

There's are various limits to what can be compiled into a working bsp that you can play. Most of these are based on the hardware that was available in 1996. Things like how many entities and so on.

These limits, all apart from the +/-4096, can be removed if you use the BSP2 format.

For a beginner though, you really want to avoid that - keep it small and fun to start with. 
Sanity ... Yeah. 
Thanks for the info, ijed and Scampie. Does that mean anything with +4096 or -4096 as at least one of its x/y/z coordinates is too far away? (I assume it does not mean that 68 719 476 736 is the maximum distance.)

I did start with something that was very tiny, but it was pointless to play. Now I'm trying to create something that would be reasonably enjoyable to play while looking fairly decent -- so not trying to make the next ne_ruins or something_wicked, but hopefully something not completely broken and somewhat better looking than beach1 or rohling. It just seems to have taken on a life -- and scale -- of its own... 
Correctamondo 
Though AFAIK you can go over if you've got a the right editor/compiler. Which compilers allow you to go outside of that space? 
Well, Tyrann's At Least 
And I think most other modern compilers will build the brushes as well.

But the engine doesn't allow you to move around outside of it, instead you get lots of HOM and weird shit.

I've got various vistas and stuff outside the playable area of my current map, but the player never goes there.

4096 from the 0 position (centre of the world) in any direction, up down, left rright, backwards, forwards. 
Enemies Spawn Alert 
is there any way to do this on vanilla quake? 
Target Them 
 
Xem* 
Vores are transethnic otherkin. 
Sunlight? 
Sorry to have to ask this here as I'm sure this is basic knowledge for everyone else, but I can't seem to get sunlight figured out.

From what I've read, I gather I have to add certain properties and values to anything with the classname "worldspawn", which would then make the skybox textures in the map project light -- but so far I haven't been able to get it to work. Possibly I'm leaving important stuff out or using the wrong properties and/or values.

Would someone be so kind as to give me a list of all properties and values to add to worldspawn to get this to work in TrenchBroom? I realise there is a lot one can change and customise and that there is no definitive way of doing this -- but I would like some sort of starting point, where I have at least some sunlight in the map, and can then start toying with the angle, brightness, colour, etc. 
 
I believe you add the key _sunlight to the worldspawn.

"_sunlight" "n"
Set the brightness of the sunlight coming from an unseen sun in
the sky. Sky brushes (or more accurately bsp leafs with sky
contents) will emit sunlight at an angle specified by the
"_sun_mangle" key. Default 0.


"_sun_mangle" "x y z"
Specifies the direction of sunlight using yaw(x), pitch(y) and
roll(z) in degrees. Yaw specifies the angle around the Z-axis
from 0 to 359 degrees and pitch specifies the angle from 90
(straight up) to -90 (straight down). Roll has no effect, so use
any value (e.g. 0). Default is straight down ("0 -90 0").


"_sunlight_color" "r g b"
Specify red(r), green(g) and blue(b) components for the colour
of the sunlight. RGB component values are between 0 and 255.
Default is white light ("255 255 255"). 
For Example 
_sun_mangle 128 -64 0
_sunlight 100
_sunlight_color 64 192 255

This should make a blue sun light come down 
No Luck 
Thanks very much, FifthElephant, but for some reason that still isn't working. Odd. I have no trouble getting light to work when placing light entities in my map, but sunlight does absolutely nothing -- it just looks like an unlit map.

I must be doing something wrong.

On an only marginally related note, can someone explain to me what this means?:

WARNING: CutNodePortals_r:new portal was clipped away 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.