I cant open old files

Started by MacGyver12345, Mon 27/07/2009 22:24:13

Previous topic - Next topic

MacGyver12345

 ???    I opened a template in 2.61 because it doesnt work in 2.72 or 3.0.   I saved it in 2.61, opened it in 2.72 and it tells me the rooms need to be recompiled and there is a scripting error. how can i get it to load in 2.72 correctly?
I GOT A FEVER, AND THE ONLY PRESCRIPTION, IS MORE COWBELL!!

Lt. Smash

Either you update the whole code to object-based script or you just set 'Enforce object-based scripting'
and 'Enforce new-style strings' to false (General Settings).
Then you should be able to recompile the rooms. If not, show us what error you get and the wrong code.

MacGyver12345

Quote from: Lt. Smash on Tue 28/07/2009 17:52:33
Either you update the whole code to object-based script or you just set 'Enforce object-based scripting'
and 'Enforce new-style strings' to false (General Settings).
Then you should be able to recompile the rooms. If not, show us what error you get and the wrong code.



when i do that and test the game it tells me  ".activeinv is not a public member of character"


I GOT A FEVER, AND THE ONLY PRESCRIPTION, IS MORE COWBELL!!

Lt. Smash

search the manual for activeinv. You will see that it's obsolete and has been replaced by .ActiveInventory.
So replace activeinv with ActiveInventory and do that with all similar errors you probably get.

Pumaman

If you're new to AGS, please don't start out by trying to upgrade a template from 2.61 ... you'll only make things ridiculously confusing for yourself.

Instead, why not start off with one of the templates included with the latest version of AGS and go from there?

MacGyver12345

Quote from: Lt. Smash on Tue 28/07/2009 18:33:28
search the manual for activeinv. You will see that it's obsolete and has been replaced by .ActiveInventory.
So replace activeinv with ActiveInventory and do that with all similar errors you probably get.
thanks
I GOT A FEVER, AND THE ONLY PRESCRIPTION, IS MORE COWBELL!!

MacGyver12345

Quote from: Pumaman on Tue 28/07/2009 19:26:36
If you're new to AGS, please don't start out by trying to upgrade a template from 2.61 ... you'll only make things ridiculously confusing for yourself.

Instead, why not start off with one of the templates included with the latest version of AGS and go from there?

the thing is i dont like the sierra or the verbcoin interfaces,  i like the verb table and inventory
I GOT A FEVER, AND THE ONLY PRESCRIPTION, IS MORE COWBELL!!

Scummbuddy

What is so pressing of the latest versions that you can not use an older version of AGS? I know several people that refuse to upgrade because of compatibility issues.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

SMF spam blocked by CleanTalk