Multiplayer parachute spawn almost working

Post your scripting questions / solutions here

Moderator: Moderators

Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Multiplayer parachute spawn almost working

Post by Desert Eagle »

I got Muliplayer parachute spawn working in Spearhead, but have two small problems.


One problem, when you enter map for first time, in specator mode, the parachute takes off without you, because you have not joined teams yet. So when you do start, you fall to your death.

Upon restart of game, you parachute down to the earth but you show up on top of the parachute like shown:

Image

In my script

//$airstart is spawn box
//$$DZ is the origin under the spawn box
//$$LZ is the origin that $DZ moves to.


level waittill spawn

$airstart glue $DZ
$aagun TurnOn
$aagun2 TurnOn

airdrop:
$player glue $DZ
level.player_chute = spawn static/parachute "classname" "scriptmodel" "origin" $player
level.player_chute notsolid

level.player_chute glue $DZ
$DZ time 30
$DZ moveto $LZ
$DZ move

wait 31

level.player_chute delete
$player unglue

end

It works well, but as you can see in picture you do not look right. And as stated above when you first start map in specator mode, chute takes off without you.

Any help would be appericated by any of you Master Scripters.

Thanks

[FS] Desert Eagle
User avatar
ZeroSkaten
Second Lieutenant
Posts: 159
Joined: Sun Jan 12, 2003 11:03 pm
Location: Canada
Contact:

Post by ZeroSkaten »

I dont know how to help you m8. Good work so far :D .
Together we will leave no posts un awnsered!
BTW that me in the picture :wink:
Image
Visit my site: http://www.planetmedalofhonor.com/hk/

As I say: A 3d model a day keeps the career consultant away.
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Post by Desert Eagle »

got players to holster weapons now. I can not get some sort of array to work so that axis players do not spawn into parachute drop.

Is there a way to make 10 allied players (amount of allied spawn points) with thier own targetname, so I do not have to use $player (that effects all players...allies and axis....:()
Desert-Eagle
....The Eagle Has Landed...
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

level.player_chute glue $DZ

This line 'glues' the origin of the chute model to the origin of the $DZ entity, which is at the feet of the player. So the chute model appears too low.

You probably have to bind it to a player's tag, probably to his spine or something.

level.player_chute attach $player "Bip01 Spine"

Note that you don't have enough chutes if there's more than one player.

You also need to find a way to control new players.
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Airplane

Post by tltrude »

Have the players spawn in an aircraft. Then they can jump out into a trigger that spawns the chute.
Tom Trude,

Image
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Post by Desert Eagle »

well the parachute looks right now. Works good for single player mission, I will have to think of something else to get it to work in Mulitplayer

Thanks for the input

[FS] Desert Eagle
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

A new idea

Post by Desert Eagle »

Well the parachute will work for single player. for mulitplayer, It will not, So I will put the allied spawn points inside a WACO Assault Glider, (Script Object) then move the allies to battle this way instead of by parachute...:)
Last edited by Desert Eagle on Wed Apr 02, 2003 3:02 am, edited 1 time in total.
Desert-Eagle
....The Eagle Has Landed...
User avatar
G3mInI
First Lieutenant
Posts: 187
Joined: Sat Jun 29, 2002 3:49 am

Post by G3mInI »

Desert Eagle
One problem, when you enter map for first time, in specator mode, the parachute takes off without you, because you have not joined teams yet. So when you do start, you fall to your death.


I just have to comment on that. You called it a small problem. LMAO that is like the funniest thing. I dont mean to burst your bubble because I could not even beging to script something like this. But when I read this post I could not stop laughing. To me that would be 1 MAJOR problem and one small problem :)

Cheers,

G3mInI

ps this is not Desert Eagle from Kaos is it ?
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Post by Desert Eagle »

Without being able to get targetnames atached to the players, I am unable to get parachutes to work correctly for Multiplayer.

No I am not Desert Eagle Kaos, I founded two different clans, Raven's Raiders |RR| and The Free Soliders
Desert-Eagle
....The Eagle Has Landed...
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Screenshots

Post by Desert Eagle »

No parachutes needed with Assault Gliders:

Image

Image
Last edited by Desert Eagle on Sat Apr 05, 2003 7:29 am, edited 1 time in total.
Wilson
Warrant Officer
Posts: 131
Joined: Fri Mar 07, 2003 6:12 pm

Post by Wilson »

Desert Eagle could u add me to your msn davetheslave17@hotmail.com please i would like a word with u m8
jimmy
Private
Posts: 5
Joined: Fri Apr 04, 2003 8:01 pm

Re: Screenshots

Post by jimmy »

Desert Eagle wrote:No parachutes needed with Assault Gliders:

Image

Image
i cant see the pics
can you give me a link?
Desert Eagle
Captain
Posts: 237
Joined: Mon Jan 13, 2003 1:05 am
Location: Mapping Bunker
Contact:

Post by Desert Eagle »

No longer have any web space.....so pictures no longer showing...:(
Desert-Eagle
....The Eagle Has Landed...
jimmy
Private
Posts: 5
Joined: Fri Apr 04, 2003 8:01 pm

Post by jimmy »

Desert Eagle wrote:No longer have any web space.....so pictures no longer showing...:(
cant you upload it somewhere?
TMT perhaps?
id really like to see this pics
Wilson
Warrant Officer
Posts: 131
Joined: Fri Mar 07, 2003 6:12 pm

Post by Wilson »

Eagle i am gonna help you out here for your parachuting troubles in multiplayer.
A guy in my clan has already done this so he has told me how to fix it.
Add a trigger under the parachute and script that for when a player goes thorugh it so when u enter the game ya parachute wont go unless someone has gone thorugh this trigger and VIOLA your player should be joined to ya parachute when ya spawn
Post Reply