Jump to content
Sign in to follow this  
dinger

Reversed objects, savegame and mp problem

Recommended Posts

Here's our problem:

We're doing final testing on our directional AP mines. They work this way:

They are static terrain objects built off the Fortress class. We do this for a variety of technical reasons I won't get into here (unless you're really curious, then I can talk your ear off).

The problem is that in O2, we've built them facing the correct direction. To get them facing that way in single player, we need to set reversed=true in the config.cpp. Then they show up right...

except -- if you save the game and load up, they're reversed (=facing backwards), and in multiplayer, all clients see the objects backwards from the beginning of the mission.

Now, these are directional mines. It makes a big difference whether you're looking at the front or the rear of a MON-200 or a M18A1Claymore.

How can we solve this problem?

Dinger

www.thechainofcommand.net

Share this post


Link to post
Share on other sites

Current workaround:

set reversed to false

add to init eventhandler:

(_this select 0) setdir (getdir (_this select 0)+180)

It's not pretty

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×