Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Cpt. Ramius on November 11, 2006, 01:01:59 pm
-
I'd like to know if anyone considered this possiblity???
my idea was to create a model which has two parts
a tanker with a fuel probe which floats in space
just like a tanker bird of the navy ...
so the first part is the tanker itself and the second part is the fuel probe ...
my idea was that the fuel probe is a own model who follows the tanker in a defined distance behind the tanker and every time the tanker changes its direction the probe "slides" behind it...
the idea was to define a circle behind the tanker in which the probe is allowed to move...
which should look like this
(http://img392.imageshack.us/img392/3382/tankerdf1.th.png) (http://img392.imageshack.us/my.php?image=tankerdf1.png)
the only problem i figured out, if my idea works, how to connect two models with a texture(the fuel tube of the probe)
-
You could probably do that with two models and some fancy SEXPing in FRED already.
-
yeah i thought about that but i got stuck in the point how to connect them with the fuel tube
and the next thing is how to do a refuel procedure for a ai and the player... but im not a coder, just the one with the idea
so my questin is: is it possible???
i really like to see that...
-
Ohhhh... yeah that's more complicated. I think you can do that by making the line and the probe submodels (a rare few models out there have actual moving parts), but that's advanced modeling, and I can't even put together a simple Truespace hierarchy. :p
As for refueling, you put a dockpoint on the tanker (or probe, whichever you want to dock with the player), and then in FRED tell it to dock with the player at the appropriate time.
Oh and by the way:
:welcome:
-
I was just gonna suggest a submodel for the probe with a rotation point at the location where it connects to the main ship. Then, using submodel animation (which may not have enough trigger types available right now), cause it to adjust its angle depending on the control inputs of the ship. If the ship pulls up, the probe angles up in reference to the ship. The difficult thing is gonna make it look genuine, so that the degree of angling is dependent on the degree of the maneuver and have a slight delay between the beginning of the ship's turn, and the angling of the probe.
-
ahhh i got beamed :shaking:
yeah some parts of that post seems to be a buit technobabble to me but im quite sure you know what your are talking about... ;) i should go deeper in freding ...
hm.. may be the guys at bsg:btrl should consider this concept...
would be awesome to see that ...
anyway thank you all
never liked a limited engine which kills my ideas... :mad:
attention noob question!!!
what is sexp? :confused:
-
SEXP= Symbolic EXPression. They are the little codes used by FRED and numerous other game-maker programs to control the mission.
-
Lol... limited engine..
Just you wait... someday :D
-
Yes, that mystical Someday, when we're all running 6.9.5 RC12. Face it, it's limited.
-
limited engine, Freespace?
Blasphemer!!!
-
Somebody needs to make me a "You can DO it with SCRIPTING!!!" picture
Because I'm pretty sure you could. The variables to rotate a subsystem and gun are accessible via scripting. A fair chunk of the physics variables for ships are also accessible via scripting, so you should have just as much of an idea of what the ship's doing as in the code.
-
ahh sexp=script :yes:
oh christ no i didn't meant to declare the scp or freespace as limited... my appologies i did't want to insult someone... sorry :shaking:
did some of you ever tried to script in operationflashpoint???
it was hell in the early days: no open script references and stuff like that...
and a really bad collision system and stuff just the whole engine was in a way unfinished...
and i never manage it ...
as you see i'm not a good scripter(i can wirte a bit vbs stuff but nothing big)
that was my point
i kneel to the incredible work of the devs of scp and those great mod like tbp and trans and btrl ...
-
No, sexp is a program section for FRED, that allows one to preform certain operations (like the spooky blackness in Transcend)
Carefully used, you can get things to follow other things, attack stuff, warp out, etc.
Don't think you offended anyone... Maybe 0.o
-
FS is funny in it has a psudo scripting system that the missions are built with and a recently added full scripting system that is used to over ride just about anything you want.
-
Symbolic expression... it's a premade script... so yeah, guess you are right....