Home   Help Search Login Register  

Author Topic: Can you save in multiplayer??  (Read 1744 times)

0 Members and 1 Guest are viewing this topic.

duckwilliamson

  • Guest
Can you save in multiplayer??
« on: 26 Oct 2003, 23:49:32 »
can you save in mulitplayer?
i need a script or command set or idea on how to save during a multiplayer so that a continue can happen at a later time ...

i'd like a script or command that saves every so often or after certain events take place ...
I have problems with my map in the sense that it is just too large ... it takes at about 7hrs for 4ppl to beat (and it's not done yet)
Now with such a large map, people only want to play it once in a session (LAN party), so when a crash occurs from a cool buggy vehicle or script say 4hours in ... nobody wants to restart ...
I'd love to have a save thing so that if a crash occurs, we can just restart and continue on pretty much from where we left off ...

Can anyone help me process an idea that will let me do a multiplayer save/continue? Any comments are greatly appreciated ...

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Can you save in multiplayer??
« Reply #1 on: 27 Oct 2003, 16:32:01 »
as far as i am aware this cannot be done

instead why dont you split your mission up into mini missions and have like a series that you can play one after another.  Also a multiplayer map of this magnitude would certainly wreck a servers community, no player is going to hang around that long for a game to finish, or even see it through to the end.

You would have to somehow pass all the locations, damage, of all the objects, all the weapons status etc to an outside folder where the mission on reloading would then look at this folder which would setdammage, setpos all the objects. Even somebody nifty with html coding would have a nightmare creating something and probably would need something already installed in the hardcoding of OFP to be able to do it.

I would forget it mate, its way too much hassle
« Last Edit: 27 Oct 2003, 16:36:48 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

duckwilliamson

  • Guest
Re:Can you save in multiplayer??
« Reply #2 on: 28 Oct 2003, 01:15:33 »
... thx for the advice ... but i believe that if you just have reset locations within the map, continuing would not be difficult ... all you would have to do is have a txt file saved that has a variable defined in it stating where in the mission the players are ...

e.g. you play for awhile and kill a guy ur supposed to kill; you are now supposed to get in helicopters and fly to another part of the map ...
- i could write 1 to a txt file and when the map is played again it would continue on by starting everyone at the helicopters and killing all the people they have dealt with before the helicopter part ...

so what i would like to know ... is there a way to write a variable to a folder on the person's computer so that when a map is opened later, this variable can be accessed?

and just another note: my map uses 155 addons (400mb) and 30 songs (200 mb) - it is only meant for LAN parties - DEFINITLY not for online play ...

gundernak

  • Guest
Re:Can you save in multiplayer??
« Reply #3 on: 02 Nov 2003, 22:43:47 »
Hi,

I really do not know if this will work. I had a similar question, and I gave the following answer:

Put up a trigger, set it to activate "Repeatedly" and let it be fired by
"Radio Alpha". Then in the "On activation" field of the trigg. put:

        SAVEGAME

 And to fire the trigger, just hit the "001" numbers!

gundernak

  • Guest
Re:Can you save in multiplayer??
« Reply #4 on: 02 Nov 2003, 22:56:47 »
maybe it works only in singleP

sorry

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
Re:Can you save in multiplayer??
« Reply #5 on: 05 Nov 2003, 13:56:34 »
You can save unit positions and weapon load out in multiplayer.

But you cannot quit out to windows and load it next time you go in.
Or save which buildings are destroyed
Or save positions of grenades / rockets, in mid throw/launch.

If you want i can show you how, but it is quite complex!
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

duckwilliamson

  • Guest
Re:Can you save in multiplayer??
« Reply #6 on: 09 Nov 2003, 06:33:50 »
well thx to everyone who replied, but i figured it out ...

I use "savestatus" and "loadstatus" which writes the health of a unit to the objects.sav file ...

At the beginning of the game i load this file and check for a certain health in my unit; I then set the game to different positions according to the health of the unit ...

I use a dialog to control whether the user wants to load or start a new game ...

---
as soon as a new game starts i have the unit "thesaver" set to 0 damage
once the players have completed the first objective, thesaver is set to 0.1 damage
the second objective - 0.2 damage
etc.

right when thesaver is damaged i savestatus of just that unit on all computers

when the next continued game is loaded, i loadstatus then check damage and automatically complete whatever objectives where done before the save, then setpos the players in their proper positions

i'm considering also saving each players' stats so they start out with their same weapons they had at the save ...

any questions, just email or msg me ...