How to bring objects to follow a path?

Discussion about map creation, old and new maps.

How to bring objects to follow a path?

Postby Area51 on Sat Aug 23, 2008 7:27 am

FIRST: I'm 14 years old and from germany, so my english is not very good ;) I hope that's not a problem for you.

Now my problem: I want an object to follow a path, but i don't know, how. And I also don't understand how to make a trigger to move an object. If I "give" the object the func_button it moves not on a path. Pls help me and maybe you can make some screens or send me a testmap.
Area51
SIS Graduate
SIS Graduate
 
Posts: 66
Joined: Sat Aug 23, 2008 7:20 am

Postby UltimateSniper on Sat Aug 23, 2008 10:07 am

----- Making The Moving Object -----

well you need to make an object that u make 'func_train' and give it a 'name' (like 'movingthing1') and then make a line of path_corner entities which link to eachother like shown below:
(path_corner #1)
name:"movingthing1_path0"
target:"movingthing1_path1"

(path_corner #2)
name:"movingthing1_path1"
target:"movingthing1_path2"

(path_corner #3)
name:"movingthing1_path2"
target:"movingthing1_path0"

that will make a path for the object to go around, then in the func_train you change the 'first stop target' to 'movingthing1_path0' which links the moving block to the path...

----- Adding The Button -----

you make an object and then make it func_button, then change the 'target' to the name of the entity u want to start (like 'movingthing1')


Hope this helps :wink:
Pop goes the sniper! :-)
BOOOOM! goes the pistol! :-D
Why does network cable have 8 wires?
Image
To electricute an octopus...
User avatar
UltimateSniper
Global Moderator
Global Moderator
 
Posts: 1444
Joined: Sat Nov 04, 2006 8:23 pm
Location: The Wonderful Land Of Denmark

Postby Area51 on Sat Aug 23, 2008 1:20 pm

Yes, this helped a little bit, but the when i want to change the path-corner properties there is no target.

Edit: And the button moves... How to stop that?
Area51
SIS Graduate
SIS Graduate
 
Posts: 66
Joined: Sat Aug 23, 2008 7:20 am

Postby Tras on Sat Aug 23, 2008 10:57 pm

Spawnflags of the func_button -> Don't move
Nightfire Tools and Mapping Resources:
http://www.nfbsp.com
User avatar
Tras
Administrator
Administrator
 
Posts: 412
Joined: Tue Nov 23, 2004 3:48 pm
Location: Universe, Milky Way, Solar System, Earth, Europe, Spain

Postby UltimateSniper on Sun Aug 24, 2008 7:53 am

oh now that ive started up the editor i see that:

target = 'Next stop target'

hope this helps :wink:
Pop goes the sniper! :-)
BOOOOM! goes the pistol! :-D
Why does network cable have 8 wires?
Image
To electricute an octopus...
User avatar
UltimateSniper
Global Moderator
Global Moderator
 
Posts: 1444
Joined: Sat Nov 04, 2006 8:23 pm
Location: The Wonderful Land Of Denmark

Postby Area51 on Sun Aug 24, 2008 8:02 am

Yes, thx, but i found out now :D I made a path with the Path Tool and there i couldnt find a target-option. But the entity path_corner has got one ;) :)
Thank you much. But you dont know how to make a TV what shows you the picture of a camera? (In nightfire, not real ;) )
Area51
SIS Graduate
SIS Graduate
 
Posts: 66
Joined: Sat Aug 23, 2008 7:20 am

Postby UltimateSniper on Sun Aug 24, 2008 8:20 am

thats impossible, you can only see what a camera is showing as full screen, like in ctf_safe and ctf_towers... theres no real other way to do it :wink:
Pop goes the sniper! :-)
BOOOOM! goes the pistol! :-D
Why does network cable have 8 wires?
Image
To electricute an octopus...
User avatar
UltimateSniper
Global Moderator
Global Moderator
 
Posts: 1444
Joined: Sat Nov 04, 2006 8:23 pm
Location: The Wonderful Land Of Denmark

Postby Area51 on Sun Aug 24, 2008 10:22 am

