INI file

Discussion about editing and mapping for Blood.
User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

INI file

Post by ilikemyhandsbloody » Feb 5th, 2010, 13:27

Ok, so I have made this INI file (just to test some things):

Code: Select all

[EPISODE1]
Title = UNKNOWN
Map1 = E1M3
Map2 = E2M4
Map3 = E3M5

;======================================

[E1M3]
Title = Phantom Express
Author = James Wilson

[E2M4]
Title = The Overlooked Hotel
Author = Kevin Kilstrom & Craig Hubbard
Song = cblood1

[E3M5]
Title = Spare Parts
Author = James Wilson & Craig Hubbard
Song = cblood1
Now, here's the problem:
As soon as I hit the end button in E1M3 it goes to the Credits screen instead of E2M4... WTF?! :shock:
I have examined many INI's of other episodes and I don't see why mine can't play all the maps in succession.

So what rules set by the engine am I missing here?
Last edited by ilikemyhandsbloody on Feb 6th, 2010, 11:41, edited 1 time in total.
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
BLOODTheChosenOne
Pink on the Inside
Posts: 278
Joined: Jun 23rd, 2009, 08:23

Re: INI file anomaly

Post by BLOODTheChosenOne » Feb 5th, 2010, 14:40

You put E2M4 but it should be E1M4.
Face it people, no one can re-create the unique feel of Blood, only the gods have such power...

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file anomaly

Post by ilikemyhandsbloody » Feb 5th, 2010, 14:45

BLOODTheChosenOne wrote:You put E2M4 but it should be E1M4.
That shouldn't matter, the only thing that does is the Maps list under the [EPISODE] part, that is where the map sequence is defined. There IS a next map available in that list so it should load that one instead of going to the Credits screen (like it would when NO next map was found). So no logic there at all.

I've also tried this and it has the same result as in my other post:

Code: Select all

[EPISODE1]
Title = MYEPI
Map1 = E1M2
Map2 = E1M3
Map3 = E1M4

;======================================

[E1M2]
Title = 
Author= 
Song =

[E1M3]
Title = 
Author = 
Song =

[E1M4]
Title = 3
Author = 
Song = 
Last edited by ilikemyhandsbloody on Feb 5th, 2010, 14:53, edited 3 times in total.
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file anomaly

Post by ilikemyhandsbloody » Feb 5th, 2010, 14:47

But, the strange thing is...
if I change the original BLOOD.INI in exact the same way it suddenly all seems to work perfectly :shock:
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
BLOODTheChosenOne
Pink on the Inside
Posts: 278
Joined: Jun 23rd, 2009, 08:23

Re: INI file anomaly

Post by BLOODTheChosenOne » Feb 5th, 2010, 22:28

Ah, I see. it is just the map names so it wouldn't matter. Try this.

;Episode 1
;The Way of All Flesh

[e1m1]
Title = Cradle to Grave
Author = James "Shade" Wilson
Song = UNHOLY
Track = 3
EndingA = 2
EndingB = 2

Message1 =
Message2 = Hit the switch to end the level.
Message3 = Slurp, slurp . . .
Message4 =
Message5 = OUT! OUT! DAMN SPOT!
Message6 = They'll need more of these.
Message7 = Nevermore . . .
Message8 = Open for Business.
Message9 = I LIVE AGAIN!
Message1 = It is sealed shut.


This is how my original Blood.ini file is. EndingA = Map# and EndingB is for secret ending.
Face it people, no one can re-create the unique feel of Blood, only the gods have such power...

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file anomaly

Post by ilikemyhandsbloody » Feb 5th, 2010, 22:33

Good thinking son!
And again one more ingredient to be implemented in my INI app! :thumbsup:

Now that I think about it; there should be an option to mark a map as a secret
(perhaps more are possible because every map has got A and B endings)
But no, perhaps not... yes it IS possible to mark a map as a secret but you can not just go and choose any map to actually jump to that secret because maybe it hasn't got 2 switches... so to prevent any confusing I will leave that out.

But let's forget this for a moment 'cuz I was suddenly thinking about something cool. What if there are 2 different routes in just 1 episode?! Ofcourse the 1st map needs 2 different end switches :D

So let's say Map 1 ends like this:
EndingA = 2
EndingB = 10


Map 2 has EndingA =3 and EndingB = 3
Map 10 has EndingA = 11 and EndingB = 11

and then:

Map 3 has EndingA = 4 and EndingB = 4
Map 11 has EndingA = 12 and EndingB = 12

You get the point. You can even make both paths cross eachother half way!

Let's say when you reach Map 6 or 14, you simply change the 2 endings pointing to the other path:

Map 6 has EndingA = 7 and EndingB = 15
Map 14 has EndingA = 15 and EndingB = 7

The possibilities are endless, you could make an episode with an ACTION path and a PUZZLE path for example.
Or perhaps even 3 different paths! Now that would be a hell of an episode! :bow:
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
BLOODTheChosenOne
Pink on the Inside
Posts: 278
Joined: Jun 23rd, 2009, 08:23

