Degenerate Edge
#18280 posted by Kim Smoltz on 2017/03/01 23:35:39
Getting an issue with qbsp:
************ ERROR ************
Degenerate edge at (0.000 0.000 0.000)
However even after seeing nothing suspicious - and moving everything in the area to be sure - it persisted. Some searching revealed it's apparently an issue with the editor accidentally creating a brush with a size of 0 in all dimensions, and that most editors should have built in tools to remove it. How do I go about doing this in Trenchbroom?
#18281 posted by Kim Smoltz on 2017/03/01 23:54:51
Huh, nevermind, the issue is gone after I removed my rock wall to have a crack at making one following the guide ericw posted.
#18282 posted by Kim Smoltz on 2017/03/01 23:54:51
Huh, nevermind, the issue is gone after I removed my rock wall to have a crack at making one following the guide ericw posted.
Func_Train Won't Damage Players?
In Quake 1, is it possible to have a func_train damage and kill players when it touches them, without having to push them into a wall for the damage to actually be applied? It seems like it will only kill the player when they've been pushed into another surface.
#18284 posted by czg on 2017/03/02 10:11:37
I'm not really able to test it, but it could be as simple as adding
"touch" "train_blocked"
as a key to the train.
Not By Regular Means
#18285 posted by negke on 2017/03/02 10:12:31
There's a hack that *kind of* does that, but it's not entirely reliable.
If you add "touch" "hurt_touch" and a sufficiently high "dmg" value to the func_train, it'll kill the player when he actively touches it. Actively means the player needs to move towards the train in order for the damage to be applied; just standing still will make the train push the player as usual.
Preach probably knows a way to do it more reliably. Depends on what the whole thing is for really, and if there isn't another approach.
@czg
Thanks! That did exactly what I wanted it to do. I didn't know I could just add that keyvalue to the entity.
How Feasible Are Brush Based Trees In BSP2?
#18287 posted by Bloodshot on 2017/03/02 11:54:51
I made these out of brushes + _phong for a swamp and I was quite happy with the result
http://www.youtube.com/watch?v=ksL2sIViaFs
They are quite detailed and I made sure to fix any non-integer verts that popped up, but how feasible is this for BSP2? Would I be able to fill up a decent sized level with these?
Umm
At this point you may prefer a .map to .mdl converter.
What About As Entities?
#18289 posted by Bloodshot on 2017/03/02 13:25:32
I had made a large group of trees as one func breakable with negative health so they would be like a group of trees with accurate collision. Is having them as ents that way still a problem?
I could convert them to mdl no problem and use skip for collision, it just helped me save on temp ent limit problems that would be caused by too many tree entities in one visleaf
#18290 posted by Shambler on 2017/03/03 16:51:11
Coming Back To Q1 Mapping [EDIT]
Posted by demorlo [73.138.207.223] on 2017/03/03 16:37:16
I've started to map again and i'm trying to known the current toolset for Q1. I've chosen QuakeSpasm as my engine, since it runs pretty well on Linux. And TrenchBroom seems to be the standard now. However:
- What are the current options for building BSP's?
- What is being used for textures?
#18291 posted by Shambler on 2017/03/03 16:51:31
Documentation On Parsing MAP Format [EDIT]
Posted by demorlo [73.138.207.223] on 2017/03/03 16:39:26
I've been able to find lot's and lot's of detailed information on the BSP format and how to render it, but the MAP is another story. Does anyone have any good links on the details of the format? Not only Q1, but the differences between Q1, Q2 and Q3 as well.
Ok so I pretty much have the same question I had last time... but this time with doors. Can I make it so that touching a func_door kills the player?
Use Trigger_hurt?
#18293 posted by damage_inc on 2017/03/04 09:10:58
You can use a thin trigger_hurt brush assigned with enough damage to kill the player, placed right in front of the door.
Then if you had a button(or another entity/trigger/action)to open the door you would also add a "killtarget" targeting the trigger_hurt brush.
Here's the setup...
door:
targetname = dr1
spawnflag set to "toggle"
trigger_hurt:
targetname = kill_payer_now
Damage(dmg) = 1000
button:
target = dr1
killtarget = kill_player_now
In JACK adding a killtarget to a button is done using "smart edit" and adding a new key/value pair. I don't know about TB and other editors.
You of course can adjust this to suit your needs.
hth's,
- damage_
MissBubbles
#18294 posted by adib on 2017/03/04 17:57:02
You mean, a door that crushes the player while closing? It's the property "dmg". Give it a high value like 1000.
I should have clarified. In my original post about the func_train issue, I wanted the player to be killed by merely touching the train, not the force of the train pushing you into the wall. This was made possibly by using "touch" "train_blocked" as a keyvalue.
I'm trying to replicate that effect but this time with a door. Essentially, I want to create a large spike ( using a func_door ) that acts as a trap that kills the player as if by impalement, instead of being " crushed " aka pushed into a wall by the spike. So the problem is that, even though I'm giving it a high damage value, it isn't doing anything to the player without having another surface nearby to press them into.
If that isn't possible, I could try to redesign the whole thing by using a func_train instead of a func_door I suppose.
I'm Not Able To Look At The Source Atm So I Don't Know For Sure
#18296 posted by czg on 2017/03/05 09:09:19
I'm not sure if func_door overwrites the touch function in its setup. I know it does if you give it a message, but it might not if you leave it blank? If it does, you should be able to use the same trick as for the train.
Oh Never Mind.
#18297 posted by czg on 2017/03/05 09:18:13
From https://quakewiki.org/wiki/doors.qc
self.touch = door_touch;
It always overrides the touch function, so you can't use that trick.
I guess you could maybe do the whole thing as an info_notnull and add all the door functionality manually? It's not doing anything crazy on setup, you just have to explicitly set its movement and give it sounds and stuff.
Posting on mobile so I can't verify anything...
#18298 posted by negke on 2017/03/05 09:44:42
Or simply a clip brush above the spike?
MissBubbles
#18299 posted by adib on 2017/03/05 14:10:47
Then just make your spike inside a trigger_hurt.
Hacks On Doors
#18300 posted by Preach on 2017/03/05 19:58:39
Hacks on doors tend to be very hard to pull off. Some of the reasons:
� The door spawn function overrides almost all of the functions that you can use for hacks. Not just touch, but also use, think, blocked and th_die
� Every class of SOLID_BSP type has a use function specified in its spawn function, putting up barriers to the idea of creating a SOLID_BSP info_notnull which can be activated like a door
� The function LinkDoors requires all of your doors to have the same classname, so a door made from a hacked func_wall cannot link to regular doors.
� Entities which go through the func_door spawn function get their classname changed to "door", which prevents masquerading of classnames
Nevertheless, I think I still have some tricks up my sleeve, so I'll persist. If I come up with something it'll be posted in the Teaching Old Progs New Tricks thread, but I'll try to post the bad news here if it fails.
Success
#18301 posted by Preach on 2017/03/05 22:38:23
Here's how to do it:
https://tomeofpreach.wordpress.com/2017/03/05/masquerading-as-a-door/
Here's a test map that demonstrates it:
http://www.quaketastic.com/files/single_player/maps/mask.zip
Obviously this is a bit more complicated than just adding one key to an entity, but I can't see a simpler way. Let me know if it misbehaves.
Nice
#18302 posted by negke on 2017/03/06 10:15:37
Obviously way over the top for something as simple as a spike trap, but I'm curious as to which other application this may have.
@Preach Thanks for the help - unfortunately this solution looks a bit over my head, and I'm not sure how I would go about applying it to the way I have my trap set up. I've never messed with these types of entities before. As far as my problem goes, I might just look into other ways to set up the trap itself, as in the positioning of it, not the entity functions. I appreciate you going out of your way to help though!
#18304 posted by Newhouse on 2017/03/11 10:46:22
Hey, if someone knows more about quake textures, I have question for you.
Is there similar textures like wizard wood, something that would go to trees and roots?
|