Page 1 of 2

Force team units (incl. player) into vehicle at spawn

Posted: Sun Sep 02, 2007 1:59 pm
by PvtParts
I have read about this before (may have just been "It is possible to do this") but I couldn't find the thread and searching turned up "No suitable results".

I am making a battle of naboo space map, and as the Naboo don't fly out of a ship or starbase, forcing them into vehicles at round start would work perfect.

Worst case scenario I just use one of the inv_col blocks for the spawn base and you will just have to 'float' into your fighter. But I am definitly hoping I don't have to resort to something as corny as that. I guess I could do a space station, but anyways..

So can I get some help? How do I go about forcing the player, and his team, into vehicles at spawn? I would be content with just the player (this map is intended for singleplayer) so if the whole ai team is too much thats fine.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Sun Sep 02, 2007 3:14 pm
by AceMastermind
Well, you could try the mini skydome trick that Redline used in his DeathStar map, the Naboo fighters could spawn in the mini skydome which contains a Naboo Hangar and a Naboo like atmosphere, and when the fighters start to fly from the hangar they are teleported to the actual space part of the map, I believe AceAzzameen5 found a way to teleport players and vehicles while piloting the vehicle.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Sun Sep 02, 2007 6:22 pm
by PvtParts
Alright. I'm gonna give his map a download, see what all happens with it (never played it before), and post back.

Yeah that would certainly be awesome (even better). I've been away for so long some really cool stuff has been done.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Mon Sep 03, 2007 12:25 pm
by Eggman
I've been kind of curious aobut this for a while as well. I'm sure there would be a way to at least get the AI to be forced into a fighter, because if you play any of the shipped space maps you'll occaionally see a fighter spawn out of nowhere towards the edge of the map. This was brought up in the last thread I saw about this, but nobody seemed to know how to make this happen in their own map.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Tue Sep 04, 2007 9:34 pm
by PvtParts
Redlines map is not working (the dl link just refers to main page - so its gone or moved).

Anyone got a link or a solid explanation as to how Redline did what he did (gonna PM him if nobody has anything here).

Re: Force team units (incl. player) into vehicle at spawn

Posted: Tue Sep 04, 2007 10:04 pm
by Penguin
Redline took the idea from someone else, forgot who made it but its on FF as Dogfighting Deathstar or something.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Tue Sep 04, 2007 10:37 pm
by BountyHunterV
yeah actually if anyone knows how exactly to create "mini-domes" like that it would be very useful

also on a similar topic about forcing players into vehicles...is it possible to make a player spawn as a vehicle? i mean, i'm assuming if you just replaced the characters ODF with a vehicle's, it would crash, but...is there a way d'you reckon?

Re: Force team units (incl. player) into vehicle at spawn

Posted: Tue Sep 04, 2007 10:49 pm
by Penguin
Thats what we talked about before we came to the idea that we would have to force the person into the vehicle to make them 'spawn as a vehicle'

Re: Force team units (incl. player) into vehicle at spawn

Posted: Tue Sep 04, 2007 10:55 pm
by PvtParts
I'm pretty sure thats not possible, because vehicles don't function the same way as units. So you might be able to give a unit the same model as a vehicle, but it wouldn't have all the sound, movement, and weapon properties that make vehicles what they are.

Just to confirm, nobody knows how to make a mini-dome?

Re: Force team units (incl. player) into vehicle at spawn

Posted: Tue Sep 04, 2007 11:07 pm
by Penguin
make a sphere in XSI, texture the inside with a sky texture.

or maybe try placing a sky dome model in ZE? never tried that...

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 1:15 am
by Maveritchell
Penguin wrote:make a sphere in XSI, texture the inside with a sky texture.

or maybe try placing a sky dome model in ZE? never tried that...
Yes and yes. Skydomes are smaller in ZE as objects, and spheres work fine for what you want. The only problem is that skydomes don't have a texture on the outside, so you'll see inside. You need to set up a double skydome, (skydome + textured sphere) or just a single sphere with textures on both the outside and inside.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 6:24 am
by wazmol
with no collision though? cause everytime they try to get out of the atmosphere, BOOM!

-Waz

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 3:43 pm
by BountyHunterV
so mav how exactly do you make a skydome in ZE?

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 4:30 pm
by Maveritchell
Skydomes are meshes. Make an .odf file and Image! Err, voila!

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 10:57 pm
by PvtParts
Nobody would happen to have a textured and hollowed sphere by any chance, would they?

Appreciate the help though. I just need to get a model. I'll ask Redline for the one he used.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 11:12 pm
by BountyHunterV
i'm still not exactly sure how to make a mini-dome in ZE...i mean is it an odf with special properties?

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 11:20 pm
by AceMastermind
BountyHunterV wrote:i'm still not exactly sure how to make a mini-dome in ZE...i mean is it an odf with special properties?
A mini skydome is an object, the ODF for this object defines what it is, which could just be a sphere(prop) with no collision(in the msh.option file -nocollision) and a sky texture applied to the sphere, but since you would see the inside of the sphere by looking in from the outside, you will need an additional sphere surrounding it with the normals pointing outward unlike the inner skydome with normals pointing inward, the outer sphere would need a space like texture applied to it in order to blend in with space.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 11:21 pm
by BountyHunterV
lol...thanks very much Ace

now i actually understand it

Re: Force team units (incl. player) into vehicle at spawn

Posted: Wed Sep 05, 2007 11:25 pm
by Maveritchell
PvtParts wrote:Nobody would happen to have a textured and hollowed sphere by any chance, would they?

Appreciate the help though. I just need to get a model. I'll ask Redline for the one he used.
I've got a sphere that's enabled for textures on the outside, if you want a texture on the inside you'll have to put a skydome mesh inside it.

http://files.filefront.com/outsideskydo ... einfo.html

Again, that model only has a texture on the outside of the sphere. If you want a texture on the inside, you'll have to put a skydome mesh just inside this one.

Re: Force team units (incl. player) into vehicle at spawn

Posted: Thu Sep 06, 2007 3:44 pm
by BountyHunterV
do you have a sphere ODF that is enabled for textures on the inside?

it doesn't have to come with a space .tga or anything, just the dome