OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Wildebeest on 25 Jul 2003, 17:52:10

Title: No smoke for my pals in multiplayer
Post by: Wildebeest on 25 Jul 2003, 17:52:10
Hi, I'm curious about a bug(?) in OFP multiplayer. When me and my buddies play on LAN or online no smoke appears when we have destroyed a tank or some other vehicle, except on the host's computer. Everyone else just sees a deformed wreckage instead of the nice burning heap of metal you really are supposed to see.
Is there a way to fix this minor disturbance?

Thx, yer the best guys. :)
Title: Re:No smoke for my pals in multiplayer
Post by: Rubble_Maker on 26 Jul 2003, 01:35:15
I guess you use some special addon or script, right?

"instead of the nice burning heap of metal you really are supposed to see"

There is not nice burning metal in OFP, so there must be some script doing this, possible as part of an addon you use. If this script wasn't written with MP compatibility in mind, I'm afraid there's no way to make it work.
Title: Re:No smoke for my pals in multiplayer
Post by: Tactician on 29 Jul 2003, 05:54:06
Actually the default smoke doesn't work in MP either, on vehicles that aren't local to the player.  Try it sometime.

I don't know any easy way to fix it.
Title: Re:No smoke for my pals in multiplayer
Post by: Doolittle on 05 Aug 2003, 16:47:10
How would you be able to see a vehicle NOT doing smoke?  I thought everything you could see was local?

Doolittle
Title: Re:No smoke for my pals in multiplayer
Post by: Tactician on 05 Aug 2003, 19:45:32
Nope.  Make a mission with you standing on the ground next to an empty T80 named testTank.  Make a radio trigger that activates

Code: [Select]
hint format ["%1",testTank]
Run it on a dedicated server and join as a client.  You should see REMOTE at the end of the hint output.  Get in the T80 as driver and it won't say REMOTE anymore.

To a client on a dedicated server, all AI, all vehicles (until the client enters them), and all game logics are always REMOTE.  All that is local to a player is the vehicle he's driving (on foot, himself).  Not sure how tanks work between crew members (but I know they don't work terribly well, seeing things warp around when gunning for a laggy driver!)

I assume that vehicles created with createVehicle start local to the client that created them (doesn't have to be the server).
Title: Re:No smoke for my pals in multiplayer
Post by: Doolittle on 06 Aug 2003, 00:33:27
I would swear I could remember shooting someone and seeing them explode horribly.  Now I am doubting what I think I know about OFP.

Does a vehicle stay local if you get out of it?

Darrell
Title: Re:No smoke for my pals in multiplayer
Post by: Tactician on 06 Aug 2003, 19:46:38
It may have been introduced in a recent version.  Use the REMOTE hint on a ded server to check that stuff out.  Last time I mucked with it, helis were still local a little bit after getting out of them.