Space Pathing questions [solved]
Moderator: Moderators
-
stardestroyer001
- Sergeant Major

- Posts: 239
- Joined: Fri Apr 16, 2010 7:02 pm
- Projects :: Space Coruscant [before it corrupted]
- xbox live or psn: StarDestroyer75
- Location: Canada
- Contact:
Space Pathing questions [solved]
This is my first time planning, and I have a few questions about it:
1) How do I get infantry to enter starfighters?
2) How do I get those fighters to take off?
3) How do I get fighters to travel to a higher/lower "altitude" using planning (raise hub? connection?)
4) How do I make fighters roll?
Thanks in advance.
1) How do I get infantry to enter starfighters?
2) How do I get those fighters to take off?
3) How do I get fighters to travel to a higher/lower "altitude" using planning (raise hub? connection?)
4) How do I make fighters roll?
Thanks in advance.
Last edited by stardestroyer001 on Wed Jul 21, 2010 5:21 pm, edited 1 time in total.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Space Pathing questions
look in the docs - "Getting Started-Space notes"
-
stardestroyer001
- Sergeant Major

- Posts: 239
- Joined: Fri Apr 16, 2010 7:02 pm
- Projects :: Space Coruscant [before it corrupted]
- xbox live or psn: StarDestroyer75
- Location: Canada
- Contact:
Re: Space Pathing questions
I did, it told me to redirect to FlyerSplineFollowing.txt. I read the whole thing through and it didn't answer my questions. How do I get infantry to enter starfighters, how to launch those starfighters, and to get a path that directs starfighters to climb to a higher altitude?
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Space Pathing questions
Well, try making a path to the starfighters?
The infantry normally have this "OMG A VEHICLE" instinct that kicks in when they spot one, forcing them to head right to it.
In my experience, anyway.
The infantry normally have this "OMG A VEHICLE" instinct that kicks in when they spot one, forcing them to head right to it.
In my experience, anyway.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Space Pathing questions
Oh look what i found in the FAQ-thread: forcing player into vehicle
you should probably do a bit more research
and it is no coincidence that "research" has "search" in it
you should probably do a bit more research
and it is no coincidence that "research" has "search" in it
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Space Pathing questions
That's for forcing all players to spawn into vehicles.
He wants his AI to walk to the vehicle and get in.
I think.
EDIT: Oh, and, do you have landing regions?
EDIT2: Wait, is this a land or space map?
He wants his AI to walk to the vehicle and get in.
I think.
EDIT: Oh, and, do you have landing regions?
EDIT2: Wait, is this a land or space map?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Space Pathing questions
i thought he meant the player since the ai usually gets into vehicles autoamtically, as you said
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Space Pathing questions
The questions are in relation to planning.
1) Vehicles have a call radius defined in the mission lua. Infantry will only try to enter a vehicle if they are within that, so you only really need to do planning that leads them to and from the hangar.
2) A pilotable fighter takes off on it's own, usually within seconds of a bot entering the pilot position. This is hardcoded AI behavior.
3) Hubs and connections have infinite height. It's in the docs. If you want a fighter to fly at a specific "altitude", use flyer splines, as they offer precise controls. You should take another look at that doc, since it opens a lot of possibilities.
4) Like #2, it's something bots do on their own. I'm pretty sure this is also hardcoded.
1) Vehicles have a call radius defined in the mission lua. Infantry will only try to enter a vehicle if they are within that, so you only really need to do planning that leads them to and from the hangar.
2) A pilotable fighter takes off on it's own, usually within seconds of a bot entering the pilot position. This is hardcoded AI behavior.
3) Hubs and connections have infinite height. It's in the docs. If you want a fighter to fly at a specific "altitude", use flyer splines, as they offer precise controls. You should take another look at that doc, since it opens a lot of possibilities.
4) Like #2, it's something bots do on their own. I'm pretty sure this is also hardcoded.
-
stardestroyer001
- Sergeant Major

- Posts: 239
- Joined: Fri Apr 16, 2010 7:02 pm
- Projects :: Space Coruscant [before it corrupted]
- xbox live or psn: StarDestroyer75
- Location: Canada
- Contact:
Re: Space Pathing questions
Thanks again MercuryNoodles. My only problem is that I don't understand what FlyerSplineFollowing.txt is saying. I use this in where?
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Space Pathing questions
You use CR splines (if I remember correctly) in ZE to create paths for your flyers. There are properties you can attribute to these paths and their nodes in ZE. There are also a few odf lines that can be used for addition control. It's all in that file. Use a sandbox map to see what you can do with them, and that should help you understand how they work, if you're finding the doc too confusing. It's a lot of info to take in at once, so take your time, and reread it as needed.
-
stardestroyer001
- Sergeant Major

- Posts: 239
- Joined: Fri Apr 16, 2010 7:02 pm
- Projects :: Space Coruscant [before it corrupted]
- xbox live or psn: StarDestroyer75
- Location: Canada
- Contact:
Re: Space Pathing questions
Ok, thanks again.
