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

Members Online

»
0 Active | 5 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 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 : Soldier of Fortune
Category: SoF Mapping
Mapping, modeling, scripting, skinning and all forms of editing for the game Soldier of Fortune, the original game.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: func_train problem..
olbaronen
General Member
Since: Mar 5, 2006
Posts: 11
Last: Mar 11, 2006
[view latest posts]
Level 1
Category: SoF Mapping
Posted: Sunday, Mar. 5, 2006 05:32 pm
I read the guide "func_train" by Darkone here at MODSonline..
Everything was just fine untill I read this:

"15. you should see a line that connected the first path_corner to the second."

No line were drawed between the path_corners when I was making the train..
I've followed the guide VERY carefully and I'm sure I didn't miss anything, so what's the problem?

I use "GTK Radiant v. 1.4.0" Is it a bug or is "the line" just removed from this version of GTK Radiant?

Thank You!

=BCi=NorwegianViking
Share |
SeTanTA
General Member
Since: Aug 25, 2004
Posts: 202
Last: Apr 7, 2008
[view latest posts]
Level 4
Category: SoF Mapping
Posted: Sunday, Mar. 5, 2006 05:52 pm
You should see a line from 1 path corner to the next if the target of the first 1 is the same as the targetname of the second 1

I select the first 1 then select the second and press ctrl+k which should connect them also...[thumbs_up]
Share |
olbaronen
General Member
Since: Mar 5, 2006
Posts: 11
Last: Mar 11, 2006
[view latest posts]
Level 1
Category: SoF Mapping
Posted: Sunday, Mar. 5, 2006 07:14 pm
Thank you SeTanTA!
But I have one more question..
When you start to build the train you create two brushes as a platform.. What makes those two brushes follow the path_corner you place in the middle?
Do you have to attach the brushes to the entity so the three objects become 1 or will the brushes follow the path:corner by itsealf?
Can you PLEASE make the two brushes and the and the entity and take a screenshot of it so I can see how you build it? I'm a bit unsure why I need the second brush..[confused]

Thank you!

=BCi=NorwegianViking [biggrin]

edited on Mar. 5, 2006 02:19 pm by olbaronen
Share |
SeTanTA
General Member
Since: Aug 25, 2004
Posts: 202
Last: Apr 7, 2008
[view latest posts]
Level 4
Category: SoF Mapping
Posted: Sunday, Mar. 5, 2006 08:45 pm
You need 1 brush which is the actual platform that you want to move

The second brush is an origin brush that follows (ie lines up with) the path corners

Make the origin brush a small cube and place it in the centre of the platform brush

Then select both together and make them a func_train

This connects those 2 brushes into 1 func_train

Give the train a target = p1
Make a pathcorner with targetname=p1 and target = p2
Make another pathcorner with targetname=p2 and target = p1

The func_train will start at the first pathcorner (the target of the func_train ie p1) and then move toward the target of that path corner (second path corner ie p2) then return to p1

The origin brush lines up with the path corners so if you put it on a corner of the platform (i am imagining a square platform brush) - then that corner will line up with the path corners - once you have the train moving - you can try putting the origin in different places on the platform brush to see what it does

The reason you have an origin is because the platform/train may be a complicated shape - maybe made of numerous brushes - the editor needs a point to identify which part of that train you wish to line up with the path corners
[thumbs_up]
Share |
olbaronen
General Member
Since: Mar 5, 2006
Posts: 11
Last: Mar 11, 2006
[view latest posts]
Level 1
Category: SoF Mapping
Posted: Monday, Mar. 6, 2006 08:25 pm
Ok! Thank you.. Now I got the train running, but it's not running correctly and I have NO idea why..??..[banghead]

Please click at the links to see what the problem is..

Picture 1
Picture 2
Picture 3

Thank you!

edited on Mar. 6, 2006 03:27 pm by olbaronen
Share |
SeTanTA
General Member
Since: Aug 25, 2004
Posts: 202
Last: Apr 7, 2008
[view latest posts]
Level 4
Category: SoF Mapping
Posted: Monday, Mar. 6, 2006 08:38 pm
Either the train is running too far to 1 side - or it is too high

Both problems can be solved by moving the path corners down or to 1 side - or a bit of both

The error is probably caused because the origin brush is incorrectly placed

You can move the origin brush rather than the path corners but moving the path corners is probably easier...[thumbs_up]
Share |
olbaronen
General Member
Since: Mar 5, 2006
Posts: 11
Last: Mar 11, 2006
[view latest posts]
Level 1
Category: SoF Mapping
Posted: Wednesday, Mar. 8, 2006 02:19 pm
I really don't understand this..
Just look at the pictures please..

Picture 4
Picture 5

Thank You!
Share |
SeTanTA
General Member
Since: Aug 25, 2004
Posts: 202
Last: Apr 7, 2008
[view latest posts]
Level 4
Category: SoF Mapping
Posted: Wednesday, Mar. 8, 2006 06:32 pm
Yes strange...

All I can think of is that the origin brush is incorrect - but to follow the path you have shown it would probably be way outside of the train brush

I can only suggest re-making the train ensuring that the origin brush is central to the train brush from all sides - front/side/top then adjusting the height of the path corners to get it to run on the track...
Share |
olbaronen
General Member
Since: Mar 5, 2006
Posts: 11
Last: Mar 11, 2006
[view latest posts]
Level 1
Category: SoF Mapping
Posted: Wednesday, Mar. 8, 2006 08:41 pm
Ok.. Im pretty sure the orgin brush is in the middle of the train.. but not from top though..
Maybe thats the problem? I don't understand why the train is running many meters incorrectly because of that.. I think I'll just remake everything.. I'm working on a map now.. It's an urban, snowy map.
The map will include a subway with moving trains.. It's gonna be grate..

BTW.. I know this is offtopic, but what the heck?!?[crazy]
I placed a fence in my map.. The fence texture is: "chainlinkfence_rust" and you'll find it under the "common" texture-set in GTK Radiant.. When I compiled the map, I couldn't see through it.. (This is a fence you should be able to see through) Do I have to use one of the tools? Which one?

=BCi=NorwegianViking
Share |
SeTanTA
General Member
Since: Aug 25, 2004
Posts: 202
Last: Apr 7, 2008
[view latest posts]
Level 4
Category: SoF Mapping
Posted: Wednesday, Mar. 8, 2006 08:48 pm
Sorry - I only work with sofradiant at the moment

However - it is usually the "alpha" part of the texture that is transparent

Check the surface proprties of the texture (press "s" when the texture is selected) and make sure alpha has a tick or check mark by it

Also - try putting the texture on 1 face of the brush only - the rest of the brush should be "no draw" texture...[thumbs_up]
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Soldier of Fortune : SoF Mapping

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

»