Druid Bremen Posted March 24, 2004 Posted March 24, 2004 Nooo! My triggers don't work! I'm making a trigger that the player uses to trigger a trap! Okay, here's the details of my triggers and func_doors ( the trap itself ). *Note that the trap itself is simply a circle on the ground. When the trigger is tripped, the bottom left moves diagonal down left, bottom right moves diagonal down right, etc etc. And no, please don't point me to RichDiesal and say that I didn't search for a tutorial. That's the tutorial was following before my triggers went bang. Trigger_Multiple classname: trigger_multiple target: t1 spawnflags: 7 Trapdoor (bottom left quarter) classname: func_door targetname: t1 angle: 225 Trapdoor (top left quarter) classname: func_door targetname: t1 angle: 135 Trapdoor (top right quarter) classname: func_door targetname: t1 angle: 45 Trapdoor (bottom right quarter) classname: func_door targetname: t1 angle: 315
lassev Posted March 24, 2004 Posted March 24, 2004 What went wrong with your trigger? Anyway, do and check the following things: Insert a wait value for the trigger (even if it is using use_button flag; make it a short wait). You are using the facing flag, so check that the angles are where you want them to be. As you don't have any angles set, it's the default 0 (360), that is, straight to the right.
mslaf Posted March 24, 2004 Posted March 24, 2004 I think you should add a "team" key to all door entities. in ex: # classname: func_door # targetname: t1 # angle: 324 # team: trap_doors # classname: func_door # targetname: t1 # angle: 123 # team: trap_doors Now it should work correctly if this was the problem.
Druid Bremen Posted March 25, 2004 Author Posted March 25, 2004 I have four "doors". So I put the same team for all of them, I suppose?
Druid Bremen Posted March 25, 2004 Author Posted March 25, 2004 It STILL doesn't work. I removed all the debug brushes that popped up during compile, added the team/trapdoor key/pair and it STILL DOESN'T WORK!
mslaf Posted March 25, 2004 Posted March 25, 2004 The problem is that you didn't describe the problem. It just like "the game doesn't work", it may be because you're trying to run it in Linux or the computer is turned off;) It doesn't work because: - Only the one door moves when the trigger is activated (the team key should solve it) - Nothing happens - Something else. OK. The trigger entity should have "spawnflags" == 1 or doesn't have it at all. The facing flag need to have an angle specified and doesn't work without it. I think this should help you.
WadeV1589 Posted March 25, 2004 Posted March 25, 2004 ^^^IWS, clear the spawnflags on the trigger but do set a wait value on it, ideally larger than the time it takes the doors to open and close again.
Druid Bremen Posted March 25, 2004 Author Posted March 25, 2004 Originally posted by mslaf The problem is that you didn't describe the problem. It just like "the game doesn't work", it may be because you're trying to run it in Linux or the computer is turned off;) It doesn't work because: - Only the one door moves then the trigger is activated (the team key should solve it) - Nothing happens - Something else. OK. The trigger entity should have "spawnflags" == 1 or doesn't have it at all. The facing flag need to have an angle specified and doesn't work without it. I think this should help you. Well, its just like, I activate the trigger, and the doors act like I didn't at all. In other words, they didn't move.
mslaf Posted March 25, 2004 Posted March 25, 2004 Like this one? http://www.mslaf.com/tutorials/trapdoors.map
Druid Bremen Posted March 26, 2004 Author Posted March 26, 2004 Yes, something like that, just that I placed the trigger elsewhere so that it can be triggered remotely. Perhaps you have an idea to help me?
mslaf Posted March 26, 2004 Posted March 26, 2004 Hmm, no idea. The sample map works on my system. It will not work only if you have the "facing" flat set without the "angle" key. I can advise you to remove the trigger and doors (move them back to the worldspawn) and make them again or copy from my map and check if it works. If it doesn't then try to create a simple test map to and check it again.
Druid Bremen Posted March 26, 2004 Author Posted March 26, 2004 Well... No, I don't have the facing flag checked. What do you mean by "move them back to the worldspawn"?
mslaf Posted March 26, 2004 Posted March 26, 2004 http://www.mslaf.com/tutorials/moveintoworldspawn.jpeg I use GtkRadiant 1.2.13 and it may look a bit different if you use 1.4.
Druid Bremen Posted March 26, 2004 Author Posted March 26, 2004 I think triggers are staging a revolt against me. I did what you said: moving them back to worldspawn and making the triggers AND the doors again. It just didn't work...
mslaf Posted March 26, 2004 Posted March 26, 2004 Then create the sample test map. If it doesn't work it means that something is screwed up with your game. Cleaning the base directory or reinstalling the game + GTK can help sometimes.
Druid Bremen Posted March 27, 2004 Author Posted March 27, 2004 Right, I'll clean up my base first. If it doesn't work, I'll reinstall everything. Edit: I can't believe how stupid I was. When I cleaned up my base folder, I reinstalled GTK and compiled my map. Then I found out something; GTK took me to SP. Only then did I remember I had set my Project Settings to SP. I quickly changed to MP, recompiled, AND IT WORKED!!! Thanks for the help man!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.