Jump to content

Home

Help with a trap. Lightning


McCloud

Recommended Posts

I have 2 platforms that move into a positon when triggered. When they are in this position they will trigger the something in between them. I want this something to be lightning. Not the lightning you see on the floor in the game but 3 dimentional lightning. I want it to fill the space between the these 2 platforms and kill whatever is in between. Can this be done? If so then how do i make the lightning and how do I make it kill?

 

Also If you know how to make a wall you can see but walk through, please tell me.

Link to comment
Share on other sites

It's made for quake. Thats the reason I use these forms becuse everyone usualy gives me answers about JKii instead of quake. The editors are alike but there are differences. I have no clue how to do that in JK2radiant. That stargate from that link looks almost like the one in the movie.

Link to comment
Share on other sites

well, that shader method in the link should work for any Radiant AFAIK. But hey, did you try this yet, under the selection tab in the JK2Radiant toolbar there is an option for make non-solid (control+U). If that works then that should be your best bet.

Link to comment
Share on other sites

If you want to kill someone with lightning, one way, there about 4 ways, is to create:

 

Create one new brush (to set the area of death)

Give the brush a texture; for invisibility use NODRAW in 'system'

Position the brush and size

Press "N" to set the brush's entity; be sure it is selected only

Change the brush's entity Key to 'trigger_hurt'

Check the box ELECTRICAL

Read the data on 'trigger_hurt' in the info box to better tweak

Clone this brush to create more areas of death

 

Now. To get this brush to show when you want, you can use another trigger. When that trigger goes off, your ELECTRICAL brush will appear and if the player falls, they could fall into it. Not sure if it trigged in the same place will activate it too; a rather cool test to try.

Link to comment
Share on other sites

I made the electircal brush. It works well. I just need to work on the visual part of it now and I need it to turn on when I want it to. Not too far into the first level on the game, you come to some type of reactor you have to destroy and befor you destoy it you see a lot of electricity emiting from it. I'll try to find that in the map that came with radiant. The non-solid trick didn't work for me. I tried it a few times. I'll take a closer look at that link.

Thanx so far on all the help.

Link to comment
Share on other sites

Well the visual part is different. It does not inflict damage (from my tests so far), it is only visual. So a brush is used to create the electrical damage.

 

To create 3D arcing lightning when you want, you will need to use a few entities.

 

To create arc lightning in 3D space, create a 'fx_runner'

Give it a targetname like [bolt_1]

Create a 'fxFile' key with the value 'env/electricity'

Position it where you want it to start in space

Now create where the bolt travels with a 'target_position'

Give it a targetname like [trg_b1]

Position it where you want it to shoot in space

Give [bolt_1] a 'target' key value [trg_b1] to connect bolt

Wasn't sure how to make these bolts hurt, so I used a NODRAW brush

Set the 'fx_runner' to STARTOFF

Create a brush with a trigger texture to 'trigger_once' the 'fx_runner' (bolt_1)

You do not need to trigger to target_position entity (I think)

You can likely trigger the fx_runner again (bolt_1) to hide it

Sometimes one must tweak the lightning, so edit electricity.efx with Notepad

Link to comment
Share on other sites

Yea!!! I have a working trap thanx to you FEXX. When my 2 platform things move into position, they trigger the trigger_hut because I gave it the targetname bolt1 and I checked START OFF. At the same time it triggers my visual effect because I have it the targetname bolt1 also. When the platforms start to move away it triggers bolt1 again to shut the whole thing off.

 

Also, from studying the Kejim map, I have found that there are other optional bolts like env/huge_lightning

 

I'm going to have this wall and at one point there will be a part you can walkthrough it. It's going to be a secret and i want it to be a wall you can walkthrough. I make the brush and apply the texture so it looks like the rest of the wall. Then what. Someone please explain to me how to do it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...