Jump to content

Jk2 Nar shaddaa ship func_train?


Go to solution Solved by Ramikad,

Recommended Posts

Posted

Everybody remember this ship that was flying from the pit in narshadda street map? It was flying very smooth and i always wanted to make the same effect. But i have some problems with func_trian . Any ideas how to make it like this ?

This is the model :

podbod.jpg

Posted

You can try with linear 1 to make it move linearly, as well as setting speed manually at every path_corner if you need it to make it look better. Also check in turn_train, so that it won't move through path_corners with fixed angles.

Langerd and NumberWan like this
Posted

You can try with linear 1 to make it move linearly, as well as setting speed manually at every path_corner if you need it to make it look better. Also check in turn_train, so that it won't move through path_corners with fixed angles.

I used but it stops for a second in the path corner.. and GO to the next and again it stops for a while...

even i gave all path corners wait - 0 and speed spawnflag to 1000 (while train speed is 500) it still stops. Probably because in gtkradiant it is written like this:

 

TURN_TRAIN    func_train moving on this path will turn to face the next path_corner within 2 seconds

 

Posted (edited)

Forgot to specify, you have to set the linear 1 on the func_train, not the path_corner.

@Ramikad I am suppose to write it as the spawnflag D: ? Because i cant select it in Func_train because there is no flag like this to check :/

 

MY BAD it is . I will check it and compile my map.

Edited by Langerd
  • Solution
Posted

It's not a check, it's a value.

 

LOOP - if it's a ghoul2 model, it will just loop the animation
PLAYER_USE    Player can use it with the use button
INACTIVE    must be used by a target_activate before it can be used
TIE  flying Tie-fighter hack, should be made more flexible so other things can use this if needed

A train is a mover that moves between path_corner target points.
Trains MUST HAVE AN ORIGIN BRUSH.
The train spawns at the first target it is pointing at.
"model2"    .md3 model to also draw
"modelAngles" md3 model's angles <pitch yaw roll> (in addition to any rotation on the part of the brush entity itself)
"speed"        default 100
"dmg"        default    2
"health"    default 0
"noise"        looping sound to play when the train is in motion
"targetname" will not start until used
"target"    next path corner
"target3" what to use when it breaks
"color"        constantLight color
"light"        constantLight radius
"linear" set to 1 and it will move linearly rather than with acceleration (default is 0)
"startframe" default 0...ghoul2 animation start frame
"endframe" default 0...ghoul2 animation end frame

Langerd likes this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...