Okay, but thats good, how to do? ;)
(And one more question: is it possible to find out, where people are in the map? Like i can see a map and there are all people marked with red points... thats not important, cause of that is it in ( and ) ;) )
Area51
SIS Graduate
SIS Graduate
 
Posts: 66
Joined: Sat Aug 23, 2008 7:20 am

Postby UltimateSniper on Sun Aug 24, 2008 12:16 pm

the player coordinates are stored in memory, and displayed only on screen... there is no in-game function to display player coords. However, the new release of DSS has a player coord map that you can open when you start a server and have players in it :wink:

#1: Make a brush and make it a func_button entity which has the 'target' set to something (eg. 'targ1')
#2: Make a trigger_camera with the 'name' set to the 'target' of the func_button ('targ1') and then set the 'target' to something else (eg. 'targ2')
#3: Make an info_target where u want the camera to be pointed at, then set the 'name' to the 'target' of the trigger_camera ('targ2')

hope this helps :wink:

however i strongly advise u look at tutorials rather than ask us here, thats why they exist :wink:
Pop goes the sniper! :-)
BOOOOM! goes the pistol! :-D
Why does network cable have 8 wires?
Image
To electricute an octopus...
User avatar
UltimateSniper
Global Moderator
Global Moderator
 
Posts: 1444
Joined: Sat Nov 04, 2006 8:23 pm
Location: The Wonderful Land Of Denmark

Postby Area51 on Sun Aug 24, 2008 12:27 pm

Yes, but there are 2 things: I dont find the right tutorials and the second is that my english is to bad to understand them.
But thank you so much ;)

And one more question :s :D : How can i make an explosion what is triggered by a button?

Im making a map with a cool secret room and there i need all this things ;) The button-triggered object is good for a door to hide the room ;)

Edit: I tried the trick with the camera out and i could see all things, but the camera hasnt looked to the info_target
Area51
SIS Graduate
SIS Graduate
 
Posts: 66
Joined: Sat Aug 23, 2008 7:20 am

Postby Dynamite on Sun Aug 31, 2008 7:00 am

hey ich hab nen tipp für dich, viele dinge werden zwar von der nightfire-engine vollkommen anders gemacht, aber die wichtigsten eigenschaften findest du auf dieser seite :cool:

www.thewall.de

da ist alles perfekt und in deutsch erklärt ...
guck dir die tutorials für half-life an,
damit kommst du schon ganz gut weiter :grin:
greetz
No one needs new maps, i do the stuff only for MY fun xD
User avatar
Dynamite
SIS Trainee
SIS Trainee
 
Posts: 17
Joined: Mon Mar 31, 2008 11:58 am

Postby Area51 on Sun Aug 31, 2008 8:48 am

thx / danke ;)
Area51
SIS Graduate
SIS Graduate
 
Posts: 66
Joined: Sat Aug 23, 2008 7:20 am

Postby UltimateSniper on Wed Sep 03, 2008 12:54 pm

env_explosion and ty dyna for helping :wink:
Pop goes the sniper! :-)
BOOOOM! goes the pistol! :-D
Why does network cable have 8 wires?
Image
To electricute an octopus...
User avatar
UltimateSniper
Global Moderator
Global Moderator
 
Posts: 1444
Joined: Sat Nov 04, 2006 8:23 pm
Location: The Wonderful Land Of Denmark

Postby Area51 on Thu Sep 04, 2008 12:08 pm

i dont know what "dyna" means, but thank you ;) (And i dont know why you say ty)...
Area51
SIS Graduate
SIS Graduate
 
Posts: 66
Joined: Sat Aug 23, 2008 7:20 am

Postby Smith on Thu Sep 04, 2008 5:56 pm

"thank you dynamite"

as in dyna, as in our lovely police officer :)
I Used to be scyzofrenic, But We're okay now :)
N4L zegt:
you are bob the map-builder
N4L zegt:
i should rename my server Bob's Map-Building Place
User avatar
Smith
Agent
Agent
 
Posts: 689
Joined: Sat Feb 25, 2006 9:34 pm
Location: Netherlands, Local Aquarium


Return to Maps

Who is online

Users browsing this forum: No registered users and 0 guests

cron