Re: INI file anomaly

Post by BLOODTheChosenOne » Feb 5th, 2010, 23:55

Shit son! Is your brain going to exsplode!?! We should gather up all the mappers in this forum and make a whole new episode for christ sake! [It'll need a lot of evaluating before we could ever start on such a project though.] I'm up for the challenge... just waiting for the offer... :wink:
Face it people, no one can re-create the unique feel of Blood, only the gods have such power...

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file anomaly

Post by ilikemyhandsbloody » Feb 6th, 2010, 07:20

Hehe cool idea but... let's continue a bit more:

If each individual map points to the next one then what is the use of the maplist under the Episode definition other then knowing what map it should start with but after that it's all up to the maps to decide what's going on next. So it makes me wonder; could an episode be looped? ...{just thinking out loud}...

...{a couple of minutes later}... yes it can :P

Too bad it isn't possible to take keys to another map (just like weapons), if that was possible you could make something like in Quake 2; EndingA to the next map and EndingB to the previous one.

But you could make a 'starting map' without any explosive weapons and a cracked wall. The explosives are in the next map and from there you can go back to the previous one! And perhaps behind that cracked wall is a switch to EndingB taking you to map3 :thumbsup:

So Map1 EndingA goes to Map2, and Map1 EndingB (switch behind cracked wall) goes to Map3.
But the only 'problem' would be ofcourse that all enemies are back (well, IF you had placed them 'cuz it could be a empty puzzle level as well ofcourse)
Last edited by ilikemyhandsbloody on Feb 6th, 2010, 15:38, edited 4 times in total.
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file anomaly

Post by ilikemyhandsbloody » Feb 6th, 2010, 09:56

ilikemyhandsbloody wrote:there should be an option to mark a map as a secret
(perhaps more are possible because every map has got A and B endings)
But no, perhaps not... yes it IS possible to mark a map as a secret but you can not just go and choose any map to actually jump to that secret because maybe it hasn't got 2 switches... so to prevent any confusing I will leave that out.
It would be possible if the data of .MAP files were to be read, checking for the end switch(es) bytes.
Then a map could get a tag of being a single or double ending one and thus 2 successive maps can be connected.
And then using some kind of tree structure to compose blocks (with map names) graphically.
Now that would be PERFECT for an INI file composer! :thumbsup:

Something like this:

Code: Select all

+--------+  +--------+  +--------+  +--------+  +--------+  +--------+
|E1M1    |->|E1M2    |->|E1M3    |->|E1M4    |->|E1M5    |->|E1M6    |
+--------+  +--------+  +--------+  +--------+  +--------+  +--------+
                                         |                       ^
                                         |      +--------+       |
                                         +----->|E1M8    |-------+
                                                +--------+
Last edited by ilikemyhandsbloody on Feb 6th, 2010, 11:38, edited 1 time in total.
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
Jerry
Still Kicking
Posts: 121
Joined: Jan 1st, 2010, 23:25
Location: Czech Republic
Contact:

Re: INI file anomaly

Post by Jerry » Feb 6th, 2010, 10:14

Wow, very impressive. All the new things you can do with this. Imagine that.
But it is necessary to make a whole episode (which will be huge). A party of people with a large amount of time can do that. On the other side, imagine an add-on with so many possibilities where to go... Bad luck there are only few Blood mapeditors teams. It is impossible for only one person to do this all alone. :?
I want Jo-Jo! I want Jo-Jo! Jo-Jo! JO-JOOOO!

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file anomaly

Post by ilikemyhandsbloody » Feb 6th, 2010, 11:59

Jerry wrote:Wow, very impressive. All the new things you can do with this.
Right now I'm developing a tool that can generate INI files for you.
(send me a PM if you want to beta test it)
You can compose 1 episode with 10 maps, this is what you can do already with it:

- Create Episode Title
- Select a map from a pulldownlist (all maps of the 4 original episodes) but you can type your own.
- Give each map a Title, Author and select a MIDI Song (from pulldown list)


It will also do this:
- If no Episode Title is given it will change it to "UNKNOW"
- If you skip a slot (or more) it will automatically be corrected for you, for example: if you only fill out slot 1,5 and 7 it will change this to Map 1, Map 2 and Map 3 in the INI file!
- If you don't select any map it will not save
- The correct EndingA and EndingB values will automatically be generated


Now, my real wish is that my app would read all .MAP files, check if the filename length does not exceed 8 chars, then put all valid names into a list and check all files internally searching for the piece of code that tells if a 2nd End Switch is used on the map!
Then I want to make that tree structure I was talking about, a Single Switch map will look Blue and a Double Switch one Red.
On the left side of the screen there will be blocks with filenames in them. When you click on 1 it will be placed on the right side of the screen (in the top left corner). If it is a Red one it will give you an option to place a block on the second line as well... If you right-click on a block you can set its properties like Title, Author and MIDI, when set one of those they wil appear as T, A and M on the block on the main screen

Hehe, I've a long way to go to accomplish something like that though :roll:
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file

Post by ilikemyhandsbloody » Feb 6th, 2010, 15:37

Just Imagine having something like this:

Code: Select all

          map01
            /\
           /  \
          /    \
       map02  map03
         /\     /\
        /  \   /  \
       /    \ /    \
    map04  map05  map06
       \    / \    /
        \  /   \  /
         \/     \/
       map07  map08
          \    /
           \  /
            \/  
           map09
There are 6 ways possible to get from map01 to map09 in 4 steps :thumbsup:

1-2-4-7-9
1-2-5-7-9
1-2-5-8-9
1-3-5-7-9
1-3-5-8-9
1-3-6-8-9

And... if each map with 2 endings had some kinda randomness in going to the next map, that is to say making something where one time the EndingA switch is present and the other time EndingB.
In that way you'll never know what will come next :D

The randomness is ofcourse not possible but you can make something like this:
A round sector (white lines) with the 2 End switches attached to the outside, one north and the other south.
The sector will be rotated each time the player walks onto a touchplate (there should be a couple around though) so unless the player knows where to 'look' for a touchplate it will somewhat generate rondomess!
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

User avatar
BLOODTheChosenOne
Pink on the Inside
Posts: 278
Joined: Jun 23rd, 2009, 08:23

Re: INI file anomaly

Post by BLOODTheChosenOne » Feb 6th, 2010, 18:48

Jerry wrote:Wow, very impressive. All the new things you can do with this. Imagine that.
But it is necessary to make a whole episode (which will be huge). A party of people with a large amount of time can do that. On the other side, imagine an add-on with so many possibilities where to go... Bad luck there are only few Blood mapeditors teams. It is impossible for only one person to do this all alone. :?

This is how I think it should be done: 1st we discuss the story and the theme. Then one mapper makes a map and sends it to the next. Now that mapper plays the map and examines the ending. Now he makes his map according to the 1st map. When he's done he will send his map to another mapper and they will examine where these levels are going and make the 3rd map. [Obviously, everyone can decide if they don't like a map and choose some one else to try and create a better one.] In the end, every mapper makes a final level and the members of posty will vote on the best finale. :flipoff:
Face it people, no one can re-create the unique feel of Blood, only the gods have such power...

User avatar
MoonStalkeR
Lightly Broiled
Posts: 923
Joined: Oct 11th, 2008, 17:01
Location: In another dimension!
Contact:

Re: INI file

Post by MoonStalkeR » Feb 6th, 2010, 18:58

A looped episode would make some exciting results. I know a "Hub system" isn't possible, but the ability to travel back and forth between maps would add even more to the gameplay style.
<Boilerplate> Thing is MoonStalkeR: You seem to be suffering from schizphernia, which the MoonStalkeR personality is your base one, Mobius is the aggressive personality, Krypto is the depressive personality, Nautalus is the pervert personality, etc

User avatar
ilikemyhandsbloody
Lightly Broiled
Posts: 750
Joined: Nov 23rd, 2009, 13:53
Location: outside yer little forum

Re: INI file

Post by ilikemyhandsbloody » Feb 6th, 2010, 19:05

MoonStalkeR wrote:the ability to travel back and forth between maps would add even more to the gameplay style.
Yeah but that's not really possible in the true sense 'cuz you will always start at the same spot and facing all the same enemies again, so I'm not sure it is such a good idea. But... you could make an exact copy of the map (filename wise ofcourse) without enemies so it looks like you've already been there before when it is in fact a completely different map!

It's better to avoid comming back to the exact same map you have played before,
it IS possible but there's little to no usefulness in that and will be soon boring as well.

Hehe, I wonder how many possibilities this one has:

Code: Select all

                   01
                   /\
                  /  \
                 /    \
                02    03
                /\    /\
               /  \  /  \
              /    \/    \
             04    05    06
             /\    /\    /\
            /  \  /  \  /  \
           /    \/    \/    \
          07    08    09    10
          /\    /\    /\    /\
         /  \  /  \  /  \  /  \
        /    \/    \/    \/    \
       11    12    13    14    15
        \    /\    /\    /\    /
         \  /  \  /  \  /  \  /
          \/    \/    \/    \/
          16    17    18    19
           \    /\    /\    /
            \  /  \  /  \  /
             \/    \/    \/
             20    21    22
              \    /\    /
               \  /  \  /
                \/    \/
                23    24
                 \    /
                  \  /
                   \/
                   25
Last edited by ilikemyhandsbloody on Feb 6th, 2010, 22:00, edited 3 times in total.
http://www.youtube.com/bloodmapedit
__________________________________________________________
http://www.baitd.bloodgame.ru/bme.htm

Post Reply