Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 45 Guests
Online:

LATEST FORUM THREADS

»
SOF2 Prefabs map
SoFII Mapping
coduo mapping tools
CoDUO Mapping
Gaming
Q4 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Quake 4
Category: Q4 Scripting
Scripting and Coding for Quake 4
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: func_mover with doors attatched following a spline
Tcide
General Member
Since: Jul 11, 2005
Posts: 18
Last: Jul 11, 2007
[view latest posts]
Level 1
Category: Q4 Scripting
Posted: Tuesday, Jun. 5, 2007 06:06 am
I setup a map and made a model of a metal and glass tram car for my game.. there are 2 sliding glass doors on the side of it that are bound to the tram car, and I have the tram following a spline down a curved track. If I just have the tram move in 1 direction, this works very well, but when following the spline the doors follow the tram in crazy positions, any ideas on fixing this? thanx..
Share |
foyleman
Preferred PLUS Member
Since: Nov 6, 2001
Posts: 95759
Last: Oct 31, 2018
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: Q4 Scripting
Posted: Wednesday, Jun. 6, 2007 04:26 am
That makes sense.
I'm not sure of a solution, but I do have some ideas.

I assume the doors are parented to the tram. so when the tram makes a turn, the doors turn too. However, the doors don't turn exactly with the tram which is causing your problem.

I suspect this occurs because the tram is turning based on its point of origin. the doors and the tram might not be placed in suitable locations based on this point of origin.

- make sure the point of origin is in the middle of the tram. Also make sure the doors are aligned with the middle of the tram. This way the doors and the tram all refer to a similar point of origin of which the they are rotating around. Then hopefully when the tram rotates, the doors follow around that point too and stay attached to the tram as they should.

Have you looked back at the tram in the game checked out how they did it? They had a tram that made turns.
Go ahead... You Play I Mod : Support Modsonline by becoming a PREFERRED MEMBER today!
Have you heard the MODSonair Podcast?:
MODSonair is a weekly podcast bringing you the news from a modders perspective.
Tune in every Sunday at 12pm EST to listen LIVE.
Quake 4 Mods for Dummies - Half-Life 2 Mods for Dummies
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Quake 4 : Q4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»