Scuba Steve Posted October 24, 2004 Bastet Furry said:On Player.Uses Line(200) Message("You pushed the button! Now die!") ShowThing(76) ' A CyberDemon ActivateThing(76) ' Activate Him Disable Line(200) End On On Thing(76).Destroyed Move Sector(30).Ceiling Up 96 End On Something like that. Everyone should be able to read that and understand that. Its simplified normal language ;) What? 0 Share this post Link to post
Bastet Furry Posted October 24, 2004 Scuba Steve said:What? That! A Doom Scripting Language where you use a simplified english language. If you like, call it DSL ;) 0 Share this post Link to post
Fredrik Posted October 24, 2004 When the level starts, play a cool sound effect. Then spawn a couple of imps right in front of the player. When the player picks up the yellow key, make bars slam shut behind him so he can't get out, then spawn some revenants. Let him out when they're dead. 0 Share this post Link to post
Bastet Furry Posted October 24, 2004 Fredrik said:When the level starts, play a cool sound effect. Then spawn a couple of imps right in front of the player. When the player picks up the yellow key, make bars slam shut behind him so he can't get out, then spawn some revenants. Let him out when they're dead. That would result in this scriptfile:On Game.Start PlaySFX("foo.wav",ONCE) For a = 10 to 15 ShowThing(a) ActivateThing(a) Next a End On On Player.PicksItem(YELLOWKEY) For a = 36 to 40 Move Sector(a).ceiling down 128 Next a For a = 212 to 215 ShowThing(a) ActivateThing(a) Next a End On On Thing(212).Destroyed And Thing(213).Destroyed And Thing(214).Destroyed And Thing(215).Destroyed For a = 36 to 40 Move Sector(a).ceiling up 128 Next a End On 0 Share this post Link to post
Bloodshedder Posted October 25, 2004 Having programmed in both C and Visual Basic before, I would much prefer the syntax of ACS as opposed to VBScript. 0 Share this post Link to post
Fredrik Posted October 25, 2004 Bastet Furry said:That would result in this scriptfile:What I posted was a script, in SuparDoomProgrammajing. 0 Share this post Link to post
Bastet Furry Posted October 25, 2004 Fredrik said:What I posted was a script, in SuparDoomProgrammajing. Yeah, a scriptlanguage that we could interpret in ca. 15 Years. But then we will have a doom emulator running inside Quake 561 ;) Ok, KiddingMode Off! What do you think of my idea in using something that resembles Basic for Doom Scripting? 0 Share this post Link to post
Udderdude Posted October 25, 2004 Bastet Furry said:On Player.Uses Line(200) Message("You pushed the button! Now die!") ShowThing(76) ' A CyberDemon ActivateThing(76) ' Activate Him Disable Line(200) End On On Thing(76).Destroyed Move Sector(30).Ceiling Up 96 End On Uh, yeah. I'd rather have ACS. :P 0 Share this post Link to post
Bastet Furry Posted October 25, 2004 udderdude said:Uh, yeah. I'd rather have ACS. :P Then, how would my example look like in ACS? 0 Share this post Link to post
boris Posted October 25, 2004 Bastet Furry said:Then, how would my example look like in ACS? On Player.Uses Line(200) Message("You pushed the button! Now die!") ShowThing(76) ' A CyberDemon ActivateThing(76) ' Activate Him Disable Line(200) End On script 1 (void) { print(s:"You pushed the button! Now die!"); SpawnSpot("Cyberdemon", 1); } On Thing(76).Destroyed Move Sector(30).Ceiling Up 96 End On You don't even need a script for that... Of course you'll have to set the line specials accordingly. 0 Share this post Link to post
Linguica Posted October 25, 2004 Fredrik said:What I posted was a script, in SuparDoomProgrammajing. More like SubparDoomProgrammajing 0 Share this post Link to post
Anders Posted October 26, 2004 Bastet Furry said:There is one port using a lingo similiar to c, but forgotten the name. eternity 0 Share this post Link to post