Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Bloodshedder

The New 64

Recommended Posts

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?

Share this post


Link to post
Scuba Steve said:

What?


That!

A Doom Scripting Language where you use a simplified english language.
If you like, call it DSL ;)

Share this post


Link to post

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.

Share this post


Link to post
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

Share this post


Link to post
Bastet Furry said:

That would result in this scriptfile:

What I posted was a script, in SuparDoomProgrammajing.

Share this post


Link to post
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?

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
×