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
 JkRaVeN
04-16-2004, 3:56 AM
#1
Hi I want to know how to make a force field like this,

Force Field (http://mysite.freeserve.com/jks_jk3/shot1489.jpg)

And I want to know how to make it so it can be turned on and off by a switch

Thx
 Mercenary
04-16-2004, 4:55 AM
#2
Texture a brush with a force field shader of your choice and turn it into a func_wall. A func_wall can be triggered on and off.
 lassev
04-16-2004, 7:08 AM
#3
Or func_usable.
 JkRaVeN
04-22-2004, 12:02 PM
#4
Is there a way to make it so it will play a sound when its turned on/off?
 Jedi_Vogel
04-22-2004, 1:27 PM
#5
can't you use the "noise" key on the switch? Or do you want two sounds playing at the same time, one for the button and one for the force field?
 JkRaVeN
04-22-2004, 1:36 PM
#6
Yeah I wanted two =/ and also I want to know how to add a huming sound when the force field is on if u know what I mean. :D
 lassev
04-22-2004, 1:56 PM
#7
Place target_speaker right next to the func_usable (your forcefield). Give the target speaker the same targetname as the func_usable has. Now you must decide whether you want the forcefield to be on or off at the beginning of the level. If you want it to be on, check the looping_on flag of the target speaker. If you want the forcefield to start off (and check the start_off flag of the func_usable), check the looping_off flag of the speaker. Point the speaker to some sound file. Now target the trigger you use to control the forcefield also to the speaker, as they both have the same targetname.

And what's more, you can place another target_speaker also right next to the trigger controlling the forcefields. For this, don't check the looped flags, but just point it to your switch sound. Also give this second target_speaker the same targetname as before. This speaker will now only play once the switch sound when used, whereas the firts speaker will loop (until switched off) the forcefield sound.
 Jedi_Vogel
04-22-2004, 2:29 PM
#8
I can't remember if JA has these fields on SP or not. If not, just route around the JO PK3's (assuming you have JO), and you should find the right sound as the Kejim level had quite a few of these force fields *nods*
 JkRaVeN
04-23-2004, 7:52 PM
#9
ok thx :D
 Usurpo
04-24-2004, 12:45 AM
#10
What texture is that, anyways?
 lassev
04-24-2004, 10:00 AM
#11
Like Jedi_Vogel said, the selection of force fields is not that large amongst the original JA textures/shaders. However, there is at least one red force field, which can be found in the imperial shader, and goes by the name of:

textures/imperial/imp_forcefield

It uses the redfield1 and redfield2 textures you can find in the Kejim folder (should you want to have a look at the textures in Windows explorer).
Page: 1 of 1