Force Field

For Descent, Descent II and Descent3 level editing and modification assistance.
Post Reply
Random_D_Fan
DBB Cadet
DBB Cadet
Posts: 6
Joined: Sun Jul 25, 2004 7:24 pm

Force Field

Post by Random_D_Fan »

I'm working on my first level (not counting some minor experiments with the lathe tool), and I want to include a force field that will be deactived by a switch, like in D3 L1. I think I know how to script it, but how do you get a force-field object in the first place?

And if it can only be done with a texture, how do you script that :oops:?
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

You need to turn the forcefield on with an Enable Forcefield script event that executes at level start.
User avatar
Stryker
DBB Admiral
DBB Admiral
Posts: 1103
Joined: Sat Jun 12, 2004 7:58 am
Contact:

Post by Stryker »

Also, the forcefield will have the same texture as the portal it's on. Go into wireframe view in world view and click on a portal; select marsforcefield1 or whatever the texture you want is and click apply to current face. Make sure to do this on both sides.
User avatar
Kyouryuu
DBB Alumni
DBB Alumni
Posts: 5775
Joined: Fri Apr 30, 1999 2:01 am
Location: Isla Nublar
Contact:

Post by Kyouryuu »

Which brings up the obvious corollary, a forcefield generally has to be a portal, i.e. the connection face shared between two rooms. :)
Post Reply