Home   Help Search Login Register  

Author Topic: New Idea??  (Read 2189 times)

0 Members and 1 Guest are viewing this topic.

monoloth69

  • Guest
New Idea??
« on: 08 Jan 2003, 03:48:55 »
Well, not sure if anyone has suggested this before, but I have kicked around the idea of a Train, like a troop transport kind of deal, with a rail system across any given island.  Would this be too much?  As far as using it as a standalone addon for maps i think it might be, but for use in island making it would really open up some new variations.  After all, how did these ppl on these islands ever get to places, lol.  Anyway, any feedback, good or bad would be appreciated, even if its just to call me a tard or noob.

Black Magic

  • Guest
Re:New Idea??
« Reply #1 on: 08 Jan 2003, 06:43:18 »
You tard. You noob. :p

Just kidding hehe. Anyways, this has been suggested before but it was a while back and what with all the new things out who knows if it's possible. You could get a good train and track going but as far as having it function so forth, that would be one hell of a task if not simply impossible. :-\

But look, what would I know? ::)

Quote
how did these ppl on these islands ever get to places?
Simple - cars, buses, planes, whatever takes your fancy. Although I occassionally take shortcuts with your tanks and bombers and what not. That's until those damn Nogova police pull you over for dangerous driving, I mean, it's not like I was speeding! ;D

And if you're a real health freak there's always your legs. 8)

Ah, the endless options of OFP. :-*

Skaven

  • Guest
Re:New Idea??
« Reply #2 on: 08 Jan 2003, 14:13:41 »
Yes this was already talked a couple of times, we can make the train, we can make the railroad, but making the train only drive on the railroad is the main problem, that is without using scripts in it.
Everytime you place a moving vehicle, in front of a soldier he will always turn and pass at his side, which will make him drive off the railroad.
So unfortunately, I don't think this is possible, at least not whithout scripts, but we have so many genius here, maybe someone will eventually find a way to solve this  :-\ One thing is for certain a train would be perfect in ofpec, and specially for the WW2 Mods, where trains had a big influence  :-\

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:New Idea??
« Reply #3 on: 08 Jan 2003, 18:07:03 »
Yes this was already talked a couple of times, we can make the train, we can make the railroad, but making the train only drive on the railroad is the main problem, that is without using scripts in it.
Everytime you place a moving vehicle, in front of a soldier he will always turn and pass at his side, which will make him drive off the railroad.
So unfortunately, I don't think this is possible, at least not whithout scripts, but we have so many genius here, maybe someone will eventually find a way to solve this  :-\ One thing is for certain a train would be perfect in ofpec, and specially for the WW2 Mods, where trains had a big influence  :-\

Perhaps someone can start a recruting at the training depot for making trains and rails.

monoloth69

  • Guest
Re:New Idea??
« Reply #4 on: 09 Jan 2003, 03:49:00 »
Forgive my apparent ignorance, I have just recently started trying my hand at map making.  I digress......as far as the train avoiding soldiers, a fenceline would server the purpose, making the trains accessible only from platforms, if not a fence, some other menas of "protecting" the tracks.  Then maybe just a system of waypoints, speed settings, etc.  Once again, let the commecnts fly, i would be more than happy to work with ppl on this idea, I have 3D design experience, just need help getting started in Oxegen, its a little different than Mech Desktop, but i am sure i can handle it.  Lol, hell, even just a two man rail cart for starters would be a great addon!  Once again, no offense taken if my ideas are the ravings of a noob........

Crassus

  • Guest
Re:New Idea??
« Reply #5 on: 09 Jan 2003, 03:57:31 »
But then you'll have miles of track and fence, which in my opinion would ruin the eye candy factor, unless of course you model and "texture" a transparent "fence"......Mmmmmmm....... ::)

Black Magic

  • Guest
Re:New Idea??
« Reply #6 on: 09 Jan 2003, 05:13:36 »
Well Resistance has an invisible house, so just apply the same principles (alpha channels?) and make an invisible fence as Crass said. But, while this all may work, ultimately mission design will be restricted. Say you have a mission with Allies setting demoltitions on a train track, you can't do that because there is no access to the train track. :-\

monoloth69

  • Guest
Re:New Idea??
« Reply #7 on: 09 Jan 2003, 07:33:48 »
ok, forget thje fence..I am sure there would be a feasible way to ensure that the train never varies from a given "track" or reduces speed except at certain spots or Terminals.  As for the eye candy factor, the track circuit would not be needed across the entire island, or to every town, maybe just from a "port" city to anothe inland larger city, therfore reducing the needed space to make it work.  Or even just between the 2 largest cities on the map, provided they are close to each other, enuff so that a complete ciruit could be made.  Anyways, jusrt an idea for the addons makers and scripters to kick around, thanx for the patience fellas.

Crassus

  • Guest
Re:New Idea??
« Reply #8 on: 09 Jan 2003, 23:41:48 »
Also, we have to look at getting BIS to allow for towing, e.g. the passenger cars pulled by the locomotive. and for the towed artillery pieces we (okay, I) would love to have in-game. 8)

Liquid_Silence

  • Guest
Re:New Idea??
« Reply #9 on: 10 Jan 2003, 01:52:21 »
Here's my idea for a train:

Use the eventHandlers init event to run a controller script...

Each train would be an array: [[engine,carriage1,carriage2,etc...],[specific train simulation details: e.g. carriage distances]]

The script would have to look something like this:
Code: [Select]
_trainsegment = _this select 0 (or however the init event passes it's object to the script...)
_carriages = train select 0
_i = 0
_found = false
while "!_found" do {if (_carriages select _1 = _trainSegment) then {found=true};_i=_i+1}
_carriageIndex =_i
_nextCarriage = _carriages select _i -1

#cycleStart
_trackSegment nearestObject [_trainSegment,"TRACKSCLASSNAME"]
_trainSegment setDir direction _trackSegment
if !(_carriageIndex = 0) then {
   _d = _trainSegment distance _nextCarriage;
   _newPos = (a function doing some maths working out how to change the setpos'ing to integrate the carriage seamlessly into the train);
  _trainsegment setPos _newPos;
}
~0.0001
goto "cycleStart"

that was just a basic "write code as I think it up" idea, and you would want some code dealing with carriage events (i.e. damage/uncoupling the carriages and assorted other stuff)...but I think that with the setDir command, you could force the train to head only fowards or backwards...how tha AI handles it might be a problem though...

I'd keep typing, cause this topic is intresting, but I'm late already, so I'll have to come back...