Page 2 of 2

Posted: Sun Oct 01, 2006 6:57 pm
by Captain_Mazda
I'm thinking it could be perfect for Clone Wars ground and space maps. Imagine automated Homing Spider Droids, Hailfire Droids, Vultures, and more.

Posted: Sun Oct 01, 2006 7:19 pm
by PvtParts
Sorry to be off-topic, and pardon my not using search, but how would you go about forcing a player into a vehicle as soon as he spawns?

Posted: Sun Oct 01, 2006 7:26 pm
by xwingguy
EnterVehicle(character, vehicle) --this function has been tested and works perfectly.

tricky part is having a vehicle that's isolated. I tried creating a new vehicle using CreateEntity(), which works except for the fact that THE **** PILOT WEAPONS DON'T FUNCTION

Posted: Sun Oct 01, 2006 7:34 pm
by [RDH]Zerted
Can you post the code in which the pilot's weapons don't function?

Posted: Sun Oct 01, 2006 7:56 pm
by xwingguy
CreateEntity("cis_stapspawn", GetPathPoint("cp4_stap_spawn", stapnode))

CreateEntityHover("cis_stapspawn", GetPathPoint("cp4_stap_spawn", stapnode))

I tried using walkers, flyers, and hovers. Every single one of them had weapons in the pilot section but the weapons didn't work regardless of the forcing of players into the vehicle.
At the same time I had perfectly working vehicles spawning from the standard spawn odf.

Psych0fred says that this happens b/c the parts of the vehicle are being put together in the incorrect order when I use the function.

Posted: Sun Oct 01, 2006 11:42 pm
by Captain_Mazda
xwingguy wrote:Psych0fred says that this happens b/c the parts of the vehicle are being put together in the incorrect order when I use the function.
Somehow I can see an AT-ST walking on its roof with twin-ion engines sticking out of the cockpit.

Posted: Mon Oct 02, 2006 12:41 am
by xwingguy
animations work fine. In fact the pilot weapons are the ONLY things that don't come out right. That's why it's so fustrating...so close yet not close enough.

Posted: Mon Oct 02, 2006 4:24 am
by Ergonomics
hmmmm yeah i might give that a trye, sorry to interrupt u guys, but where should i type the pilottype = "self" line then? im certain thats all i need to do now, if it doesnt work again ill jus give up on it and make a ground map instead. ty for the help.