Can someone tell me how i can understand how sapien reads the senerio files. PLEASE help!!!
Printable View
Can someone tell me how i can understand how sapien reads the senerio files. PLEASE help!!!
read again
yea i messed up read again
Oh, I am a troll? Look at you!
:lmao: He's got you there shadow.
And BTW we have no idea what your talking about. HtH.
Troll has been trolled.
By that you mean the way sapien converts the scrips into the level?
A scenario file can be read by using a stream.
Code:string Path = openFileDialog.FileName;
Stream ns = new FileStream(Path, FileMode.Open);
//work with stream here
ns.Close();
do you mean "what do i do when i've run the sapien program and i get a little box with folders in it?"
I know what he's asking, and I already have an answer for you. The answer is no, you cannot parse a scenario file to load like Sapien does. You are asking to hook the game engine's functions into your own application [which I know you can't program because nobody here that I know of can hook it properly] and there's no real point.
Or are you asking just to figure out what is inside those little Scenario files. If so, I don't have an answer for you because I haven't messed with them.
Technically that's not correct.
I'm pretty sure that's not what he was asking. I doubt he even knows how to program.
If that's what he wanted to know, then he could just look in Guerilla to see what is contained in the Scenario tag.
Obviously if this was a legitimate post then he would have responded to somebody's post by now.
Technically, I am correct. Has there been someone here who knows how to load a .scenario file with all of it's information inside it?
It is, why do you think I answered the way I did? I know him on xfire, and he was asking about this to me already.
I don't think he wants to use Guerilla, but his own program instead, hence why he asked what he did.
What makes you assume he's not just watching the topic, waiting for an answer?
No you are not correct. I know how to read all of a scenario tag's "information".
Why did you second guess yourself ("Or are you asking") in your post then if you were so confident about what he was asking?
If all he wants to know is what kind of data is stored inside the scenario tag, then just looking at the fields in Guerilla will be sufficient enough. If he wants to know how the data is stored in the scenario tag, then looking at Guerilla will be helpful and can be used as a start.
People have asked him questions and he has yet to respond. We can't help if we don't know what he is asking and he fails to respond to our questions.
Ah, I was not aware. I stand corrected.Quote:
You sir, have obviously not heard of Promethesus or the dev team for it. Think of 5+ kornman clones, working on one app. GODLY right?
Then tell me next time so I don't post and look like a fool. Granted, opening a scenario tag in notepad will get us nowhere, so obviously there's a format.Quote:
No you are not correct. I know how to read all of a scenario tag's "information".
The only thing I didn't know from him is if he wants the physical data, or if he wants to do what Prometheus does. So as for second guessing myself, I'm going to say no, I did not.Quote:
Why did you second guess yourself ("Or are you asking") in your post then if you were so confident about what he was asking?
Then why didn't someone just say that to begin with?Quote:
If all he wants to know is what kind of data is stored inside the scenario tag, then just looking at the fields in Guerilla will be sufficient enough. If he wants to know how the data is stored in the scenario tag, then looking at Guerilla will be helpful and can be used as a start.
You shouldn't assume that people don't know how to do stuff without any information to back it up.
Yes you did. You clearly stated that you knew what he wanted, yet you said two completely different ideas of what he might have wanted.
Why didn't you say it if you "knew what he wanted"? He was not clear in his first post, it was about as a vague as it can get.
Take it to PMs, guys.
There's no point in this topic anymore. Requesting topic to be locked as it will just divulge into a flame war at some point.