Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Force fields

Page: 1 of 1
 demo
11-20-2004, 5:54 AM
#1
:wavey: i want to make a force field that turns off when you turn a switch

how do i make a force field and how do i turn it off and on:D
 Nokill
11-20-2004, 7:15 AM
#2
the force shield is a shader and you can turn it on/off yust like you do hwit doors ;)
 demo
11-20-2004, 8:41 AM
#3
:confused:

well ok but one thats solid like in sith-j-culls ctf map
 wedge2211
11-20-2004, 9:02 AM
#4
Make a brush out of nodraw_solid and cover the visible sides with your forcefield shader. Then make the brush into a func_usable, and trigger it with a trigger_multiple, func_button, or anything else you like.
 demo
11-20-2004, 12:29 PM
#5
will target deactivate work?
 wedge2211
11-21-2004, 7:57 AM
#6
I don't think so. A target_activate or _deactivate doesn't USE the thing it's targeted at. A func_usable (what you should make the forcefield from) appears and disappears whenever it is used by an entity, like a trigger_multiple.
 demo
11-21-2004, 7:58 AM
#7
ok since i made it a func wall and i linkings a trigger once to it but it didn't turn off
 StormTrooper789
11-28-2004, 9:37 AM
#8
I also have a question about forcefields. Can somebody give me a list of forcefield shaders? I really don't want to be using GTKRadiant all day just to find a shader.
 Jedi_Vogel
12-03-2004, 4:54 AM
#9
The time you've waited for a response you could have found one.

I think there's one under Korriban and there should be one under Kejim.
 wedge2211
12-03-2004, 6:20 AM
#10
And Byss, and Imperial...just check likely-looking texture sets, it's pretty obvious whice are the force field shaders.
 lassev
12-04-2004, 2:18 AM
#11
Originally posted by demo
will target deactivate work?

You could use target_deactivate to disable the triggerable (on/off) behavior of the forcefill. Like if you normally control the forcefield with a button, you could deactivate the button with target_deactivate so that the button cannot be used anymore (and likewise reactivate it with target_activate).

Target_deactivate must, of course, be used with some other trigger or button or some other entity capable of using other entities.
Page: 1 of 1