Advertisement

Author Topic: Cwr Savegame patch (ACCEPTED)  (Read 784 times)

0 Members and 1 Guest are viewing this topic.

Offline Mikero

  • Former Staff
  • ****
  • ook?
    • Linux Step by Step
Cwr Savegame patch (ACCEPTED)
« on: 12 Jan 2008, 09:07:56 »
this is a utility (and info) to patch an ofp mission to have retry savegames, since arma, wont allow that cheatsave. Naturally, and of course, you also need a copy of the cwr mod to play *ANY* ofp mission under arma.
---
Any ofp mission worth playing takes more than a few minutes to get thru. Many ofp missions
worth playing take an hour or more!

Unfortunately or otherwise, most mission authors have relied on your knowledge of the
cheatsave to get thru their mission.

For whatever reason, Arma accepts the cheatsave, but ignores it.

To make ofp missions less frustrating to play under arma, you need some form of save.

This patch, provides a retry mechanism.

To whit, it adds radio trigger 10 (Juliet) to the mission sqm.

----

You can either use the exe provided to automatically patch a mission folder, or, you can cut
and past the following and do it manually.

Automatic:

extract addsave.exe and the dll to any folder that gives you a thrill

syntax is

addsave SomeMissionFolder

addsave will alter the content of the mission.sqm, and either add, or alter the init.sqs in that
folder.

--------

Manual

1)

edit or create an init.sqs with the following line

10 SetRadioMsg "SaveGame";


2)
Edit the mission.sqm

look for class Sensors under Class mission

if Class sensors doesn't exist, make one

the sensors class you find should look something like this

 class Sensors {
  items = 3;
  class Item0 {
  class Item1 {
  class Item2 {


2a) change items to

  items=4;

2b)

at end of current class itemN's, add a new one


it must read as follows


      class ItemXX // SEE BELOW
      {
         position[]={1,1,1};
         a=0.000000;
         b=0.000000;
         activationBy="JULIET";
         repeating=1;
         age="UNKNOWN";
         text="Added retry";
         expActiv=savegame;
         class Effects{};
      };


ItemXX = one more than the last one

eg if class item2{

then your new addition is

class item3{


Enjoy
« Last Edit: 05 Feb 2008, 21:10:08 by hoz »
Just say no to bugz