moeng-cvs Mailing List for Moonlight Engine (Page 8)
Status: Alpha
Brought to you by:
b_lindeijer
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(145) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(226) |
Feb
(13) |
Mar
(5) |
Apr
(13) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
(3) |
2007 |
Jan
(4) |
Feb
(27) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv26267/data/scripts Modified Files: BBRpgLang.lua BBRpgLangDutch.lua MainMenu.lua PlayerSwitcher.lua RestPlace.lua Added Files: LanguageMenu.lua Log Message: Taalkeuze menu, text fixes and music change fix. --- NEW FILE: LanguageMenu.lua --- -- A menu to choose your language LanguageMenu = GuiMenu:subclass { name = "LanguageMenu"; init = function(self) GuiMenu.init(self) self:addMenuItem(GuiMenuItem(BBRpgLang.defaultproperties.languageName, function() lang = BBRpgLang() self.master:addInteraction(MainMenu()) self.master:removeInteraction(self) end)) self:addMenuItem(GuiMenuItem(BBRpgLangDutch.defaultproperties.languageName, function() lang = BBRpgLangDutch() self.master:addInteraction(MainMenu()) self.master:removeInteraction(self) end)) end; keyType = function(self, key) if (GuiMenu.keyType(self, key)) then return true end if (key == "esc") then -- Return without switching language self.master:addInteraction(MainMenu()) self.master:removeInteraction(self) return true end end; defaultproperties = { }; } Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** BBRpgLang.lua 3 Jan 2004 01:12:46 -0000 1.28 --- BBRpgLang.lua 3 Jan 2004 18:50:44 -0000 1.29 *************** *** 10,23 **** vars = { ! PLAYER = "Elwood", ! PLAY = "Start", ! QUICKSTART = "Quickstart", ! CREDITS = "Credits", ! QUIT = "Quit", ! CONTINUE = "Continue", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { {"Mr. Prosser", "Standard parole 3 out of 5. Good behavior."}, --- 10,23 ---- vars = { ! PLAY = "Start", ! QUICKPLAY = "Quickstart", ! CREDITS = "Credits", ! LANGUAGE = "Language", ! QUIT = "Quit", ! CONTINUE = "Continue", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { {"Mr. Prosser", "Standard parole 3 out of 5. Good behavior."}, *************** *** 362,365 **** --- 362,369 ---- {{"{PLAYER}", "That's one huge Christmas tree!"}}, }, + }; + + defaultproperties = { + languageName = "English", }; } Index: BBRpgLangDutch.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLangDutch.lua,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BBRpgLangDutch.lua 2 Jan 2004 23:50:51 -0000 1.1 --- BBRpgLangDutch.lua 3 Jan 2004 18:50:44 -0000 1.2 *************** *** 5,24 **** import("Lang.lua") ! BBRpgLang = Lang:subclass { ! name = "BBRpgLang"; vars = { ! PLAYER = "Elwood", ! PLAY = "Play", ! CREDITS = "Credits", ! QUIT = "Quit", ! CONTINUE = "Continue", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { ! {"Mr. Prosser", "Gevangene drie van de 5. Goed gedrag. Hier zijn je bezittingen: Een Timex digitaal horloge, kapot. Een ongebruikt condoom. Een gebruikt. <pause> Een zonnebril. Drieentwintig euro en zeven cent. Wilt u hier even tekenen?"}, }, Intro2 = { --- 5,25 ---- import("Lang.lua") ! BBRpgLangDutch = Lang:subclass { ! name = "BBRpgLangDutch"; vars = { ! PLAY = "Spelen", ! QUICKPLAY = "Direct Spelen", ! CREDITS = "Makers", ! LANGUAGE = "Taal", ! QUIT = "Afsluiten", ! CONTINUE = "Doorgaan", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { ! {"Mr. Prosser", "Gevangene 3 van de 5. Goed gedrag. Hier zijn je bezittingen: Een Timex digitaal horloge, kapot. Een ongebruikt condoom, en een gebruikte. <pause> Een zonnebril. Drieentwintig euro en zeven cent. Wilt u hier even tekenen?"}, }, Intro2 = { *************** *** 216,220 **** }, RemovePutdeksel = { ! {"{PLAYER}", "Ah ja, hij beweegt... Gelukkig hebben we de kaarten van het riool goed bekeken."}, }, CantRemovePutdeksel = { --- 217,221 ---- }, RemovePutdeksel = { ! {"{PLAYER}", "Ah ja, hij beweegt... Gelukkig hebben we de kaarten van het riool uit ons hoofd geleerd."}, }, CantRemovePutdeksel = { *************** *** 226,230 **** {"Elwood", "Wat? Het riool?!"}, {"Jake", "Ja, wat anders? Klop jij liever aan bij de hoofdingang?"}, ! {"Elwood", "Waarom niet, ik doe alles om mijn mijn grote broer te bevrijden, die ik in mijn hele leven nog nooit gezien heb, en waarvan ik denk dat hij gestoord is omdat hij een miniversie van de Columbia ruimteveer gebouwd heeft."}, {"Jake", "Ja, zo mag ik het horen. Laten we Brian the Brain bevrijden!"}, }, --- 227,231 ---- {"Elwood", "Wat? Het riool?!"}, {"Jake", "Ja, wat anders? Klop jij liever aan bij de hoofdingang?"}, ! {"Elwood", "Waarom niet, ik doe alles om mijn grote broer te bevrijden, die ik in mijn hele leven nog nooit gezien heb, en waarvan ik denk dat hij gestoord is omdat hij een miniversie van de Columbia ruimteveer gebouwd heeft."}, {"Jake", "Ja, zo mag ik het horen. Laten we Brian the Brain bevrijden!"}, }, *************** *** 285,289 **** {{"{PLAYER}", "Het is een gitaar!"}}, {{"{PLAYER}", "Als we niet probeerden de Vierde Wereld Oorlog te voorkomen zou ik er nu meteen op gaan spelen."}}, ! {{"{PLAYER}", "Dit lijkt me niet echt een voorwerp dat we dit nodig hebben voor onze missie."}}, }, Keyboard = { --- 286,290 ---- {{"{PLAYER}", "Het is een gitaar!"}}, {{"{PLAYER}", "Als we niet probeerden de Vierde Wereld Oorlog te voorkomen zou ik er nu meteen op gaan spelen."}}, ! {{"{PLAYER}", "Dit lijkt me niet echt een voorwerp dat we nodig hebben voor onze missie."}}, }, Keyboard = { *************** *** 350,353 **** --- 351,358 ---- {{"{PLAYER}", "Dat is een grote kerstboom!"}}, }, + }; + + defaultproperties = { + languageName = "Nederlands", }; } Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** MainMenu.lua 3 Jan 2004 01:12:46 -0000 1.29 --- MainMenu.lua 3 Jan 2004 18:50:44 -0000 1.30 *************** *** 149,155 **** ActionController:addSequence(startSequence); end)) ! self:addMenuItem(GuiMenuItem(lang:getVar("QUICKSTART"), function() self.master:removeInteraction(self); ActionController:addSequence(quickStartSequence); end)) self:addMenuItem(GuiMenuItem(lang:getVar("QUIT"), function() --- 149,159 ---- ActionController:addSequence(startSequence); end)) ! self:addMenuItem(GuiMenuItem(lang:getVar("QUICKPLAY"), function() self.master:removeInteraction(self); ActionController:addSequence(quickStartSequence); + end)) + self:addMenuItem(GuiMenuItem(lang:getVar("LANGUAGE"), function() + self.master:addInteraction(LanguageMenu()); + self.master:removeInteraction(self); end)) self:addMenuItem(GuiMenuItem(lang:getVar("QUIT"), function() Index: PlayerSwitcher.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/PlayerSwitcher.lua,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** PlayerSwitcher.lua 3 Jan 2004 00:16:32 -0000 1.6 --- PlayerSwitcher.lua 3 Jan 2004 18:50:44 -0000 1.7 *************** *** 115,125 **** self:selectPlayerHost(self.playerHosts[self.currentHost]) else -- Switch player after fading out and fade in afterwards ActionController:addSequence{ ActionSetVariable(self, "bActive", false), ! ActionFadeOutMusic(50), ActionFadeOutMap(50), ActionCallFunction(self.selectPlayerHost, self, self.playerHosts[self.currentHost]), ! ActionPlaySong(self.playerHosts[self.currentHost].myMap.musicFilename, 50), ActionFadeInMap(50), ActionSetVariable(self, "bActive", true), --- 115,133 ---- self:selectPlayerHost(self.playerHosts[self.currentHost]) else + local musicOut = ActionFadeOutMusic(50) + local musicIn = ActionPlaySong(nextHost.myMap.musicFilename, 50) + + if (nextHost.myMap.musicFilename == MusicControl.currentSong) then + musicOut = ActionWait(0) + musicIn = ActionWait(0) + end + -- Switch player after fading out and fade in afterwards ActionController:addSequence{ ActionSetVariable(self, "bActive", false), ! musicOut, ActionFadeOutMap(50), ActionCallFunction(self.selectPlayerHost, self, self.playerHosts[self.currentHost]), ! musicIn, ActionFadeInMap(50), ActionSetVariable(self, "bActive", true), Index: RestPlace.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/RestPlace.lua,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RestPlace.lua 3 Jan 2004 00:16:32 -0000 1.3 --- RestPlace.lua 3 Jan 2004 18:50:44 -0000 1.4 *************** *** 21,24 **** --- 21,25 ---- cityMap.restPlaceDoor.obstacle = 0 cityMap.restPlaceDoor.convTableKeyword = nil + cityMap.restPlaceDoor.convTable = nil end end; |
From: <b_l...@us...> - 2004-01-03 16:31:19
|
Update of /cvsroot/moeng/BBRpg In directory sc8-pr-cvs1:/tmp/cvs-serv1937 Modified Files: README Log Message: Implemented music repeating. Index: README =================================================================== RCS file: /cvsroot/moeng/BBRpg/README,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** README 2 Jan 2004 07:38:04 -0000 1.4 --- README 3 Jan 2004 16:31:15 -0000 1.5 *************** *** 8,12 **** The story begins when Elwood is released from prison. His brother Jake tells him about their third brother, Brian, who was adopted by their mother even ! before they were born. The game starts when Elwood and Jake made plans to safe their third brother who is still held in prison. --- 8,12 ---- The story begins when Elwood is released from prison. His brother Jake tells him about their third brother, Brian, who was adopted by their mother even ! before they were born. The game starts when Elwood and Jake make plans to safe their third brother who is still held in prison. |
From: <b_l...@us...> - 2004-01-03 16:31:19
|
Update of /cvsroot/moeng/BBRpg/src In directory sc8-pr-cvs1:/tmp/cvs-serv1937/src Modified Files: sound.cpp Log Message: Implemented music repeating. Index: sound.cpp =================================================================== RCS file: /cvsroot/moeng/BBRpg/src/sound.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sound.cpp 2 Jan 2004 23:06:56 -0000 1.5 --- sound.cpp 3 Jan 2004 16:31:15 -0000 1.6 *************** *** 31,34 **** --- 31,35 ---- struct alogg_stream *stream; AUDIOSTREAM *ass; + char filename[128]; } channels[CHANNELS]; *************** *** 90,95 **** } */ ! channels[channel].stream = alogg_start_streaming(filename, BLOCK_SIZE); ! channels[channel].ass = alogg_get_audio_stream(channels[channel].stream); if (!channels[channel].stream) { fprintf(stderr,"Error opening %s\n", filename); --- 91,96 ---- } */ ! strncpy(channels[channel].filename, filename, 128); ! channels[channel].stream = alogg_start_streaming(channels[channel].filename, BLOCK_SIZE); if (!channels[channel].stream) { fprintf(stderr,"Error opening %s\n", filename); *************** *** 97,100 **** --- 98,102 ---- exit(1); } + channels[channel].ass = alogg_get_audio_stream(channels[channel].stream); } *************** *** 225,230 **** int ret = alogg_update_streaming(channels[i].stream); if (ret == 0) { ! channels[i].stream = NULL; // end of stream ! channels[i].ass = NULL; break; } --- 227,239 ---- int ret = alogg_update_streaming(channels[i].stream); if (ret == 0) { ! // Loop song ! stop_music(i); ! channels[i].stream = alogg_start_streaming(channels[i].filename, BLOCK_SIZE); ! if (!channels[i].stream) { ! fprintf(stderr,"Error opening %s\n", channels[i].filename); ! alogg_exit(); ! exit(1); ! } ! channels[i].ass = alogg_get_audio_stream(channels[i].stream); break; } |
From: <b_l...@us...> - 2004-01-03 01:12:56
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv5325/data/scripts Modified Files: BBRpg.lua BBRpgLang.lua MainMenu.lua Log Message: Added QuickStart (can be only temp) Index: BBRpg.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpg.lua,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** BBRpg.lua 2 Jan 2004 23:06:55 -0000 1.24 --- BBRpg.lua 3 Jan 2004 01:12:46 -0000 1.25 *************** *** 87,93 **** ActionController:addSequence{ ActionExModeOn(), ! ActionPlaySong("data/music/3.ogg", 200), ! ActionTweenVariable(main_menu_bg, "alpha", 200, 255), ! ActionPlaySample("bbsfx_hit1.wav"), ActionCallFunction(self.interactionMaster.addInteraction, self.interactionMaster, self.playerSwitcher), ActionCallFunction(self.interactionMaster.addInteraction, self.interactionMaster, SnowyWeather(cityMap)), --- 87,92 ---- ActionController:addSequence{ ActionExModeOn(), ! ActionPlaySong("data/music/3.ogg", 100), ! ActionTweenVariable(main_menu_bg, "alpha", 100, 255), ActionCallFunction(self.interactionMaster.addInteraction, self.interactionMaster, self.playerSwitcher), ActionCallFunction(self.interactionMaster.addInteraction, self.interactionMaster, SnowyWeather(cityMap)), Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** BBRpgLang.lua 3 Jan 2004 00:16:32 -0000 1.27 --- BBRpgLang.lua 3 Jan 2004 01:12:46 -0000 1.28 *************** *** 10,18 **** vars = { ! PLAYER = "Elwood", ! PLAY = "Play", ! CREDITS = "Credits", ! QUIT = "Quit", ! CONTINUE = "Continue", }; --- 10,19 ---- vars = { ! PLAYER = "Elwood", ! PLAY = "Start", ! QUICKSTART = "Quickstart", ! CREDITS = "Credits", ! QUIT = "Quit", ! CONTINUE = "Continue", }; Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** MainMenu.lua 3 Jan 2004 00:16:32 -0000 1.28 --- MainMenu.lua 3 Jan 2004 01:12:46 -0000 1.29 *************** *** 14,18 **** local oldspeed = elwood.speed local dummy = cityMap:spawn(Dummy, 113.5, 109.5) ! local startSequence = { ActionFadeOutMusic(50), --- 14,33 ---- local oldspeed = elwood.speed local dummy = cityMap:spawn(Dummy, 113.5, 109.5) ! ! local quickStartSequence = { ! ActionFadeOutMusic(50), ! ActionFadeOutMap(50), ! ActionWait(50), ! ActionSetVariable(_G, "show_main_menu", nil), ! ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ! ActionCallFunction(elwood.addToInventory, elwood, cityMap.walkieTalkie), ! ActionSetPosition(elwood, 94, 73, DIR_UP, cityMap), ! ActionSetPosition(jake, 93, 73, DIR_UP, cityMap), ! ActionSetCameraTarget(elwood, false), ! ActionPlaySong(cityMap.musicFilename, 100), ! ActionFadeInMap(100), ! ActionExModeOff(), ! } ! local startSequence = { ActionFadeOutMusic(50), *************** *** 21,25 **** ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionSetVariable(_G, "show_main_menu", nil), ! --[[ ActionPlaySong("data/music/2.ogg", 100), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("prison.tga")), --- 36,40 ---- ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionSetVariable(_G, "show_main_menu", nil), ! ActionPlaySong("data/music/2.ogg", 100), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("prison.tga")), *************** *** 123,138 **** ActionSetPosition(dummy, 93.5, 72.5), ActionSetCameraTarget(dummy, false), ActionTweenVariable(dummy, "x", 50, 94.5), ActionSetCameraTarget(elwood, false), - ]] - - ActionFadeInMap(100), - ActionSetPosition(elwood, 93, 75, DIR_UP, cityMap), ActionExModeOff(), } ! self:addMenuItem(GuiMenuItem(lang:getVar("PLAY"), function() self.master:removeInteraction(self); ActionController:addSequence(startSequence); end)) ! -- self:addMenuItem(GuiMenuItem(lang:getVar("CREDITS"), function() self.master:removeInteraction(self); m_quit_game() end)) ! self:addMenuItem(GuiMenuItem(lang:getVar("QUIT"), function() self.master:removeInteraction(self); m_quit_game() end)) end; --- 138,160 ---- ActionSetPosition(dummy, 93.5, 72.5), ActionSetCameraTarget(dummy, false), + ActionFadeOutMusic(50), ActionTweenVariable(dummy, "x", 50, 94.5), + ActionPlaySong(cityMap.musicFilename, 10), ActionSetCameraTarget(elwood, false), ActionExModeOff(), } ! self:addMenuItem(GuiMenuItem(lang:getVar("PLAY"), function() ! self.master:removeInteraction(self); ! ActionController:addSequence(startSequence); ! end)) ! self:addMenuItem(GuiMenuItem(lang:getVar("QUICKSTART"), function() ! self.master:removeInteraction(self); ! ActionController:addSequence(quickStartSequence); ! end)) ! self:addMenuItem(GuiMenuItem(lang:getVar("QUIT"), function() ! self.master:removeInteraction(self); ! m_quit_game() ! end)) end; |
From: <b_l...@us...> - 2004-01-03 00:16:41
|
Update of /cvsroot/moeng/BBRpg/data/maps In directory sc8-pr-cvs1:/tmp/cvs-serv27577/data/maps Modified Files: jakesplace.map Log Message: Many music updates, please test a bit. Sequences will need updating. Index: jakesplace.map =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/maps/jakesplace.map,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsHixsAf and /tmp/cvsaFAeZk differ |
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv27577/data/scripts Modified Files: Action.lua BBRpgLang.lua JakesPlace.lua MainMenu.lua Map.lua MusicController.lua PlayerSwitcher.lua Portal.lua RestPlace.lua Log Message: Many music updates, please test a bit. Sequences will need updating. Index: Action.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Action.lua,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Action.lua 2 Jan 2004 07:40:21 -0000 1.8 --- Action.lua 3 Jan 2004 00:16:32 -0000 1.9 *************** *** 96,100 **** local i for i = 1, table.getn(actions) do ! if (actions[i]:instanceOf(Action)) then -- Create an action execution environment for this action local execEnv = {} --- 96,100 ---- local i for i = 1, table.getn(actions) do ! if (actions[i] and actions[i]:instanceOf(Action)) then -- Create an action execution environment for this action local execEnv = {} Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** BBRpgLang.lua 2 Jan 2004 23:50:51 -0000 1.26 --- BBRpgLang.lua 3 Jan 2004 00:16:32 -0000 1.27 *************** *** 104,108 **** }, WhereKeys = { ! {"Jake", "Elwood, did I give my keys of my appartement to you?"}, {"Elwood", "Didn't you?"}, {"Jake", "Did I?"}, --- 104,108 ---- }, WhereKeys = { ! {"Jake", "Elwood, did I give the keys of my appartement to you?"}, {"Elwood", "Didn't you?"}, {"Jake", "Did I?"}, Index: JakesPlace.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/JakesPlace.lua,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** JakesPlace.lua 2 Jan 2004 02:49:56 -0000 1.4 --- JakesPlace.lua 3 Jan 2004 00:16:32 -0000 1.5 *************** *** 31,34 **** --- 31,35 ---- defaultproperties = { mapNameBitmap = m_get_bitmap("jakesplace.tga"), + musicFilename = "data/music/4.ogg", }; } Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** MainMenu.lua 2 Jan 2004 23:06:55 -0000 1.27 --- MainMenu.lua 3 Jan 2004 00:16:32 -0000 1.28 *************** *** 18,25 **** ActionFadeOutMusic(50), ActionFadeOutMap(50), ! ActionWait(100), ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionSetVariable(_G, "show_main_menu", nil), ! ActionPlaySong("data/music/2.ogg", 100), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("prison.tga")), --- 18,25 ---- ActionFadeOutMusic(50), ActionFadeOutMap(50), ! ActionWait(50), ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionSetVariable(_G, "show_main_menu", nil), ! --[[ ActionPlaySong("data/music/2.ogg", 100), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("prison.tga")), *************** *** 125,128 **** --- 125,132 ---- ActionTweenVariable(dummy, "x", 50, 94.5), ActionSetCameraTarget(elwood, false), + ]] + + ActionFadeInMap(100), + ActionSetPosition(elwood, 93, 75, DIR_UP, cityMap), ActionExModeOff(), } Index: Map.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Map.lua,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Map.lua 2 Jan 2004 02:49:56 -0000 1.6 --- Map.lua 3 Jan 2004 00:16:32 -0000 1.7 *************** *** 32,35 **** --- 32,36 ---- map = nil, mapNameBitmap = nil, + musicFilename = "", } } Index: MusicController.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MusicController.lua,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MusicController.lua 25 Dec 2003 20:50:41 -0000 1.2 --- MusicController.lua 3 Jan 2004 00:16:32 -0000 1.3 *************** *** 73,76 **** --- 73,77 ---- -- play this song on the first channel self.currentChannel = 0 + self.currentSong = filename m_play_music(filename, self.currentChannel) m_adjust_channel(self.currentChannel, 255, 128, 1000) *************** *** 103,106 **** --- 104,108 ---- -- Start playing music and set volume to 0 + self.currentSong = filename m_play_music(filename, self.fadeInChannel) self:update() Index: PlayerSwitcher.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/PlayerSwitcher.lua,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PlayerSwitcher.lua 2 Jan 2004 02:49:56 -0000 1.5 --- PlayerSwitcher.lua 3 Jan 2004 00:16:32 -0000 1.6 *************** *** 118,123 **** --- 118,125 ---- ActionController:addSequence{ ActionSetVariable(self, "bActive", false), + ActionFadeOutMusic(50), ActionFadeOutMap(50), ActionCallFunction(self.selectPlayerHost, self, self.playerHosts[self.currentHost]), + ActionPlaySong(self.playerHosts[self.currentHost].myMap.musicFilename, 50), ActionFadeInMap(50), ActionSetVariable(self, "bActive", true), Index: Portal.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Portal.lua,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Portal.lua 2 Jan 2004 07:38:04 -0000 1.6 --- Portal.lua 3 Jan 2004 00:16:32 -0000 1.7 *************** *** 19,26 **** --- 19,35 ---- actor:walk(actor.dir, true) + local musicOut = ActionFadeOutMusic(100 / actor.speed) + local musicIn = ActionPlaySong(self.linkedPortal.myMap.musicFilename, 100 / actor.speed) + + if (self.linkedPortal.myMap.musicFilename == MusicControl.currentSong) then + musicOut = ActionWait(0) + musicIn = ActionWait(0) + end + ActionController:addSequence{ ActionExModeOn(), ActionParallel{ ActionWalk(actor, actor.dir, 1, false), + musicOut, ActionFadeOutMap(100 / actor.speed), }, *************** *** 28,31 **** --- 37,41 ---- ActionSetPosition(actor, self.linkedPortal.x, self.linkedPortal.y), ActionParallel{ + musicIn, ActionFadeInMap(100 / actor.speed), ActionSequence{ Index: RestPlace.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/RestPlace.lua,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RestPlace.lua 2 Jan 2004 07:38:04 -0000 1.2 --- RestPlace.lua 3 Jan 2004 00:16:32 -0000 1.3 *************** *** 26,29 **** --- 26,30 ---- defaultproperties = { mapNameBitmap = m_get_bitmap("restplace.tga"), + musicFilename = "data/music/4.ogg", } } |
From: <b_l...@us...> - 2004-01-03 00:16:41
|
Update of /cvsroot/moeng/BBRpg/src In directory sc8-pr-cvs1:/tmp/cvs-serv27577/src Modified Files: rpg.cpp Log Message: Many music updates, please test a bit. Sequences will need updating. Index: rpg.cpp =================================================================== RCS file: /cvsroot/moeng/BBRpg/src/rpg.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** rpg.cpp 9 Dec 2003 21:23:06 -0000 1.5 --- rpg.cpp 3 Jan 2004 00:16:32 -0000 1.6 *************** *** 82,85 **** --- 82,86 ---- install_timer(); three_finger_flag = 0; + set_display_switch_mode(SWITCH_BACKAMNESIA); //register_datafile_object(DAT_MAPDATA, load_tiledmapdata, destroy_tiledmapdata); |
From: <geo...@us...> - 2004-01-02 23:50:56
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv22519/scripts Modified Files: BBRpgLang.lua Added Files: BBRpgLangDutch.lua Log Message: - Added a Dutch translation of the conversations - Corrected some erorrs in the English version --- NEW FILE: BBRpgLangDutch.lua --- -- -- This object holds written text, to easy translation of the game. -- import("Lang.lua") BBRpgLang = Lang:subclass { name = "BBRpgLang"; vars = { PLAYER = "Elwood", PLAY = "Play", CREDITS = "Credits", QUIT = "Quit", CONTINUE = "Continue", }; convs = { -- Conversations. Used in sequences. Intro1 = { {"Mr. Prosser", "Gevangene drie van de 5. Goed gedrag. Hier zijn je bezittingen: Een Timex digitaal horloge, kapot. Een ongebruikt condoom. Een gebruikt. <pause> Een zonnebril. Drieentwintig euro en zeven cent. Wilt u hier even tekenen?"}, }, Intro2 = { {"Guard", "Deze kant op."}, }, Intro3 = { {"Elwood", "Bedankt voor jullie gastvrijheid."}, {"Guard", "Geen dank. Ik hoop voor je dat ik je hier niet meer terug zie."}, {"Elwood", "Wie weet..."}, }, Intro4 = { {"Jake", "Elwood, hier sta ik!"}, }, Intro5 = { {"Elwood", "Jake, ik snap hier niets van!"}, {"Jake", "Waar heb je het over?"}, {"Elwood", "Dit! Net alsof ik dit al een keer eerder meegemaakt heb!"}, {"Jake", "Je hebt gewoon een deja-vu."}, {"Elwood", "Nee, het is alsof..."}, {"Jake", "Kun je niet gewoon je bek houden en in de auto stappen?!"}, {"Elwood", "Okee, maar wat is dit?"}, {"Jake", "Wat?"}, {"Elwood", "Deze auto. Deze kutauto. Waar is de Cadillac? De Caddy? Waar is de Caddy?"}, {"Jake", "De wat?"}, {"Elwood", "De Cadillac die we vroeger hadden. Ons Blues Mobiel!"}, {"Jake", "Oh, die heb ik geruild."}, {"Elwood", "Voor een microfoon?"}, {"Jake", "Precies, maar hoe wist je..."}, {"Elwood", "Een wilde gok."}, {"Jake", "... Laten we in de auto stappen."}, }, Intro5a = { {"Jake","Hier, neem deze walkie talkie. Die zullen we nodig hebben.."}, }, Intro6 = { {"Elwood", "Niet te geloven, deze zijn nog groter dan de GSM's die ze in de X-files gebruiken..."}, {"Jake", "Luister, we hebben belangrijke dingen te doen."}, {"Elwood", "Ja! Weer een band beginnen!"}, {"Jake", "Nee, dat deden we de laatste keer weet je nog?"}, {"Elwood", "Waar heb je het over?"}, {"Jake", "Ach, laat maar zitten."}, {"Elwood", "Maar..."}, {"Jake", "Luister eikel: we moeten Brian redden."}, {"Elwood", "Wie?"}, {"Jake", "Brian."}, {"Elwood", "Wie?"}, {"Jake", "ONZE BROER BRIAN!"}, {"Elwood", "Onze broer Brian? Maar we hebben geen andere broer! Helemaal geen Brian!"}, {"Jake", "Hij is geadopteerd, nou je bek houden en me uit laten spreken!"}, {"Elwood", "Ik kan maar niet begrijpen dat onze ouders het ons nooit verteld hebben..."}, {"Jake", "Het jou nooit verteld hebben..."}, {"Elwood", "Wat?"}, {"Jake", "Ik kan maar niet begrijpen dat onze ouders het JOU nooit verteld hebben..."}, {"Elwood", "Je bedoeld dat jij het altijd al geweten hebt?"}, {"Jake", "Ja, maar laat je me nou eindelijk een keer uitspreken?!"}, {"Jake", "Maar goed, onze broer Brian, ook wel bekend als The Brain, is twee weken geleden gearresteerd terwijl hij met een gestolen creditcard mini-raket motoren in een hobbywinkel kocht voor zijn mini versie van de Columbia Ruimteveer met schaal een op honderd, gemaakt van alleen maar mini-raket motoren, ducktape, gebruikte walkmans, oude houten ijsstokjes, fietsen en een autoband."}, {"Elwood", "Een op 100? That is nog behoorlijk groot."}, {"Jake", "Ja, ik weet het. Maar goed, we moeten hem bevrijden! De wereldvrede staat hier op het spel!"}, {"Elwood", "Ik vrees dat ik het belang hiervan nog niet zo in de gaten heb..."}, {"Jake", "Kijk, Brian, alias The Brain, is lid van de Internationale Schaak Club. Een vriend van hem, ook lid van deze Schaak Club, wil met deze miniversie van de Columbia ruimteveer een miniatuur aanvalssateliet lanceren om de Chinese aanvalssateliet die gericht is op Washington aan te vallen, en op deze manier de Vierde Werelde Oorlog voorkomen."}, {"Elwood", "Derde. De Derde Wereld Oorlog. Er zijn er maar twee geweest Jake."}, {"Jake", "O ja? En hoe zit het dan met al die kroegengevechten die we hebben mee gemaakt? Alleen maar buitenlanders daar."}, {"Elwood", "Dat is waar..."}, {"Jake", "Dus, als we niet onze grote broer redden betekent dat het einde!"}, {"Elwood", "GROTE broer? Nu vertel je me dat hij ouders is dan ons, hetgeen betekent dat hij nog voor onze geboorte geadopteerd is."}, {"Jake", "Ja."}, }, Intro7 = { {"Jake", "Nou daar zijn we dan!"}, {"Elwood", "Waar zijn we?"}, {"Jake", "In mijn wijk! Mijn apartement is daar!"}, {"Elwood", "Okee, aan de slag dan maar."}, }, WhereKeys = { {"Jake", "Elwood, heb ik mijn sleutels aan jou gegeven?"}, {"Elwood", "Deed je dat niet?"}, {"Jake", "Deed ik dat?"}, {"Elwood", "Nee."}, {"Jake", "Die moeten we eerst vinden. Mijn koevoet ligt in mijn huis. Die zullen we nodig hebben."}, }, AtJakesPlace = { {"Jake", "Welkom in Case-del-Jake!"}, {"Elwood", "Man, het stinkt hier..."}, {"Elwood", "Letterlijk."}, {"Jake", "Echt waar? Nooit opgemerkt."}, }, AtJakesPlace2 = { {"Elwood", "Wat een zootje hier."}, {"Jake", "It's better than the hellhole you lived in the past couple of years."}, }, FindKeyFob = { {"{PLAYER}", "Daar ligt ie! I zie de sleutelbos!"}, {"Jake", "We hebben mijn gelukssleutelbos!"}, {"Elwood", "Dus je probeert me duidelijk te maken dat dit allemaal was om jouw tentakelsleutelbos te vinden?"}, {"Jake", "Ja! Hij is speciaal voor mij! Hij brengt me geluk!"}, {"Elwood", "Noem je dit geluk?"}, {"Jake", "Hou je kop."}, }, FindBrian1Jake = { {"Jake", "Brian!"}, {"Brian", "Jake!"}, {"Jake", "Hier, pak deze walkie talkie om met ons te kunnen praten."}, }, FindBrian2Jake = { {"Brian", "Ons?"}, {"Elwood", "Brian!"}, {"Brian", "Wie ben jij?"}, {"Elwood", "Ik ben je andere broer!"}, {"Brian", "Ik heb een andere broer?"}, {"Jake", "Ja, hij is geadopteerd."}, {"Elwood", "Wat?"}, {"Brian", "Ik kan maar niet begrijpen dat onze ouders het ons nooit verteld hebben."}, {"Jake", "Het jou nooit verteld hebben."}, {"Brian", "Wat?"}, {"Jake", "Ik kan maar niet begrijpen dat onze ouders het JOU nooit verteld hebben <zucht>."}, {"Brian", "Je wist het?"}, {"Brian", "Maar aan de andere kant, ik kan ook niet begrijpen dat onze ouders hem nooit verteld hebben dat hij geadopteerd is."}, {"Elwood", "Jij bent degene die geadopteerd is, ik ben een echte Blues Brother!"}, {"Jake", "Zouden jullie allebei je kop kunnen houden? Laten we hier wegwezen."}, }, FindBrian1Elwood = { {"Elwood", "Brian!"}, {"Brian", "Wie ben jij? Je lijkt net een kleine vette kopie van Jake."}, {"Elwood", "Ik ben je andere broer!"}, {"Brian", "Ik heb een andere broer?"}, {"Elwood", "Als je het niet geloofd dan kun je het aan Jake vragen met deze walkie talkie."}, }, FindBrian2Elwood = { {"Jake", "Brian!"}, {"Brian", "Heb ik een andere broer?"}, {"Jake", "Ja, hij is geadopteerd."}, {"Elwood", "Wat?"}, {"Brian", "Ik kan maar niet begrijpen dat onze ouders het ons nooit verteld hebben."}, {"Jake", "Het jou nooit verteld hebben."}, {"Brian", "Wat?"}, {"Jake", "Ik kan maar niet begrijpen dat onze ouders het JOU nooit verteld hebben <zucht>."}, {"Brian", "Je wist het?"}, {"Brian", "Maar aan de andere kant, ik kan ook niet begrijpen dat onze ouders hem nooit verteld hebben dat hij geadopteerd is."}, {"Elwood", "Jij bent degene die geadopteerd is, ik ben een echte Blues Brother!"}, {"Jake", "Zouden jullie allebei je kop kunnen houden? Laten we hier wegwezen."}, }, EscapedInAppartment = { {"Brian", "Ongelofelijk, wat een rotzooi hier!"}, {"Elwood", "Dat heb ik hem ook al verteld. Hij noemt dit 'geluk'."}, {"Brian", "Misschien is hij degene die geadopteerd is."}, {"Jake", "Wat?"}, {"Elwood", "Niets."}, {"Brian", "Okee, terzake. We moeten het uitbreken van de Vierde Wereld Oorlog voorkomen."}, {"Elwood", "Maar hoe?"}, {"Brian", "Alles wat ik nodig heb zijn mijn mini-raket motoren, zodat ik ze aan Lee kan geven."}, {"Jake", "Wie is Lee?"}, {"Brian", "Hij is degene die de mini-raket gaat lanceren."}, {"Elwood", "Ach natuurlijk, Lee!"}, {"Jake", "Aha, en waar zijn de mini-raket motoren?"}, {"Brian", "Ehm, ja, dat is misschien een probleempje. Die heb ik verstop in een bult rotzooi vlak voordat ik opgepakt werd door de politie..."}, {"Elwood", "Nou dat is weer geweldig. En hoe gaan we die dan terug vinden?"}, {"Brian", "Ik denk dat we maar eens moeten gaan zoeken."} }, FindMiniRocketEngines = { {"{PLAYER}", "Ik heb ze gevonden. De mini-raket motoren liggen hier."}, {"Brian", "Okee, dat is geweldig. Laten we naar Lee gaan en ze aan hem geven. Hij leeft in het zuidwestestelijke gedeelte aan de 'Planetenlaan 192'."}, {"Jake", "Okee."}, {"Elwood", "Tot daar."}, }, Ending1 = { {"Brian", "Lee!"}, {"Lee", "Hallo daar."}, {"Elwood", "Dit is Lee?"}, {"Jake", "Aannemende dat Brian de man kent, en dat Brian hem Lee noemt zit het er dik in dat het Lee is."}, {"Lee", "Inderdaad, Ik ben degene die Lee genoemd wordt."}, {"Brian", "We hebben de mini-raket motoren voor de miniversie van de Columbia ruimteveer die een miniaanval gaat uitvoeren en daarmee de Vierde Wereld Oorlog gaat voorkomen! Alstjeblieft!"}, }, Ending2 = { {"Lee", "Okee, fantastisch! Trouwens, het is de Vijfde Wereld Oorlog."}, {"Elwood", "Oh nee, niet weer..."}, {"Jake", "Vijfde? Kroegengevechten?"}, {"Lee", "Inderdaad."}, {"Elwood", "Nou?"}, {"Jake", "Nou wat?"}, {"Elwood", "Moet Lee niet aan het werk, terwijl wij naar huis gaan, vergeten dat deze akelige missie ooit gebeurd is, en muziek maken?"}, {"Jake", "Goed idee."}, {"Elw00t", "Waarom beginnen we niet met zijn drieen een band?"}, }, WallAndTubeElwood = { {"{PLAYER}", "Ik pas niet in deze buis. Hij is veel te smal!"}, }, WallAndTube1 = { {"{PLAYER}", "Ik kruip naar de andere kant van de buis."}, }, WallAndTube2 = { {"{PLAYER}", "Gelukkig, een uitgang."}, }, TooDangerous = { {"{PLAYER}", "Ik kan maar beter bij die lui uit de buurt blijven..."}, }, RemovePutdeksel = { {"{PLAYER}", "Ah ja, hij beweegt... Gelukkig hebben we de kaarten van het riool goed bekeken."}, }, CantRemovePutdeksel = { {"{PLAYER}", "Ik krijg hem niet in beweging. Ik denk dat ik een stuk gereedschap nodig heb om hem te bewegen."}, }, Crowbar = { {"{PLAYER}", "Daar is een koevoet."}, {"Jake", "Dat is geweldig. Die zullen we nodig hebben om het riool in te komen."}, {"Elwood", "Wat? Het riool?!"}, {"Jake", "Ja, wat anders? Klop jij liever aan bij de hoofdingang?"}, {"Elwood", "Waarom niet, ik doe alles om mijn mijn grote broer te bevrijden, die ik in mijn hele leven nog nooit gezien heb, en waarvan ik denk dat hij gestoord is omdat hij een miniversie van de Columbia ruimteveer gebouwd heeft."}, {"Jake", "Ja, zo mag ik het horen. Laten we Brian the Brain bevrijden!"}, }, JakesDoorLocked = { {"{PLAYER}", "Deze deur zit op slot. Ik moet eerst een sleutel vinden."}, }, FightGuards = { {"{PLAYER}", "Hallo lui, stoor ik? Ik ben op zoek naar iemand."}, {"Guard 1", "Wat?! Wat doe je hier! Doe de deur op slot!"}, {"Guard 2", "Bereid jezelf maar voor op een gevecht."}, }, BedTiredBefore = { {"{PLAYER}", "Pfff, ik ben bekaf. Even een tukkie doen."}, }, BedTiredAfter = { {"{PLAYER}", "Ah, dat was geweldig."}, }, BedAwake = { {"{PLAYER}", "Ik kan hier altijd terug komen om even een tukkie te doen."}, }, BedOccupied = { {"{PLAYER}", "Ik ga niet samen met hem in een bed slapen!"}, }, PrisonDoorLocked = { {"{PLAYER}", "Deze deur zit op slot."}, }, MessPileNoEngines = { {"{PLAYER}", "Dit is een grote berg rotzooi."}, }, PushButton = { {"{PLAYER}", "Ik druk deze knop in."}, }, ButtonOutOfReach = { {"{PLAYER}", "Ik kan vanaf hier niet bij de knoppen."}, }, PrisonDoorButtonOpen = { {"{PLAYER}", "*KLIK* Nu zit de deur waar ik naar binnenkwam niet meer op slot."}, }, PrisonDoorButtonClose = { {"{PLAYER}", "*KLIK* Nu zit de deur waar ik naar binnenkwam weer op slot."}, }, BrianDoorButtonOpen = { {"{PLAYER}", "*KLIK* De lampjes lijken aan te geven dat ik net Brians deur heb opengedaan."}, }, BrianDoorButtonClose = { {"{PLAYER}", "*KLIK* De lampjes lijken aan te geven dat ik net Brians deur heb dichtgedaan."}, }, LeverElwood = { {"{PLAYER}", "Een, twee, drie!"}, }, LeverNotElwood = { {"{PLAYER}", "Aargh, deze hendel is roestig. Ik krijg hem niet om. Misschien lukt Elwood dit."}, }, -- Conversation tables. Used for random events. Guitar = { {{"{PLAYER}", "Het is een gitaar!"}}, {{"{PLAYER}", "Als we niet probeerden de Vierde Wereld Oorlog te voorkomen zou ik er nu meteen op gaan spelen."}}, {{"{PLAYER}", "Dit lijkt me niet echt een voorwerp dat we dit nodig hebben voor onze missie."}}, }, Keyboard = { {{"{PLAYER}", "Laten we wat muziek maken!."}}, {{"{PLAYER}", "Het is een keyboard."}}, {{"{PLAYER}", "Het is te groot om mee te nemen."}}, }, Poster = { {{"{PLAYER}", "Het is een poster."}}, {{"{PLAYER}", "Het is een poster met een combinatie van hele kleine puntjes. Sommige zijn groen, sommige zijn rood. Andere zijn blauw. Het doel is dat het op afstand een beeld van iets herkenbaars vormt."}}, }, Washstand = { {{"{PLAYER}", "Het is een wastafel."}}, }, Toilet = { {{"{PLAYER}", "Het is een toilet, en ongelofelijk vies."}}, }, Clock = { {{"{PLAYER}", "Het is een klok."}}, }, Car = { {{"{PLAYER}", "Mooie auto."}}, }, Car2 = { {{"{PLAYER}", "Deze auto is vernield. O nee, nu moet ik weer aan onze oude Caddy denken..."}}, }, DoorLocked = { {{"{PLAYER}", "Deze deur zit op slot."}}, {{"{PLAYER}", "Hij zit op slot."}}, }, CantPassFence = { {{"{PLAYER}", "Ik kan niet langs dit hek."}}, }, LadderOut = { {{"{PLAYER}", "Eindelijk een weg naar buiten!"}}, {{"{PLAYER}", "Laten we gaan!"}}, }, LadderIn = { {{"{PLAYER}", "Oh nee, we gaan niet terug."}}, {{"{PLAYER}", "Dit is de verkeerde weg om eruit te komen."}}, }, Dustbin = { {{"{PLAYER}", "Een prullenbak, daar kunnen de prullen in."}}, {{"{PLAYER}", "Welke idioot plaatst een prullenbak midden op de stoep?"}}, }, Sunflower = { {{"Mr. Prosser", "Het is de beroemde Zonnebloem van Vincent van Gogh."}}, {{"Mr. Prosser", "Betoverend, niet?"}}, {{"Mr. Prosser", "Raak hem niet aan."}}, }, Sunflower2 = { {{"{PLAYER}", "Nog een zonnebloem van Van Gogh?!"}}, {{"{PLAYER}", "Dit is raar..."}}, }, MessPile = { {{"{PLAYER}", "Dat is een stapel die moeilijk op te ruimen is..."}}, }, Soap = { {{"{PLAYER}", "Er ligt een zeep op de grond."}}, {{"{PLAYER}", "Oh nee. Dit is een klassieker. Hier trap ik niet in."}}, {{"{PLAYER}", "Het is een zeep."}}, }, ChristmasTree = { {{"{PLAYER}", "Dat is een grote kerstboom!"}}, }, }; } Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** BBRpgLang.lua 2 Jan 2004 23:06:55 -0000 1.25 --- BBRpgLang.lua 2 Jan 2004 23:50:51 -0000 1.26 *************** *** 10,23 **** vars = { PLAY = "Play", CREDITS = "Credits", QUIT = "Quit", CONTINUE = "Continue", - OPTIONS = "Options", - LANGUAGE = "Language", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { {"Mr. Prosser", "Standard parole 3 out of 5. Good behavior."}, --- 10,22 ---- vars = { + PLAYER = "Elwood", PLAY = "Play", CREDITS = "Credits", QUIT = "Quit", CONTINUE = "Continue", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { {"Mr. Prosser", "Standard parole 3 out of 5. Good behavior."}, *************** *** 78,82 **** {"Elwood", "You mean you knew it all the time?"}, {"Jake", "Yes, but will you please shut up and let me speak!?"}, ! {"Jake", "Now, our Brother Brian, alias The Brain, was arrested 2 weeks ago while trying to buy mini-rocket motors in a hobby shop for his 1/100th scale version of the Columbia Spaceshuttle made entirely from mini-rocket engines, ducktape, used walkmans, old wooden popstickles, bicycles and a front-left-car-tire with a stolen creditcard."}, {"Elwood", "1/100th? That's quite big."}, {"Jake", "Yes I know, it took him three years just to make a solidrocketbooster suspension handle for the external fueltank."}, --- 77,81 ---- {"Elwood", "You mean you knew it all the time?"}, {"Jake", "Yes, but will you please shut up and let me speak!?"}, ! {"Jake", "Now, our Brother Brian, alias The Brain, was arrested 2 weeks ago while trying to buy mini-rocket motors in a hobby shop for his 1/100th scale version of the Columbia Spaceshuttle made entirely from mini-rocket engines, ducktape, used walkmans, old wooden popsicle sticks, bicycles and a front-left-car-tire with a stolen creditcard."}, {"Elwood", "1/100th? That's quite big."}, {"Jake", "Yes I know, it took him three years just to make a solidrocketbooster suspension handle for the external fueltank."}, *************** *** 90,97 **** {"Elwood", "Ah, I see."}, {"Jake", "No, ICC."}, ! {"Jake", "A friend of Brian, also member of ICC, and owner of a Wall Mart discount plus deluxe card, had asked Brian to get him a 1/100th scale version of the Columbia Spaceshuttle (..)."}, ! {"Elwood", "Wait a minute, what does Wall Mart have to do with this?"}, ! {"Jake", "Nothing, I just remembered that we need to do some shopping later."}, ! {"Jake", "Let me continue. With this 1/100th scale version of the Columbia spaceshuttle, Brian's friend will launch a miniature attack satelite to attack the China-Attack-Satelite-Aimed-At-Washington thus preventing the Fourth World War!"}, {"Elwood", "Third. Third World War. There've been only two Jake."}, {"Jake", "What about all the barfights we used to be in? Nothing but foreigners there."}, --- 89,93 ---- {"Elwood", "Ah, I see."}, {"Jake", "No, ICC."}, ! {"Jake", "A friend of Brian, also member of ICC, had asked Brian to get him a 1/100th scale version of the Columbia Spaceshuttle (..). With this 1/100th scale version of the Columbia spaceshuttle, Brian's friend will launch a miniature attack satelite to attack the China-Attack-Satelite-Aimed-At-Washington thus preventing the Fourth World War!"}, {"Elwood", "Third. Third World War. There've been only two Jake."}, {"Jake", "What about all the barfights we used to be in? Nothing but foreigners there."}, *************** *** 121,129 **** }, AtJakesPlace2 = { ! {"Jake", "This place is a dumb."}, ! {"Elwood", "It's better than the hellhole you lived in the past couple of years."}, }, FindKeyFob = { ! {"Jake", "There it is! My lucky key fob!"}, {"Elwood", "You're telling me we went through all this trouble just to get your tentacle key fob?"}, {"Jake", "Yes! It's very special to me! It brought me luck!"}, --- 117,126 ---- }, AtJakesPlace2 = { ! {"Elwood", "This place is a dumb."}, ! {"Jake", "It's better than the hellhole you lived in the past couple of years."}, }, FindKeyFob = { ! {"{PLAYER}", "There it is! I see the key fob!"}, ! {"Jake", "We have my lucky key fob!"}, {"Elwood", "You're telling me we went through all this trouble just to get your tentacle key fob?"}, {"Jake", "Yes! It's very special to me! It brought me luck!"}, *************** *** 184,188 **** {"Brian", "Al I need are my mini-rocket engines, and give them to Lee!"}, {"Jake", "Who's Lee?"}, ! {"Brian", "He's the one with the Wall Mart Discount Plus Deluxe Card."}, {"Elwood", "Ofcourse, Lee!"}, {"Jake", "And where are the mini-rocket engines?"}, --- 181,185 ---- {"Brian", "Al I need are my mini-rocket engines, and give them to Lee!"}, {"Jake", "Who's Lee?"}, ! {"Brian", "He's the one who is going to launch the mini attack satelite."}, {"Elwood", "Ofcourse, Lee!"}, {"Jake", "And where are the mini-rocket engines?"}, *************** *** 323,327 **** }, Car2 = { ! {{"{PLAYER}", "This car is trashed. Oh no, now I have to think of our old caddy again..."}}, }, DoorLocked = { --- 320,324 ---- }, Car2 = { ! {{"{PLAYER}", "This car is trashed. Oh no, now I have to think of our old Caddy again..."}}, }, DoorLocked = { |
From: <b_l...@us...> - 2004-01-02 23:07:02
|
Update of /cvsroot/moeng/BBRpg/src In directory sc8-pr-cvs1:/tmp/cvs-serv14453/src Modified Files: sound.cpp Log Message: Mostly music stuff, fading working again. Index: sound.cpp =================================================================== RCS file: /cvsroot/moeng/BBRpg/src/sound.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sound.cpp 2 Jan 2004 00:03:01 -0000 1.4 --- sound.cpp 2 Jan 2004 23:06:56 -0000 1.5 *************** *** 30,33 **** --- 30,34 ---- int voice; struct alogg_stream *stream; + AUDIOSTREAM *ass; } channels[CHANNELS]; *************** *** 58,61 **** --- 59,63 ---- channels[i].sample = NULL; channels[i].stream = NULL; + channels[i].ass = NULL; } } *************** *** 89,92 **** --- 91,95 ---- */ channels[channel].stream = alogg_start_streaming(filename, BLOCK_SIZE); + channels[channel].ass = alogg_get_audio_stream(channels[channel].stream); if (!channels[channel].stream) { fprintf(stderr,"Error opening %s\n", filename); *************** *** 124,128 **** int l_adjust_channel(lua_State *L) { - /* int channel, vol, pan, speed; getLuaArguments(L, "iiii", &channel, &vol, &pan, &speed); --- 127,130 ---- *************** *** 132,136 **** if (sound_enabled) { if (channel < 0 || channel > CHANNELS) {error = "invalid channel";} ! else if (channels[channel].sample) {error = "no music on this channel to adjust";} else if (vol < 0 || vol > 255) {error = "illegal volume value";} else if (pan < 0 || pan > 255) {error = "illegal panning value";} --- 134,138 ---- if (sound_enabled) { if (channel < 0 || channel > CHANNELS) {error = "invalid channel";} ! else if (!channels[channel].ass) {error = "no music on this channel to adjust";} else if (vol < 0 || vol > 255) {error = "illegal volume value";} else if (pan < 0 || pan > 255) {error = "illegal panning value";} *************** *** 138,142 **** if (error == NULL) { ! voice_set_volume(channels[channel].voice, vol); //alogg_adjust_oggstream(ogg[channel]->s, vol, pan, speed); //console.log(CON_LOG | CON_CONSOLE, CON_ALWAYS, "Adjusted channel parameters (%d, %d, %d, %d)", channel, vol, pan, speed); --- 140,144 ---- if (error == NULL) { ! voice_set_volume(channels[channel].ass->voice, vol); //alogg_adjust_oggstream(ogg[channel]->s, vol, pan, speed); //console.log(CON_LOG | CON_CONSOLE, CON_ALWAYS, "Adjusted channel parameters (%d, %d, %d, %d)", channel, vol, pan, speed); *************** *** 145,149 **** } } ! */ return 0; } --- 147,151 ---- } } ! return 0; } *************** *** 194,197 **** --- 196,200 ---- alogg_stop_streaming(channels[channel].stream); channels[channel].stream = NULL; + channels[channel].ass = NULL; } } *************** *** 223,226 **** --- 226,230 ---- if (ret == 0) { channels[i].stream = NULL; // end of stream + channels[i].ass = NULL; break; } |
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv14453/data/scripts Modified Files: BBRpg.lua BBRpgLang.lua Cells.lua City.lua MainMenu.lua Sewers.lua SubcityObjects.lua Log Message: Mostly music stuff, fading working again. Index: BBRpg.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpg.lua,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** BBRpg.lua 2 Jan 2004 07:38:04 -0000 1.23 --- BBRpg.lua 2 Jan 2004 23:06:55 -0000 1.24 *************** *** 87,91 **** ActionController:addSequence{ ActionExModeOn(), ! --ActionPlaySong("data/music/bb1.ogg", 200), ActionTweenVariable(main_menu_bg, "alpha", 200, 255), ActionPlaySample("bbsfx_hit1.wav"), --- 87,91 ---- ActionController:addSequence{ ActionExModeOn(), ! ActionPlaySong("data/music/3.ogg", 200), ActionTweenVariable(main_menu_bg, "alpha", 200, 255), ActionPlaySample("bbsfx_hit1.wav"), Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** BBRpgLang.lua 2 Jan 2004 17:53:36 -0000 1.24 --- BBRpgLang.lua 2 Jan 2004 23:06:55 -0000 1.25 *************** *** 10,22 **** vars = { - PLAYER = "Elwood", PLAY = "Play", CREDITS = "Credits", QUIT = "Quit", CONTINUE = "Continue", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { {"Mr. Prosser", "Standard parole 3 out of 5. Good behavior."}, --- 10,23 ---- vars = { PLAY = "Play", CREDITS = "Credits", QUIT = "Quit", CONTINUE = "Continue", + OPTIONS = "Options", + LANGUAGE = "Language", }; convs = { ! -- Conversations. Used in sequences. Intro1 = { {"Mr. Prosser", "Standard parole 3 out of 5. Good behavior."}, Index: Cells.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Cells.lua,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Cells.lua 2 Jan 2004 06:04:22 -0000 1.14 --- Cells.lua 2 Jan 2004 23:06:55 -0000 1.15 *************** *** 192,195 **** --- 192,196 ---- defaultproperties = { mapNameBitmap = m_get_bitmap("prison.tga"), + musicFilename = "data/music/1.ogg", } } Index: City.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/City.lua,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** City.lua 2 Jan 2004 07:38:04 -0000 1.17 --- City.lua 2 Jan 2004 23:06:55 -0000 1.18 *************** *** 82,85 **** --- 82,86 ---- defaultproperties = { mapNameBitmap = m_get_bitmap("suburbs.tga"), + musicFilename = "data/music/4.ogg", } } Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** MainMenu.lua 2 Jan 2004 08:35:15 -0000 1.26 --- MainMenu.lua 2 Jan 2004 23:06:55 -0000 1.27 *************** *** 16,22 **** --- 16,25 ---- local startSequence = { + ActionFadeOutMusic(50), ActionFadeOutMap(50), + ActionWait(100), ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionSetVariable(_G, "show_main_menu", nil), + ActionPlaySong("data/music/2.ogg", 100), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("prison.tga")), Index: Sewers.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Sewers.lua,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Sewers.lua 2 Jan 2004 07:38:04 -0000 1.15 --- Sewers.lua 2 Jan 2004 23:06:55 -0000 1.16 *************** *** 57,60 **** --- 57,61 ---- defaultproperties = { mapNameBitmap = m_get_bitmap("sewers.tga"), + musicFilename = "data/music/5.ogg", } } Index: SubcityObjects.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/SubcityObjects.lua,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** SubcityObjects.lua 2 Jan 2004 06:41:03 -0000 1.36 --- SubcityObjects.lua 2 Jan 2004 23:06:55 -0000 1.37 *************** *** 63,68 **** ActionController:addSequence{ ActionSetVariable(self, "snowfalling", true), ! ActionTweenVariable(self.snowTop, "offset_z", 20, 4), ! ActionSetVariable(self.snowTop, "offset_z", 24), ActionChangeBitmap(self.snowTop, m_get_bitmap("dustbin_snow3.bmp")), ActionTweenVariable(self.snowTop, "alpha", 300, 0), --- 63,68 ---- ActionController:addSequence{ ActionSetVariable(self, "snowfalling", true), ! ActionTweenVariable(self.snowTop, "offset_z", 20, -6), ! ActionSetVariable(self.snowTop, "offset_z", 14), ActionChangeBitmap(self.snowTop, m_get_bitmap("dustbin_snow3.bmp")), ActionTweenVariable(self.snowTop, "alpha", 300, 0), *************** *** 91,96 **** defaultproperties = { ! offset_z = 24, ! offset_y = 20, offset_x = -7, alpha = 255, --- 91,96 ---- defaultproperties = { ! offset_z = 14, ! offset_y = 10, offset_x = -7, alpha = 255, |
From: <geo...@us...> - 2004-01-02 17:53:41
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv19655/scripts Modified Files: BBRpgLang.lua Log Message: - Corrected some spelling mistakes and neighbourhood -> neighborhood. The Blues Brothers live in America, right? Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** BBRpgLang.lua 2 Jan 2004 17:46:12 -0000 1.23 --- BBRpgLang.lua 2 Jan 2004 17:53:36 -0000 1.24 *************** *** 29,33 **** Intro3 = { {"Elwood", "Thank you for your hospitality."}, ! {"Guard", "You're welcome. I hope for you I won't see you again."}, {"Elwood", "We'll see..."}, }, --- 29,33 ---- Intro3 = { {"Elwood", "Thank you for your hospitality."}, ! {"Guard", "You're welcome. For your sake, I hope I won't lay eyes on you again."}, {"Elwood", "We'll see..."}, }, *************** *** 103,107 **** {"Jake", "So, here we are!"}, {"Elwood", "Where are we?"}, ! {"Jake", "My neighbourhood! My appartement is right over there!"}, {"Elwood", "Let's get to work."}, }, --- 103,107 ---- {"Jake", "So, here we are!"}, {"Elwood", "Where are we?"}, ! {"Jake", "My neighborhood! My apartment is right over there!"}, {"Elwood", "Let's get to work."}, }, |
From: <b_l...@us...> - 2004-01-02 17:46:16
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv18281/data/scripts Modified Files: BBRpgLang.lua Junk.lua Punk.lua Rat.lua Log Message: Junk & Punk fixes, and added hint to keyfob location. Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** BBRpgLang.lua 2 Jan 2004 08:35:15 -0000 1.22 --- BBRpgLang.lua 2 Jan 2004 17:46:12 -0000 1.23 *************** *** 111,115 **** {"Jake", "Did I?"}, {"Elwood", "No."}, ! {"Jake", "Well, we must find them. My crowbar is in my house. We'll need it."}, }, AtJakesPlace = { --- 111,115 ---- {"Jake", "Did I?"}, {"Elwood", "No."}, ! {"Jake", "Hmm, they must have fallen out of my pockets while I was taking a stroll before picking you up. We must find them, my crowbar is in my house. We'll need it."}, }, AtJakesPlace = { Index: Junk.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Junk.lua,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Junk.lua 1 Jan 2004 17:39:40 -0000 1.2 --- Junk.lua 2 Jan 2004 17:46:12 -0000 1.3 *************** *** 9,14 **** --- 9,16 ---- defaultproperties = { speed = 2, + experience = 40, draw_mode = DM_MASKED, charAnim = extr_char_anim(m_get_bitmap("junk.bmp"), 23, 40), + deathBitmap = m_get_bitmap("junk_dead.bmp"), }; } Index: Punk.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Punk.lua,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Punk.lua 1 Jan 2004 17:39:40 -0000 1.3 --- Punk.lua 2 Jan 2004 17:46:12 -0000 1.4 *************** *** 9,12 **** --- 9,13 ---- defaultproperties = { speed = 2.5, + experience = 50, draw_mode = DM_MASKED, charAnim = extr_char_anim(m_get_bitmap("punk.bmp"), 23, 43), Index: Rat.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Rat.lua,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Rat.lua 2 Jan 2004 07:06:44 -0000 1.13 --- Rat.lua 2 Jan 2004 17:46:12 -0000 1.14 *************** *** 25,30 **** defaultproperties = { ! attackMinDam = 0, ! attackMaxDam = 2, maxHealth = 20, speed = 4, --- 25,30 ---- defaultproperties = { ! attackMinDam = 0, ! attackMaxDam = 2, maxHealth = 20, speed = 4, |
From: <geo...@us...> - 2004-01-02 08:35:19
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv24142/scripts Modified Files: BBRpgLang.lua CellsObjects.lua MainMenu.lua MessPile.lua Log Message: Removed several little bugs Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** BBRpgLang.lua 2 Jan 2004 08:05:43 -0000 1.21 --- BBRpgLang.lua 2 Jan 2004 08:35:15 -0000 1.22 *************** *** 181,185 **** {"Brian", "Okay, let's get to business. We must prevent the outbreak of the Fourth World War!"}, {"Elwood", "But how?"}, ! {"Brian", "Al I need are some mini-rocket engines, and give them to Lee!"}, {"Jake", "Who's Lee?"}, {"Brian", "He's the one with the Wall Mart Discount Plus Deluxe Card."}, --- 181,185 ---- {"Brian", "Okay, let's get to business. We must prevent the outbreak of the Fourth World War!"}, {"Elwood", "But how?"}, ! {"Brian", "Al I need are my mini-rocket engines, and give them to Lee!"}, {"Jake", "Who's Lee?"}, {"Brian", "He's the one with the Wall Mart Discount Plus Deluxe Card."}, Index: CellsObjects.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/CellsObjects.lua,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** CellsObjects.lua 2 Jan 2004 06:30:03 -0000 1.15 --- CellsObjects.lua 2 Jan 2004 08:35:15 -0000 1.16 *************** *** 350,355 **** --- 350,358 ---- ActionSetPosition(brian, 15, 19, DIR_UP, jakesMap), ActionSetPosition(elwood, 16, 19, DIR_UP, jakesMap), + ActionSetVariable(jake, "bSleeping", false), + ActionSetVariable(elwood, "bSleeping", false), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("jakesplace.tga")), + ActionWait(200), ActionConversation(lang:getConv("EscapedInAppartment")), ActionExModeOff(), *************** *** 372,377 **** --- 375,383 ---- ActionSetPosition(brian, 15, 19, DIR_UP, jakesMap), ActionSetPosition(elwood, 16, 19, DIR_UP, jakesMap), + ActionSetVariable(jake, "bSleeping", false), + ActionSetVariable(elwood, "bSleeping", false), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("jakesplace.tga")), + ActionWait(200), ActionConversation(lang:getConv("EscapedInAppartment")), ActionExModeOff(), Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** MainMenu.lua 2 Jan 2004 08:05:43 -0000 1.25 --- MainMenu.lua 2 Jan 2004 08:35:15 -0000 1.26 *************** *** 23,26 **** --- 23,27 ---- ActionWait(300), ActionConversation(lang:getConv("Intro1")), + ActionWait(25), ActionWalkPath(jailMap.guard, "DLD"), ActionSetVariable(elwood, "dir", DIR_DOWN), Index: MessPile.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MessPile.lua,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** MessPile.lua 2 Jan 2004 05:57:34 -0000 1.7 --- MessPile.lua 2 Jan 2004 08:35:15 -0000 1.8 *************** *** 41,44 **** --- 41,47 ---- ActionSetPosition(jake, 31, 20, DIR_UP), ActionSetPosition(elwood, 32, 20, DIR_UP), + ActionSetVariable(jake, "bSleeping", false), + ActionSetVariable(elwood, "bSleeping", false), + ActionSetVariable(brian, "bSleeping", false), ActionFadeInMap(100), ActionShowMapName(m_get_bitmap("leesplace.tga")), |
From: <geo...@us...> - 2004-01-02 08:05:46
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv20294/scripts Modified Files: BBRpgLang.lua EnemyGuard.lua MainMenu.lua Log Message: Making the game ready for a release Index: BBRpgLang.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgLang.lua,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** BBRpgLang.lua 2 Jan 2004 05:57:34 -0000 1.20 --- BBRpgLang.lua 2 Jan 2004 08:05:43 -0000 1.21 *************** *** 225,229 **** }, TooDangerous = { ! {"{PLAYER}", "I'd better not come to near these guys..."}, }, RemovePutdeksel = { --- 225,229 ---- }, TooDangerous = { ! {"{PLAYER}", "I'd better not come too near these guys..."}, }, RemovePutdeksel = { Index: EnemyGuard.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/EnemyGuard.lua,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** EnemyGuard.lua 2 Jan 2004 04:31:18 -0000 1.6 --- EnemyGuard.lua 2 Jan 2004 08:05:43 -0000 1.7 *************** *** 18,25 **** attackMinDam = 0, attackMaxDam = 5, ! ! -- hack ?? !! ! maxHealth = 1, ! health = 1, bDead = false, --- 18,22 ---- attackMinDam = 0, attackMaxDam = 5, ! maxHealth = 70, bDead = false, *************** *** 46,53 **** attackMinDam = 0, attackMaxDam = 5, ! ! -- hack ?? !! ! maxHealth = 1, ! health = 1, bDead = false, --- 43,47 ---- attackMinDam = 0, attackMaxDam = 5, ! maxHealth = 70, bDead = false, *************** *** 74,81 **** attackMinDam = 0, attackMaxDam = 5, ! ! -- hack ?? !! ! maxHealth = 1, ! health = 1, bDead = false, --- 68,72 ---- attackMinDam = 0, attackMaxDam = 5, ! maxHealth = 70, bDead = false, Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** MainMenu.lua 2 Jan 2004 07:38:04 -0000 1.24 --- MainMenu.lua 2 Jan 2004 08:05:43 -0000 1.25 *************** *** 17,30 **** local startSequence = { ActionFadeOutMap(50), - ActionSetVariable(_G, "show_main_menu", nil), - ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), - ActionSetPosition(elwood, 44, 48, DIR_UP, sewersMap), - ActionFadeInMap(50), - ActionExModeOff(), - } - - --[[ - local startSequence = { - ActionFadeOutMap(50), ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ActionSetVariable(_G, "show_main_menu", nil), --- 17,20 ---- *************** *** 32,41 **** ActionShowMapName(m_get_bitmap("prison.tga")), ActionWait(300), ! -- ActionConversation(lang:getConv("Intro1")), ActionWalkPath(jailMap.guard, "DLD"), ActionSetVariable(elwood, "dir", DIR_DOWN), ActionWait(25), ActionSetVariable(jailMap.guard, "dir", DIR_UP), ! -- ActionConversation(lang:getConv("Intro2")), ActionWalkPath(jailMap.guard, "D2"), ActionCallFunction(door1.event_bumped_into, door1), --- 22,31 ---- ActionShowMapName(m_get_bitmap("prison.tga")), ActionWait(300), ! ActionConversation(lang:getConv("Intro1")), ActionWalkPath(jailMap.guard, "DLD"), ActionSetVariable(elwood, "dir", DIR_DOWN), ActionWait(25), ActionSetVariable(jailMap.guard, "dir", DIR_UP), ! ActionConversation(lang:getConv("Intro2")), ActionWalkPath(jailMap.guard, "D2"), ActionCallFunction(door1.event_bumped_into, door1), *************** *** 50,54 **** ActionSetVariable(jailMap.guard, "dir", DIR_LEFT), ActionWait(50), ! -- ActionConversation(lang:getConv("Intro3")), ActionWalkPath(elwood, "D5"), ActionAddSequence{ --- 40,44 ---- ActionSetVariable(jailMap.guard, "dir", DIR_LEFT), ActionWait(50), ! ActionConversation(lang:getConv("Intro3")), ActionWalkPath(elwood, "D5"), ActionAddSequence{ *************** *** 62,66 **** }, ActionWalkPath(elwood, "D3"), ! -- ActionConversation(lang:getConv("Intro4")), ActionSetCameraTarget(dummy, false), ActionTweenVariable(dummy, "y", 200, 114.5), --- 52,56 ---- }, ActionWalkPath(elwood, "D3"), ! ActionConversation(lang:getConv("Intro4")), ActionSetCameraTarget(dummy, false), ActionTweenVariable(dummy, "y", 200, 114.5), *************** *** 72,76 **** ActionWalkPath(elwood, "D"), ActionSetVariable(elwood, "dir", DIR_LEFT), ! -- ActionConversation(lang:getConv("Intro5")), ActionAddSequence{ ActionWalkPath(elwood, "D5L5"), --- 62,66 ---- ActionWalkPath(elwood, "D"), ActionSetVariable(elwood, "dir", DIR_LEFT), ! ActionConversation(lang:getConv("Intro5")), ActionAddSequence{ ActionWalkPath(elwood, "D5L5"), *************** *** 86,92 **** ActionSetPosition(jake, 114, 108, DIR_DOWN), ActionWait(180), ! -- ActionConversation(lang:getConv("Intro5a")), ActionCallFunction(elwood.addToInventory, elwood, cityMap.walkieTalkie), ! -- ActionConversation(lang:getConv("Intro6")), ActionSetVariable(copcar, "tick_time", 5), ActionTweenVariable(copcar, "x", 250, 118, function(from, to, perc) --- 76,82 ---- ActionSetPosition(jake, 114, 108, DIR_DOWN), ActionWait(180), ! ActionConversation(lang:getConv("Intro5a")), ActionCallFunction(elwood.addToInventory, elwood, cityMap.walkieTalkie), ! ActionConversation(lang:getConv("Intro6")), ActionSetVariable(copcar, "tick_time", 5), ActionTweenVariable(copcar, "x", 250, 118, function(from, to, perc) *************** *** 113,117 **** ActionWait(10), ActionSetPosition(jake, 90, 76, DIR_RIGHT), ! -- ActionConversation(lang:getConv("Intro7")), ActionSetCameraTarget(jake, false), ActionParallel{ --- 103,107 ---- ActionWait(10), ActionSetPosition(jake, 90, 76, DIR_RIGHT), ! ActionConversation(lang:getConv("Intro7")), ActionSetCameraTarget(jake, false), ActionParallel{ *************** *** 126,130 **** ActionWait(30), ActionSetVariable(elwood, "dir", DIR_LEFT), ! -- ActionConversation(lang:getConv("WhereKeys")), ActionSetPosition(dummy, 93.5, 72.5), ActionSetCameraTarget(dummy, false), --- 116,120 ---- ActionWait(30), ActionSetVariable(elwood, "dir", DIR_LEFT), ! ActionConversation(lang:getConv("WhereKeys")), ActionSetPosition(dummy, 93.5, 72.5), ActionSetCameraTarget(dummy, false), *************** *** 133,139 **** ActionExModeOff(), } ! ]] self:addMenuItem(GuiMenuItem(lang:getVar("PLAY"), function() self.master:removeInteraction(self); ActionController:addSequence(startSequence); end)) ! self:addMenuItem(GuiMenuItem(lang:getVar("CREDITS"), function() self.master:removeInteraction(self); m_quit_game() end)) self:addMenuItem(GuiMenuItem(lang:getVar("QUIT"), function() self.master:removeInteraction(self); m_quit_game() end)) end; --- 123,129 ---- ActionExModeOff(), } ! self:addMenuItem(GuiMenuItem(lang:getVar("PLAY"), function() self.master:removeInteraction(self); ActionController:addSequence(startSequence); end)) ! -- self:addMenuItem(GuiMenuItem(lang:getVar("CREDITS"), function() self.master:removeInteraction(self); m_quit_game() end)) self:addMenuItem(GuiMenuItem(lang:getVar("QUIT"), function() self.master:removeInteraction(self); m_quit_game() end)) end; |
From: <b_l...@us...> - 2004-01-02 07:52:46
|
Update of /cvsroot/moeng/BBRpg/data/maps In directory sc8-pr-cvs1:/tmp/cvs-serv18341/data/maps Modified Files: city1.map Log Message: Irrelevant obstacle layer changes Index: city1.map =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/maps/city1.map,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvsyVVnMT and /tmp/cvsYrv54C differ |
From: <b_l...@us...> - 2004-01-02 07:52:46
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv18341/data/scripts Modified Files: BBRpgHud.lua Log Message: Irrelevant obstacle layer changes Index: BBRpgHud.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpgHud.lua,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** BBRpgHud.lua 2 Jan 2004 04:44:44 -0000 1.8 --- BBRpgHud.lua 2 Jan 2004 07:52:42 -0000 1.9 *************** *** 19,22 **** --- 19,24 ---- local a = canvas:setAlpha(128) canvas:drawBitmap(self.sewersImg, 50, 50, player.x - 25 - 0.5, player.y - 25 - 0.5, 50, 50) + canvas:setCursor(320 - 50 - 18 + 27, 14 + 27) + canvas:drawIcon(self.pixelBlack) canvas:setAlpha(a) end *************** *** 37,40 **** --- 39,43 ---- playerSwitcher = nil, sewersImg = m_get_bitmap("sewers_map.bmp"), + pixelBlack = m_get_bitmap("pixel_black.bmp"), }; } |
From: <geo...@us...> - 2004-01-02 07:49:38
|
Update of /cvsroot/moeng/BBRpg/data/maps In directory sc8-pr-cvs1:/tmp/cvs-serv17958/maps Modified Files: sewers1.map Log Message: Added some turtles to the sewers Index: sewers1.map =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/maps/sewers1.map,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 Binary files /tmp/cvsJWBefL and /tmp/cvsGL096l differ |
From: <b_l...@us...> - 2004-01-02 07:41:29
|
Update of /cvsroot/moeng/BBRpg In directory sc8-pr-cvs1:/tmp/cvs-serv17157 Modified Files: .cvsignore Added Files: README.CaveAdventure Log Message: Added Cave Adventure README and ignore map picture. --- NEW FILE: README.CaveAdventure --- --------------------------------------- Moonlight Productions :: Cave Adventure --------------------------------------- Here is our second small RPG, a Cave Adventure. It's been made for the Spring 2003 MiniRPG compo. After washing down a river, Frode (the main character) fell down a waterfall and just managed to reach out for a branch that was hanging about halfway down. Incidently, swinging towards the rock side, there happens to be an entrance to a cave behind the wall of water. Frode has the choice between either falling drop dead on the rocks below the waterfall or entering the cave to face the perils within. Naturally, in the spirit of bold exploration, he enters the cave... Moonlight Productions (the part that worked on this game): Bjørn Lindeijer (engine, scripts, graphics) Georg Muntingh (maps, scripts, graphics) Frode Lindeijer (graphics) Jasper Muntingh (music) Have fun playing our game, we had great fun in making it! The game can be found on: http://www.rpgdx.net -------- Controls -------- To prevent you from wasting minutes searching for the right keys, we present them to you here. Arrow keys - Move your character Spacebar - Examine / Talk / Use / Activate / Continue dialogue Ctrl - Attack ESC - Open / Close menu ------------------------ The Moonlight RPG engine ------------------------ This RPG uses the Moonlight RPG engine, which is licensed under GPL and will be distributed seperately when it's mature enough. Its current specifications are: - Allegro for graphics, keyboard input and timers - AllegroOGG for OGG file playback - Using the Lua extension language for the scripting - Using object oriented, flexible tile engine - Comes with its own map/tile editor - Allows use of multiple tile bitmaps per map, and the other way around ------------------- Config file options ------------------- In RPG.cfg you can specify if you want to run the RPG fullscreen or windowed. You can also enable vsync there (might look smoother for some users). Further more, if you are running in windowed mode, you might want to enable the double size feature. You can also use this with the fullscreen mode if your videocard doesn't support 320x240 high/truecolor modes. If the game runs choppy, try reducing the colordepth to 16 or 15 bit. ------- History ------- January, -th -:-- (First post-contest release) - Added 24 and 32 bit colordepth support (32 enabled by default) - Added second layer to maps, above the objects - Added music - Added level name when entering level / Added menu system - Added experience/levelup system / Added inventory - Added new enemy type, Spider Queen - Added engine support for custom fonts / Added French translation - Added timestamps to logs - Added character shadows - Added placing objects in the editor - Improved Game Over screen - Improved GUI - Improved engine coordinate system - Improved scripts structure, now Object Oriented / Improved AI - Upgraded Lua from 4.0 to 5.0 - Fixed little bug in linear animations - Fixed color of damage splats on spiders - Now all maps are loaded at startup (remembers killed enemies) - Many more small changes April, 29th 2:00 (First public release) Index: .cvsignore =================================================================== RCS file: /cvsroot/moeng/BBRpg/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** .cvsignore 28 Dec 2003 10:21:51 -0000 1.4 --- .cvsignore 2 Jan 2004 07:41:25 -0000 1.5 *************** *** 8,9 **** --- 8,10 ---- data.dat Makefile + map.bmp |
From: <b_l...@us...> - 2004-01-02 07:40:25
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv17049/data/scripts Modified Files: Action.lua Log Message: Time of map name shorter again. Index: Action.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Action.lua,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Action.lua 2 Jan 2004 05:42:13 -0000 1.7 --- Action.lua 2 Jan 2004 07:40:21 -0000 1.8 *************** *** 597,601 **** ActionCallFunction(interactionMaster.addInteraction, interactionMaster, mapInt), ActionTweenVariable(mapInt, "perc", 50, 1, 0), ! ActionWait(150), ActionTweenVariable(mapInt, "perc", 50, 0, 1), ActionCallFunction(interactionMaster.removeInteraction, interactionMaster, mapInt), --- 597,601 ---- ActionCallFunction(interactionMaster.addInteraction, interactionMaster, mapInt), ActionTweenVariable(mapInt, "perc", 50, 1, 0), ! ActionWait(100), ActionTweenVariable(mapInt, "perc", 50, 0, 1), ActionCallFunction(interactionMaster.removeInteraction, interactionMaster, mapInt), |
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv16653/data/scripts Modified Files: BBRpg.lua City.lua MainMenu.lua Portal.lua RestPlace.lua SewerObjects.lua Sewers.lua Log Message: Random fixes and scripted RestPlace. Index: BBRpg.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/BBRpg.lua,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** BBRpg.lua 2 Jan 2004 06:54:00 -0000 1.22 --- BBRpg.lua 2 Jan 2004 07:38:04 -0000 1.23 *************** *** 39,42 **** --- 39,49 ---- sewersMap.stairsOutPortal:linkToPortal(cellsMap.sewersOutPortal) cellsMap.sewersOutPortal:linkToPortal(sewersMap.stairsOutPortal) + + sewersMap.stairsOutPortal2:linkToPortal(restMap.sewerPortal) + restMap.sewerPortal:linkToPortal(sewersMap.stairsOutPortal2) + + restMap.doorPortal:linkToPortal(cityMap.restPlacePortal) + cityMap.restPlacePortal:linkToPortal(restMap.doorPortal) + -- Spawn the player Index: City.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/City.lua,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** City.lua 2 Jan 2004 05:42:13 -0000 1.16 --- City.lua 2 Jan 2004 07:38:04 -0000 1.17 *************** *** 65,68 **** --- 65,69 ---- -- The doors in this area self:spawn(DoorJake, 93, 72); + self.restPlaceDoor = self:spawn(DoorLocked, 76, 72) -- Spawn portals *************** *** 72,75 **** --- 73,79 ---- self.sewersInPortal = self:spawn(Portal, 119, 63); self.sewersInPortal:setOutDir(DIR_UP); + + self.restPlacePortal = self:spawn(Portal, 76, 72) + self.restPlacePortal:setOutDir(DIR_DOWN) copcar = self:spawn(CopCar, 106, 123); Index: MainMenu.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/MainMenu.lua,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** MainMenu.lua 2 Jan 2004 06:30:03 -0000 1.23 --- MainMenu.lua 2 Jan 2004 07:38:04 -0000 1.24 *************** *** 19,23 **** ActionSetVariable(_G, "show_main_menu", nil), ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ! ActionSetPosition(elwood, 34, 66, DIR_UP, cellsMap), ActionFadeInMap(50), ActionExModeOff(), --- 19,23 ---- ActionSetVariable(_G, "show_main_menu", nil), ActionCallFunction(jake.addToInventory, jake, cityMap.walkieTalkie), ! ActionSetPosition(elwood, 44, 48, DIR_UP, sewersMap), ActionFadeInMap(50), ActionExModeOff(), Index: Portal.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Portal.lua,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Portal.lua 2 Jan 2004 04:49:53 -0000 1.5 --- Portal.lua 2 Jan 2004 07:38:04 -0000 1.6 *************** *** 13,16 **** --- 13,20 ---- if (actor:instanceOf(Player)) then + if (self.onUse) then + self.onUse() + end + actor:walk(actor.dir, true) Index: RestPlace.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/RestPlace.lua,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RestPlace.lua 2 Jan 2004 07:06:44 -0000 1.1 --- RestPlace.lua 2 Jan 2004 07:38:04 -0000 1.2 *************** *** 10,14 **** init = function(self) ! Map.init(self, "data/maps/leesplace.map") -- Spawn portals --- 10,14 ---- init = function(self) ! Map.init(self, "data/maps/restplace.map") -- Spawn portals *************** *** 16,20 **** self.doorPortal:setOutDir(DIR_UP) self.sewerPortal = self:spawn(Portal, 20, 20) ! self.doorPortal:setOutDir(DIR_DOWN) end; --- 16,25 ---- self.doorPortal:setOutDir(DIR_UP) self.sewerPortal = self:spawn(Portal, 20, 20) ! self.sewerPortal:setOutDir(DIR_DOWN) ! self.doorPortal.onUse = function() ! cityMap.restPlaceDoor.bitmap = cityMap.restPlaceDoor.bitmaps[2] ! cityMap.restPlaceDoor.obstacle = 0 ! cityMap.restPlaceDoor.convTableKeyword = nil ! end end; Index: SewerObjects.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/SewerObjects.lua,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SewerObjects.lua 2 Jan 2004 06:54:00 -0000 1.5 --- SewerObjects.lua 2 Jan 2004 07:38:04 -0000 1.6 *************** *** 1,148 **** ! -- ! -- The objects in the sewers ! -- By Georg Muntingh ! ! import("Actor.lua") ! import("Decoration.lua") ! ! Lever = Actor:subclass ! { ! name = "Lever"; ! ! init = function(self) ! Actor.init(self) ! self:updateBitmap() ! end; ! ! updateBitmap = function(self) ! if (self.isOpen == false) then self.bitmap = self.bitmaps[1] ! else self.bitmap = self.bitmaps[2] end ! end; ! ! activatedBy = function(self, obj) ! if (self.isOpen == false) then ! self.isOpen = true ! else ! self.isOpen = false end if (self.gate) then self.gate:switch() ! end ! self:updateBitmap() end; ! opens = function(self, gate) self.gate = gate ! end; defaultproperties = { ! gate = nil, ! offset_y = -12, ! offset_x = 12, ! isOpen = false, ! bCanActivate = true, ! bitmaps = extr_array(m_get_bitmap("lever.bmp"), 5, 15), ! ticktime = 1, ! } ! } ! Lever2 = Actor:subclass ! { ! name = "Lever2"; ! ! init = function(self) ! Actor.init(self) ! self:updateBitmap() ! end; ! ! updateBitmap = function(self) ! if (self.isOpen == false) then self.bitmap = self.bitmaps[1] ! else self.bitmap = self.bitmaps[2] end ! end; ! ! activatedBy = function(self, obj) if (obj == elwood) then ActionController:addSequence{ ActionConversation(lang:getConv("LeverElwood")), }; ! if (self.isOpen == false) then ! self.isOpen = true ! else ! self.isOpen = false end if (self.gate) then self.gate:switch() ! end self:updateBitmap() else ActionController:addSequence{ ActionConversation(lang:getConv("LeverNotElwood")), }; ! end end; ! opens = function(self, gate) self.gate = gate ! end; defaultproperties = { ! gate = nil, ! offset_y = -12, ! offset_x = 12, ! isOpen = false, ! bCanActivate = true, ! bitmaps = extr_array(m_get_bitmap("lever.bmp"), 5, 15), ! ticktime = 1, ! } } ! ! Ladder1 = Decoration:subclass ! { ! name = "Ladder1"; ! ! defaultproperties = { ! bCenterBitmap = false, ! bCenterOnTile = false, ! offset_y = 0, ! obstacle = 0, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("ladder.bmp"), convTableKeyword = "LadderIn", ! } ! } ! ! Ladder2 = Decoration:subclass ! { ! name = "Ladder2"; ! ! defaultproperties = { ! bCenterBitmap = false, ! bCenterOnTile = false, ! offset_y = 0, ! obstacle = 0, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("ladder.bmp"), convTableKeyword = "LadderOut", ! } ! } ! Ladder3 = Decoration:subclass ! { ! name = "Ladder3"; ! ! defaultproperties = { ! bCenterBitmap = false, ! bCenterOnTile = false, ! offset_y = 0, ! obstacle = 0, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("ladder.bmp"), ! } } ! ! WallAndTube = Actor:subclass ! { ! name = "WallAndTube"; ! ! init = function(self) ! Actor.init(self) ! end; ! event_bumped_into = function(self, player) if (player:instanceOf(Elwood)) then ActionController:addSequence{ --- 1,148 ---- ! -- ! -- The objects in the sewers ! -- By Georg Muntingh ! ! import("Actor.lua") ! import("Decoration.lua") ! ! Lever = Actor:subclass ! { ! name = "Lever"; ! ! init = function(self) ! Actor.init(self) ! self:updateBitmap() ! end; ! ! updateBitmap = function(self) ! if (self.isOpen == false) then self.bitmap = self.bitmaps[1] ! else self.bitmap = self.bitmaps[2] end ! end; ! ! activatedBy = function(self, obj) ! if (self.isOpen == false) then ! self.isOpen = true ! else ! self.isOpen = false end if (self.gate) then self.gate:switch() ! end ! self:updateBitmap() end; ! opens = function(self, gate) self.gate = gate ! end; defaultproperties = { ! gate = nil, ! offset_y = -12, ! offset_x = 12, ! isOpen = false, ! bCanActivate = true, ! bitmaps = extr_array(m_get_bitmap("lever.bmp"), 5, 15), ! ticktime = 1, ! } ! } ! Lever2 = Actor:subclass ! { ! name = "Lever2"; ! ! init = function(self) ! Actor.init(self) ! self:updateBitmap() ! end; ! ! updateBitmap = function(self) ! if (self.isOpen == false) then self.bitmap = self.bitmaps[1] ! else self.bitmap = self.bitmaps[2] end ! end; ! ! activatedBy = function(self, obj) if (obj == elwood) then ActionController:addSequence{ ActionConversation(lang:getConv("LeverElwood")), }; ! if (self.isOpen == false) then ! self.isOpen = true ! else ! self.isOpen = false end if (self.gate) then self.gate:switch() ! end self:updateBitmap() else ActionController:addSequence{ ActionConversation(lang:getConv("LeverNotElwood")), }; ! end end; ! opens = function(self, gate) self.gate = gate ! end; defaultproperties = { ! gate = nil, ! offset_y = -12, ! offset_x = 12, ! isOpen = false, ! bCanActivate = true, ! bitmaps = extr_array(m_get_bitmap("lever.bmp"), 5, 15), ! ticktime = 1, ! } } ! ! Ladder1 = Decoration:subclass ! { ! name = "Ladder1"; ! ! defaultproperties = { ! bCenterBitmap = false, ! bCenterOnTile = false, ! offset_y = 0, ! obstacle = 0, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("ladder.bmp"), convTableKeyword = "LadderIn", ! } ! } ! ! Ladder2 = Decoration:subclass ! { ! name = "Ladder2"; ! ! defaultproperties = { ! bCenterBitmap = false, ! bCenterOnTile = false, ! offset_y = 0, ! obstacle = 0, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("ladder.bmp"), convTableKeyword = "LadderOut", ! } ! } ! Ladder3 = Decoration:subclass ! { ! name = "Ladder3"; ! ! defaultproperties = { ! bCenterBitmap = false, ! bCenterOnTile = false, ! offset_y = 0, ! obstacle = 0, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("ladder.bmp"), ! } } ! ! WallAndTube = Actor:subclass ! { ! name = "WallAndTube"; ! ! init = function(self) ! Actor.init(self) ! end; ! event_bumped_into = function(self, player) if (player:instanceOf(Elwood)) then ActionController:addSequence{ *************** *** 152,192 **** } else ! if (player.dir == DIR_UP) then ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube1")), ! ActionSetPosition(player, 54, 46, DIR_UP), ! ActionExModeOff(), ! } ! else ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube2")), ! ActionSetPosition(player, 54, 48, DIR_DOWN), ! ActionExModeOff(), ! } ! end ! end ! end; ! ! defaultproperties = { ! offset_y = -5, ! offset_z = 8, ! obstacle = 1, ! bCanActivate = true, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("wall_and_tube.bmp"), ! } ! } ! ! WallAndTube2 = Actor:subclass ! { ! name = "WallAndTube2"; ! ! init = function(self) ! Actor.init(self) ! end; ! ! event_bumped_into = function(self, player) if (player:instanceOf(Elwood)) then --- 152,192 ---- } else ! if (player.dir == DIR_UP) then ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube1")), ! ActionSetPosition(player, 54, 46, DIR_UP), ! ActionExModeOff(), ! } ! else ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube2")), ! ActionSetPosition(player, 54, 48, DIR_DOWN), ! ActionExModeOff(), ! } ! end ! end ! end; ! ! defaultproperties = { ! offset_y = -5, ! offset_z = 8, ! obstacle = 1, ! bCanActivate = true, ! draw_mode = DM_MASKED, ! bitmap = m_get_bitmap("wall_and_tube.bmp"), ! } ! } ! ! WallAndTube2 = Actor:subclass ! { ! name = "WallAndTube2"; ! ! init = function(self) ! Actor.init(self) ! end; ! ! event_bumped_into = function(self, player) if (player:instanceOf(Elwood)) then *************** *** 197,221 **** } else ! if (player.dir == DIR_DOWN) then ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube1")), ! ActionSetPosition(player, 54, 26, DIR_DOWN), ! ActionExModeOff(), ! } ! else ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube2")), ! ActionSetPosition(player, 54, 24, DIR_UP), ! ActionExModeOff(), ! } ! end ! end ! end; ! ! defaultproperties = { ! obstacle = 1, ! bCanActivate = true, ! } } --- 197,221 ---- } else ! if (player.dir == DIR_DOWN) then ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube1")), ! ActionSetPosition(player, 54, 26, DIR_DOWN), ! ActionExModeOff(), ! } ! else ! ActionController:addSequence{ ! ActionExModeOn(), ! ActionConversation(lang:getConv("WallAndTube2")), ! ActionSetPosition(player, 54, 24, DIR_UP), ! ActionExModeOff(), ! } ! end ! end ! end; ! ! defaultproperties = { ! obstacle = 1, ! bCanActivate = true, ! } } Index: Sewers.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Sewers.lua,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Sewers.lua 2 Jan 2004 06:54:00 -0000 1.14 --- Sewers.lua 2 Jan 2004 07:38:04 -0000 1.15 *************** *** 18,22 **** self:spawn(Ladder1, 73, 37); self:spawn(Ladder2, 152, 10); ! self:spawn(Ladder2, 44, 47); self:spawn(FenceH5, 131, 47); --- 18,22 ---- self:spawn(Ladder1, 73, 37); self:spawn(Ladder2, 152, 10); ! self:spawn(Ladder3, 44, 47); self:spawn(FenceH5, 131, 47); *************** *** 51,54 **** --- 51,56 ---- self.stairsOutPortal = self:spawn(Portal, 152, 10); self.stairsOutPortal:setOutDir(DIR_DOWN); + self.stairsOutPortal2 = self:spawn(Portal, 44, 47); + self.stairsOutPortal2:setOutDir(DIR_DOWN); end; |
From: <b_l...@us...> - 2004-01-02 07:38:08
|
Update of /cvsroot/moeng/BBRpg/data/maps In directory sc8-pr-cvs1:/tmp/cvs-serv16653/data/maps Modified Files: city1.map Log Message: Random fixes and scripted RestPlace. Index: city1.map =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/maps/city1.map,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 Binary files /tmp/cvsFrxwU5 and /tmp/cvsKHEvU2 differ |
From: <b_l...@us...> - 2004-01-02 07:38:08
|
Update of /cvsroot/moeng/BBRpg In directory sc8-pr-cvs1:/tmp/cvs-serv16653 Modified Files: README Log Message: Random fixes and scripted RestPlace. Index: README =================================================================== RCS file: /cvsroot/moeng/BBRpg/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README 2 Jan 2004 06:57:02 -0000 1.3 --- README 2 Jan 2004 07:38:04 -0000 1.4 *************** *** 11,30 **** their third brother who is still held in prison. ! Moonlight Productions (the part that worked on this game): - Bjørn Lindeijer (engine, scripts, graphics) - Georg Muntingh (maps, scripts, graphics, story) - Frode Lindeijer (graphics) - Hedde Bosman (music, soundfx, scripts, build system) - Ramon van Tol (music) - Jasper Hafkenscheid (the green couch) - Laurens van der Starre (story) - Jasper Muntingh (music) ! Have fun playing our game, we had great fun in making it! ! The game can be found on: http://www.rpgdx.net --- 11,35 ---- their third brother who is still held in prison. + Have fun playing our game, we had great fun in making it! ! The game can be found on: http://www.rpgdx.net + ------------------------- + Credits Where Credits Due + ------------------------- ! Below are presented the people that put effort into creating this game. Many ! thanks to them, for without them the game wouldn't be what it is. ! ! Bjørn Lindeijer (engine, scripts, graphics) ! Georg Muntingh (maps, scripts, graphics, story) ! Frode Lindeijer (graphics) ! Hedde Bosman (music, soundfx, scripts, build system) ! Ramon van Tol (music) ! Jasper Hafkenscheid (the green couch) ! Laurens van der Starre (story) ! Jasper Muntingh (music) |
From: <b_l...@us...> - 2004-01-02 07:38:08
|
Update of /cvsroot/moeng/BBRpg/data/bitmaps In directory sc8-pr-cvs1:/tmp/cvs-serv16653/data/bitmaps Modified Files: snow_feet1.bmp snow_feet2.bmp snow_feet3.bmp Log Message: Random fixes and scripted RestPlace. Index: snow_feet1.bmp =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/bitmaps/snow_feet1.bmp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsrU3S8M and /tmp/cvsyleM2p differ Index: snow_feet2.bmp =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/bitmaps/snow_feet2.bmp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvssUgaSR and /tmp/cvsSEbxyz differ Index: snow_feet3.bmp =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/bitmaps/snow_feet3.bmp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs3rkAoV and /tmp/cvs0FNDBG differ |
From: <geo...@us...> - 2004-01-02 07:06:56
|
Update of /cvsroot/moeng/BBRpg/data/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv12368 Modified Files: Crocodile.lua Rat.lua Turtle.lua Added Files: RestPlace.lua Log Message: RestPlace.lua toegevoegd --- NEW FILE: RestPlace.lua --- -- -- Rest place -- import("Map.lua") RestPlace = Map:subclass { name = "RestPlace"; init = function(self) Map.init(self, "data/maps/leesplace.map") -- Spawn portals self.doorPortal = self:spawn(Portal, 14, 23) self.doorPortal:setOutDir(DIR_UP) self.sewerPortal = self:spawn(Portal, 20, 20) self.doorPortal:setOutDir(DIR_DOWN) end; defaultproperties = { mapNameBitmap = m_get_bitmap("restplace.tga"), } } Index: Crocodile.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Crocodile.lua,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Crocodile.lua 2 Jan 2004 04:49:53 -0000 1.9 --- Crocodile.lua 2 Jan 2004 07:06:44 -0000 1.10 *************** *** 14,19 **** defaultproperties = { attackMinDam = 3, ! attackMaxDam = 6, ! maxHealth = 50, speed = 3, experience = 25, --- 14,19 ---- defaultproperties = { attackMinDam = 3, ! attackMaxDam = 5, ! maxHealth = 40, speed = 3, experience = 25, Index: Rat.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Rat.lua,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Rat.lua 2 Jan 2004 04:49:53 -0000 1.12 --- Rat.lua 2 Jan 2004 07:06:44 -0000 1.13 *************** *** 26,33 **** defaultproperties = { attackMinDam = 0, ! attackMaxDam = 3, ! maxHealth = 25, speed = 4, ! experience = 11, draw_mode = DM_MASKED, --- 26,33 ---- defaultproperties = { attackMinDam = 0, ! attackMaxDam = 2, ! maxHealth = 20, speed = 4, ! experience = 12, draw_mode = DM_MASKED, Index: Turtle.lua =================================================================== RCS file: /cvsroot/moeng/BBRpg/data/scripts/Turtle.lua,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Turtle.lua 2 Jan 2004 04:31:18 -0000 1.2 --- Turtle.lua 2 Jan 2004 07:06:44 -0000 1.3 *************** *** 7,15 **** defaultproperties = { ! attackMinDam = 2, attackMaxDam = 4, ! maxHealth = 40, speed = 1, ! experience = 10, offset_y = 4, --- 7,15 ---- defaultproperties = { ! attackMinDam = 1, attackMaxDam = 4, ! maxHealth = 50, speed = 1, ! experience = 20, offset_y = 4, |
From: <b_l...@us...> - 2004-01-02 06:57:06
|
Update of /cvsroot/moeng/BBRpg In directory sc8-pr-cvs1:/tmp/cvs-serv10845 Modified Files: README Log Message: README updated for Blues Brothers RPG Index: README =================================================================== RCS file: /cvsroot/moeng/BBRpg/README,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README 28 Dec 2003 13:00:31 -0000 1.2 --- README 2 Jan 2004 06:57:02 -0000 1.3 *************** *** 1,14 **** ! --------------------------------------- ! Moonlight Productions :: Cave Adventure ! --------------------------------------- ! Here is our second small RPG, a Cave Adventure. It's been made for the Spring ! 2003 MiniRPG compo. After washing down a river, Frode (the main character) ! fell down a waterfall and just managed to reach out for a branch that was ! hanging about halfway down. Incidently, swinging towards the rock side, there ! happens to be an entrance to a cave behind the wall of water. Frode has the ! choice between either falling drop dead on the rocks below the waterfall or ! entering the cave to face the perils within. Naturally, in the spirit of bold ! exploration, he enters the cave... --- 1,13 ---- ! ------------------------------------------- ! Moonlight Productions :: Blues Brothers RPG ! ------------------------------------------- ! Finally we have reached a release of Blues Brothers RPG! It's been made for the ! Chione Challenge, the RPGDX Winter 2003 competition with lots of snow. ! ! The story begins when Elwood is released from prison. His brother Jake tells ! him about their third brother, Brian, who was adopted by their mother even ! before they were born. The game starts when Elwood and Jake made plans to safe ! their third brother who is still held in prison. *************** *** 16,21 **** Bjørn Lindeijer (engine, scripts, graphics) ! Georg Muntingh (maps, scripts, graphics) Frode Lindeijer (graphics) Jasper Muntingh (music) --- 15,24 ---- Bjørn Lindeijer (engine, scripts, graphics) ! Georg Muntingh (maps, scripts, graphics, story) Frode Lindeijer (graphics) + Hedde Bosman (music, soundfx, scripts, build system) + Ramon van Tol (music) + Jasper Hafkenscheid (the green couch) + Laurens van der Starre (story) Jasper Muntingh (music) *************** *** 36,40 **** Spacebar - Examine / Talk / Use / Activate / Continue dialogue Ctrl - Attack ! ESC - Open / Close menu --- 39,45 ---- Spacebar - Examine / Talk / Use / Activate / Continue dialogue Ctrl - Attack ! Escape - Open / Close menu ! Tab - Switch to next Blues Brother ! Shift+Tab - Switch to previous Blues Brother *************** *** 43,52 **** ------------------------ ! This RPG uses the Moonlight RPG engine, which is licensed under GPL and will ! be distributed seperately when it's mature enough. Its current specifications ! are: ! - Allegro for graphics, keyboard input and timers ! - AllegroOGG for OGG file playback - Using the Lua extension language for the scripting - Using object oriented, flexible tile engine --- 48,56 ---- ------------------------ ! This RPG uses the Moonlight RPG engine, which is licensed under GPL. Its ! current specifications are: ! - Allegro for graphics, keyboard input, timers and sample playback ! - alogg for OGG file playback - Using the Lua extension language for the scripting - Using object oriented, flexible tile engine *************** *** 72,101 **** ------- ! January, -th -:-- (First post-contest release) ! ! - Added 24 and 32 bit colordepth support (32 enabled by default) ! - Added second layer to maps, above the objects ! - Added music ! - Added level name when entering level ! / Added menu system ! - Added experience/levelup system ! / Added inventory ! - Added new enemy type, Spider Queen ! - Added engine support for custom fonts ! / Added French translation ! - Added timestamps to logs ! - Added character shadows ! - Added placing objects in the editor ! - Improved Game Over screen ! - Improved GUI ! - Improved engine coordinate system ! - Improved scripts structure, now Object Oriented ! / Improved AI ! - Upgraded Lua from 4.0 to 5.0 ! - Fixed little bug in linear animations ! - Fixed color of damage splats on spiders ! - Now all maps are loaded at startup (remembers killed enemies) ! - Many more small changes ! ! ! April, 29th 2:00 (First public release) --- 76,78 ---- ------- ! January, 2nd 8:00 (First public release) |