Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 09/16/09 18:09

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Is it possible to add a save point ?

I was thinking is it possible to add a save point to a level ?... precisely the dream lab  ... just after konoko fights griffin and before she fights evil konoko ...

cz sometimes I just feel like fighting evil konoko tongue without having to go thru the TCTF and griffin and the ninja ... i know there are walk arounds, but it would be easier if there was just a save point ... so is it possible ?


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#2 09/16/09 18:09

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Is it possible to add a save point ?

The problem is that Oni's savepoints are not a simple dump of the game state to the disk.  They are based on scripting.  It takes a fair bit of code to restore a savepoint in Oni because everything has to be set up again, up to that point in the level.  Adding savepoints is like inserting a new scene into a story that's already been written and making it blend in seamlessly.

Also, isn't the fight with Konoko the very last thing you do in the level?  It probably wouldn't be good pacing to insert a savepoint a few minutes before the end of the level.

There are other ways to set up a fight with Konoko, though.  It would be fastest to adapt a script like Good vs. Evil for that purpose.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#3 09/16/09 18:09

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Is it possible to add a save point ?

mm i downloaded the script it says for watching not participating tongue

also I don't want to replace any levels ... but it does sound interesting big_smile


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#4 09/16/09 19:09

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Is it possible to add a save point ?

Well, the script provides some spawn points and a modified BINA file to provide more spawnable characters, so it makes it faster to set up a fight any AI (as long as you don't mind it being in the Warehouse).  You just wouldn't set up your own Konoko as invisible and neutral, if you wanted to actually fight yourself.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#5 09/16/09 20:09

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Is it possible to add a save point ?

Here's a very basic script for fighting Evil Konoko in the dream level:

func void main (void) {

chr_teleport 0 0002   

ai2_spawn evilkonoko
chr_teleport evilkonoko 0011
}

Here are the script commands in Oni:
http://ssg.oni2.net/commands.htm

Flag Locations:
http://zdlo.oni2.net/Items/Flags/

Offline

#6 09/17/09 12:09

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Is it possible to add a save point ?

I will try that as soon as I understand how to make scripts :$ I'm reading about it in the galore the script tutorial .

why don't they work if i just type them in developer mode tongue


btw an off topic subject tongue your videos on YouTube Edt are amazingly creative I just saw them yesterday  i can only imagine how much work u put into them (the dancing and when enemies becomes allies especially )  big_smile

Last edited by Samer (09/17/09 12:09)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#7 09/17/09 12:09

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Is it possible to add a save point ?

You can type those commands into the console and they'll work just fine.  The point of making a script is avoid having to type them every time.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#8 09/17/09 17:09

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Is it possible to add a save point ?

thanks for the tip guys ! just what i needed

I have yet so much to learn smile


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

Board footer

Powered by FluxBB