Home   Help Search Login Register  

Author Topic: Multi Person Rappel  (Read 10698 times)

0 Members and 1 Guest are viewing this topic.

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Multi Person Rappel
« Reply #45 on: 18 Jan 2005, 02:48:44 »
You guys have been busy.  Good work Flaber.

When you get this finished we will have to update the previously submitted version.    

Blip
...NIGHT WALKER....

Offline Flaber

  • Members
  • *
    • Escuadron 13th TigerSharks
Re:Multi Person Rappel
« Reply #46 on: 05 Feb 2005, 19:35:59 »
I have some problems with this.

For AI now works in mp (more or less) have some bugs that should be fixed (a bit laggy in his descent)

But for the player.... ohhhh no idea.. I had tried nearly everything.

I also made the script local to the player when he is inside the helicopter
ussing this sentence:

? ! local player : exit ;
unassignvehicle player
player switchmove "snyropedown"
....


don't seem to be localy executed, he doesn't change the anim, or did it but go back very fast to safe mode. he start going down but shakes to much.

I see that the NH-90 chopper create an invisible vehicle, and put his soldier in this vehicle  to make the rappel. and it really works fine in this way.

I will try to use this "vehicle" in the scripts and see if it works. I hope ... because i'm getting crazy with these. :'(

Any advice from any guru scripter ?

If you want I can put the a demo mission with the last changes.








Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Multi Person Rappel
« Reply #47 on: 06 Feb 2005, 06:05:38 »
maybe you should disableuserinput and eject and do the anim?

Offline Flaber

  • Members
  • *
    • Escuadron 13th TigerSharks
Re:Multi Person Rappel
« Reply #48 on: 06 Feb 2005, 11:45:33 »
I did it. but doesn't seems to work.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Multi Person Rappel
« Reply #49 on: 07 Feb 2005, 00:17:05 »
did it change anything?

Offline Flaber

  • Members
  • *
    • Escuadron 13th TigerSharks
Re:Multi Person Rappel
« Reply #50 on: 07 Feb 2005, 19:14:33 »
As I'm tired of make blind shoots I have decided to test the code without ussign the rappel script, only necesary stuff for animation and descent.

TESTED IN MULTIPLAYER (dedicated server + 1 client)

This unit is in a helicopter called hsar2. (altura means high)
this code make the unit go outside the helicopter and make a soft descent
BUT WITHOUT THE RAPPEL ANIM

Code: [Select]
~5
_helo = hsar2
?!local player : exit
disableUserInput true
player action ["getout",_helo]
unassignvehicle player
player switchmove ""
player switchmove "null"
player switchmove "SNYropedown"


altura = (getpos player select 2) - 1

#descenso
player setvelocity [0,0,0]
player setpos [getpos player select 0,getpos player select 1, altura]
altura = altura - 0.3
~0.001
?altura > 1 : goto "descenso"
player switchmove ""
player setpos [getpos player select 0,getpos player select 1, 0.1]

disableUserInput false

this guy is in the ground at first after 5 seconds I teleport him to 30 mts. high
them .. the guy start a soft descent WITH THE RIGHT RAPPEL ANIM
 :o

Code: [Select]
~5
?!local player : exit
disableUserInput true
player switchmove ""
player switchmove "SNYropedown"


altura = 30
#descenso
player setvelocity [0,0,0]
player setpos [getpos player select 0,getpos player select 1, altura]
altura = altura - 0.3
~0.001
?altura > 0.5 : goto "descenso"
player switchmove ""
player setpos [getpos player select 0,getpos player select 1, 0]

disableUserInput false

So where is the problem ?
HERE -> player action ["getout",_helo]

for an strange reason, that makes the player don't accept
this line -> player switchmove "SNYropedown"
in Multiplayer games.

Anyone knows why ? I'm getting crazy with this.
I spent a big amount of hours trying to get this work in MP.


Offline SniperAndy

  • Members
  • *
    • VBS Community
Re: Multi Person Rappel
« Reply #51 on: 03 Jun 2006, 10:21:56 »
Blip wrote:
Quote
Hey All,

As Flaber said earlier, the script is not yet fully Multiplayer Compatible.

The original post can be found HERE

The topic doesn't appear to have any of the attachments anymore so someone needs to post the scripts back up.  I have misplaced mine so I hope Flaber or Trigger have the scripts in their latest forms.

Blip

anyone still got this scripts and could please attach them to this thread?
thanks in advance...

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re: Multi Person Rappel
« Reply #52 on: 04 Jun 2006, 06:29:15 »
I found the scripts on my old computer at home.
Flaber also posted the scripts in another thread.  You can get them HERE



[attachment deleted by admin]
...NIGHT WALKER....

Offline SniperAndy

  • Members
  • *
    • VBS Community
Re: Multi Person Rappel
« Reply #53 on: 05 Jun 2006, 11:40:17 »
thanks for the attachment.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Multi Person Rappel
« Reply #54 on: 13 Jul 2006, 21:26:57 »
Maybe I am shooting in the dark here, but could the problems with animation in MP be a locality issue?  The animations need to be played on all clients.
urp!