Can i do it and how?

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
anhdung86
Posts: 45
Joined: Mon Jun 30, 2008 9:47 am
Location: hanoi/vietnam
Contact:

Can i do it and how?

Post by anhdung86 »

My player in level 1 and get a mission from a NPC, then my player go to level 2 for doing this mission. When done my player come back to level 1 and NPC give my player some money (or weapon, item v..vv). Can i do it in RF? Because when a level is loading, all events in this level will be reset :(
This problem is very important in a RPG game, someone please help me how to do it :(
User avatar
GMer
Posts: 329
Joined: Thu Oct 25, 2007 4:49 pm
Location: On the rock in the 3rd solar orbit.

Re: Can i do it and how?

Post by GMer »

You could try creating a duplicate level of level 1 and set the gold, weapons, items etc. There is probably a much better way to do this with complex scripting, but this is the simplest thing that came into my mind.
Over 3 years (has it been that long?) and just now I noticed the day and month of my birthday were switched. Whoops!

Some 2d games I made, haven't made anything in a year though O.o
http://www.yoyogames.com/users/GMer56
User avatar
anhdung86
Posts: 45
Joined: Mon Jun 30, 2008 9:47 am
Location: hanoi/vietnam
Contact:

Re: Can i do it and how?

Post by anhdung86 »

Thank you very much GMer :o , but if there are many mission in one level, the problem can not be solved :(
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Can i do it and how?

Post by metal_head »

Well in my game I'm using this one.I got a level from where you go to different missions,and when you complete a mission,you return to the same level,where a new mission is unlocked.I'm using the same map for this,but they are actually different levels.For example for the first time you spawn in MetalCity(that's the name of the level) and there is only one mission available,than when you play the mission you go to a different level,which is the same as the first one,but there is a second mission available.

Maybe I'll have to make a lot of levels for future,but I think that's the only decision.
User avatar
anhdung86
Posts: 45
Joined: Mon Jun 30, 2008 9:47 am
Location: hanoi/vietnam
Contact:

Re: Can i do it and how?

Post by anhdung86 »

Thankz so much metal_head, if that's the only decision, i think it's best way for me now, thank again :D
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Can i do it and how?

Post by metal_head »

Well,I'm not sure it's the only decision,but it's the only one I know.Or maybe you can try saving your first level using attributes and when you complete the 2nd level an attribute is changed and for example a new mission is unlocked,but I'm not sure how to do that and if it'll work. :)
User avatar
anhdung86
Posts: 45
Joined: Mon Jun 30, 2008 9:47 am
Location: hanoi/vietnam
Contact:

Re: Can i do it and how?

Post by anhdung86 »

Okay, Jay say that: "To do somethign liek this, you must store all the states in attributes and apply them at each level start."
I will learn how to store all the states in attributes, hope it's not difficult :cry:
Post Reply