Help with circular forcefield -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 12 years ago

I've been trying to make a circular forcefield... ya know, KOTOR force cage style. Making the structure of the cage is easy but this forcefield is like... :mad: I dunno, most things are simple enough but this just doesnt come easy. I looked through the RichDiesal tutorial but he doesnt seem to explain it clear enough for me to understand how everything works together properly. When I make the cylinder like forcefield, the button only works half the time, and most of the time when it works, it like flickers A LOT until it finally comes to life or dies out. Sometimes I have to hold the button too. Or, when I press the button it becomes all buggy and flickering and looks weird, even if it doesnt go into the wall... in any case, it doesnt work right. I think ... this is a problem with the trigger setup and possibly also how I setup my linking and the forcefield itself but I'm not sure. What I have is this:

The cylinder with the forcefield shader (targetname field_01, func wall) The button with the button texture (targetname field_01, func usable) The trigger multiple which points at the forcefield and button and has spawnflags 7 and angle 90 (target field_01)

My trigger... points at my cylinder and button

The cylinder and button are not connected through each other, but through my trigger multiple

Any help with this? Thanks. P.S. - Just found these forums oddly... I didnt know they existed o.O But now I'm signed up :cya:




Inyri Forge VIP Member

[Insert User Title Here]

55 XP

15th March 2005

0 Uploads

25,940 Posts

0 Threads

#2 12 years ago

We're glad you found them :)

What you have setup sounds to be the best option -- it's what I would have suggested myself. As for getting it to turn on and off, that would probably best be left up to our resident mapping experts to help you with. Sounds like you know the basics, though.




Guest

I didn't make it!

0 XP

 
#3 12 years ago

Thanks :)

Yeah that would be best Actually, my problem could be that my shader is on a non solid brush but I'm not sure... I dont think so because the problem seems to not be with the actual forcefield as much as how it is turned on/off and the process of that




Bluestormtrooper

>You

50 XP

14th March 2005

0 Uploads

1,752 Posts

0 Threads

#4 12 years ago

Try skipping the func_usable and making a button brush that doesnt do anything so they know where to push, then making a trigger_multiple link right to the func_wall.




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#5 12 years ago
quintilanOr, when I press the button it becomes all buggy and flickering and looks weird, even if it doesnt go into the wall...

What's that? If the switch is a func_usable, why would it "go into the wall"? That sounds more like func_button than func_usable functionality. Func_usable just appears and disappears when it's used (or does some special functions, should use set it up so).

But most importantly, check that you have some wait value in your trigger.




reelo

I'm bored

50 XP

19th July 2006

0 Uploads

71 Posts

0 Threads

#6 12 years ago

I wish you would state which game you are making this for, JO or JA, because I know exactly how to make a forcefield for JO and I could make a circular one also. Oh ya I'm pretty sure that you can't just make a brush turn it into a cylinder put some forcefield shaders on it and expect it to work. I could go more in detail but I have other stuff to do.




Guest

I didn't make it!

0 XP

 
#7 12 years ago

Hmm thanks for the advice all, it's not working yet but I've gotten somewhere, and I think I can get it to work soon. Well, you can indeed make a cylinder a forcefield easily, I already got a weird trigger working, now ... it's just a matter of the trigger mechanism, Reelo. It's JA btw.




Mad Cat MkII

Sazamaphrase

50 XP

7th November 2005

0 Uploads

5,387 Posts

0 Threads

#8 12 years ago
reeloI wish you would state which game you are making this for, JO or JA, because I know exactly how to make a forcefield for JO and I could make a circular one also. Oh ya I'm pretty sure that you can't just make a brush turn it into a cylinder put some forcefield shaders on it and expect it to work. I could go more in detail but I have other stuff to do.

well sence this is under the JKA modding and editing section id assume its for JKA but nun the less isnt it the same for both games anyway