The Jedi Academy. THE Place for Jedi training.
Forums
Content
The Academy
Learn
Communicate
Personal


Forums | Editing Forum
Func_train question..?
Dec 17 2004 10:11pm

Trelane
 - Student
Trelane
Is it possible to take an item which is func_breakable (like a crate for example) and somehow have it ride on a func_train or func_plat brush?

Basically I'm trying to make a moving platform with crates of stuff that you would have to break to get to the goodies.

Thanks,
T.

  Login and add your comment!  
Comments
Dec 27 2004 04:17pm

Setementor
 - Jedi Master
 Setementor

I can't script, so it'd help me. I'm sure anyone else searching around the forums looking for something like this may find it useful. :)

Dec 26 2004 11:41pm

Trelane
 - Student
 Trelane

Thanks for all the help fella's.

What I finally did was write a simple script to simulate the effect that I'm after.

I took the func_breakable and had it move from point to point on it's own. It's no longer riding a train, but it does serve the purpose.

If anyone is interested I can post the script here for people to copy. It is good for making horizontal moving elevators activated by buttons, and other button activated movers (and breakables) not covered by the func_ options in radiant.
Thanks again guys, because I really appreciated all the help :)


Dec 26 2004 03:19pm

Setementor
 - Jedi Master
 Setementor

There is a train in Jedi Academy Single Player, so maybe there is a ready-made script somewhere in the asset files.

Dec 26 2004 07:06am

tarpman
 - The Tarped Avenger
 tarpman

Hopefully I can shed some light here... :P

Brushes are generally static objects, and are definitely NOT affected by whatever Raven/id may call a physics engine. Therefore, no, a func_breakable will not ride on a train. A good test for whether something will do that properly is to suspend it a few map units *above* a surface. If it drops down correctly when you play the map, it'll ride on the train; if it doesn't, it won't.

I'm not sure how you make something be affected by the physics. Only a narrow range of objects are by default - being mainly characters and pickups. Scripting may be the answer you're looking for. I'll look into it and post here if I find anything out.
_______________
Saving the world, one kilobyte at a time.

Dec 19 2004 10:27pm

Setementor
 - Jedi Master
 Setementor

A normal Brush probably won't move just because it's near a func_train. I've never tried, but I very much doubt it.

Anyway, I think scripting may work. I've seen many cool scripts, and I think it'd be possible.

You will need the JK2 Editing Tools and a Search Engine to search for a tutorial. Alternatively, I found a few myself:

Some, at least the third and fourth, are scripting tutorials. The others may also come in handy. :: http://www.massassi.net/tutorials.php

Following on is a set of tutorials by Kengo, who is quite a popular modder. :: http://www.geocities.com/kengomaps/tutorials.html

Good luck. :)

This comment was edited by Setementor on Dec 19 2004 10:28pm.

Dec 19 2004 09:17pm

Bail Hope of Belouve
 - Student
 Bail Hope of Belouve

Quote:
Yeah, after some trial and error I'm thinking that it's going to be impossible. I think my best bet to do this might be to write some kind of script.

Any suggestions on where I can get some tutorials on simple scripting for Radiant/JA?


Are you trying to make something that floats around, with different brushes on top that are func_breakables?

if so... if you put a simple brush on your func_train, won't it move along with your brush? (I never tried)

Should you be able to do this, I think a func_train for the platform, and func_breakables for the crates should work. I think.

Never tested it though
_______________
Visit the Belouve Family Website!
Quote:
I try to have fun with my friends and try to make a difference as best I can. What does making a difference mean? Well, it can be as simple as saying hello, answering a question that seems obvious or heck, just talking. -- Vladarion

Want to know Vladarion? Read the Article about his life here.


Dec 19 2004 06:05pm

Trelane
 - Student
 Trelane

Yeah, after some trial and error I'm thinking that it's going to be impossible. I think my best bet to do this might be to write some kind of script.

Any suggestions on where I can get some tutorials on simple scripting for Radiant/JA?


Dec 19 2004 03:18am

Setementor
 - Jedi Master
 Setementor

I don't think you can give two functions to one entity/brush. :/

This comment was edited by Setementor on Dec 19 2004 03:19am.

  Login and add your comment!