Chaosforge Forum

  • March 28, 2024, 15:29
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: 1 [2] 3  All

Author Topic: Your actions  (Read 11197 times)

Klear

  • Elder
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1319
  • Twisted passages carry the smell of dapperness...
    • View Profile
Re: Your actions
« Reply #15 on: June 27, 2012, 17:49 »

I've been playing Brogue lately, and the way that game does it is you can press '~' to see the game's initial seed for dungeon generation. I'd imagine that DoomRL also uses a "random" number to start things off so the ability to replay a starting position shouldn't be so hard to add, right?

How would that be different from savescumming?
Logged
Arch-Vile Mjr General [24/19/18/8/2] (0.9.9.7)

Quote from: thelaptop
Dude... we need to change your forum handle from "Klear" to "Klear Nukem".

Creaphis

  • Backer
  • First Sergeant
  • *
  • *
  • Offline Offline
  • Posts: 110
  • Lost Soul
    • View Profile
Re: Your actions
« Reply #16 on: June 27, 2012, 19:53 »

I apologize for violating the black-and-white morality of roguelike play. To answer your question, though, this would let you retry interesting game situations without requiring you to save and back-up your game after every level. And, of course, there's no way at present to replay a game right from the start, which is what a few people in this thread would like to do. Being able to generate a game from a specified seed value also makes it possible to compete with other human beings on a level playing field - give everyone the same seed and see who gets the highest score. This is assuming, though, that later dungeon levels aren't generated differently depending on player actions.
Logged

tehtmi

  • Programmer
  • Supporter of Chaos
  • Lieutenant Colonel
  • *
  • *
  • Offline Offline
  • Posts: 458
    • View Profile
Re: Your actions
« Reply #17 on: June 27, 2012, 20:27 »

Most or all things in the game use the same (pseudo-)random number stream, so levels generated after the first would change depending on how the earlier levels were played.  Given the amount of random calls during level generation both in Lua, the valkyrie library, and to a lesser extent in the DoomRL core, it would be a significant task (though not insurmountable) to get them all running on a separate number stream.

I think providing the seed to the user has some nice niche uses.  Besides what is suggested here (allowing exploration of a challenging situation), I've also seen this feature requested so that people could share an initial seed and then compete to see who could tackle it best.
Logged

Sanctus

  • Sergeant
  • *
  • Offline Offline
  • Posts: 81
  • Lost Soul
    • View Profile
Re: Your actions
« Reply #18 on: June 28, 2012, 05:23 »

I think its good idea, to provide a way for competitions like this.
Also, it's possible and not so hard to keep two streams
1) for level generating (monsters, items, levers...), all the things that makes 'campaign'
2) for all other, user influenced, rnd calls.

Savescumming must be allowed from the main menu of game.
It's obvious that mortems with "he saved himself 9000 times" are not for public, but it's ok, especially when you are not 2Dev, just trying to learn something just for you.
Without stupid New game - Shift+Q - Shift+Y - New game

Logged

Motorheadbanger

  • Sergeant
  • *
  • Offline Offline
  • Posts: 92
    • View Profile
Re: Your actions
« Reply #19 on: June 28, 2012, 08:17 »

...mortems with "he saved himself 9000 times"...

Only now I got it. Damn!
Logged

Matt_S

  • Elder
  • Major
  • *
  • *
  • Offline Offline
  • Posts: 394
  • Lost Soul
    • View Profile
Re: Your actions
« Reply #20 on: June 29, 2012, 10:10 »

Also, it's possible and not so hard to keep two streams
1) for level generating (monsters, items, levers...), all the things that makes 'campaign'
2) for all other, user influenced, rnd calls.
I doubt it would be "hard", but it's probably pretty time consuming.  And the choice of whether to enter special levels could still completely change the later level generation. 

On a related note, am I the only one who has thought about TASing DoomRL?
« Last Edit: June 29, 2012, 10:12 by Matt_S »
Logged

Hamster

  • Elder
  • Sergeant
  • *
  • *
  • Offline Offline
  • Posts: 79
    • View Profile
Re: Your actions
« Reply #21 on: June 30, 2012, 02:20 »

On a related note, am I the only one who has thought about TASing DoomRL?
I've thought about auto-playing DoomRL long ago in the IRC... It would be not really hard to implement the playing itself since we have a console - just 80*25 chars. I think, the main difficulty is to make decisions by a program.
Logged

Sanctus

  • Sergeant
  • *
  • Offline Offline
  • Posts: 81
  • Lost Soul
    • View Profile
Re: Your actions
« Reply #22 on: June 30, 2012, 10:23 »

Can u explain what is "TASing"?
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: Your actions
« Reply #23 on: June 30, 2012, 10:58 »

Can u explain what is "TASing"?
Tool Assisted Speedrun.  It means using external tools to help achieve move-perfect precision necessary for the ultimate speedrun.
Logged
I computed, therefore I was.

Sanctus

  • Sergeant
  • *
  • Offline Offline
  • Posts: 81
  • Lost Soul
    • View Profile
Re: Your actions
« Reply #24 on: June 30, 2012, 12:49 »

o_O for what reason?
Logged

Uranium

  • Greater Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 196
  • Heavier Than A Death In The Family
    • View Profile
Re: Your actions
« Reply #25 on: June 30, 2012, 12:58 »

...move-perfect precision necessary for the ultimate speedrun
http://www.youtube.com/watch?v=Z1T7veqA9gM&feature=player_embedded
Humans will always be better than bots, they said
AI can never advance that far, they said
Logged
Use power for power.

Sanctus

  • Sergeant
  • *
  • Offline Offline
  • Posts: 81
  • Lost Soul
    • View Profile
Re: Your actions
« Reply #26 on: June 30, 2012, 13:09 »

I doubt it would be "hard", but it's probably pretty time consuming.  And the choice of whether to enter special levels could still completely change the later level generation. 
By special levels you can influence only special levels, so okay, it's enough to have three streams with 3 different seeds, so the game descriptor will be vector of this numbers. All other things already stored.
Logged

Creaphis

  • Backer
  • First Sergeant
  • *
  • *
  • Offline Offline
  • Posts: 110
  • Lost Soul
    • View Profile
Re: Your actions
« Reply #27 on: June 30, 2012, 13:25 »

http://www.youtube.com/watch?v=Z1T7veqA9gM&feature=player_embedded
Humans will always be better than bots, they said
AI can never advance that far, they said

Well, that demo was made with slow-down, re-recording, and frame-by-frame building of demo files. No actual "bots" are involved. Looper might be an android from the future though.
Logged

Uranium

  • Greater Elder
  • Second Lieutenant
  • *
  • *
  • Offline Offline
  • Posts: 196
  • Heavier Than A Death In The Family
    • View Profile
Re: Your actions
« Reply #28 on: June 30, 2012, 13:27 »

Well, that demo was made with slow-down, re-recording, and frame-by-frame building of demo files. No actual "bots" are involved. Looper might be an android from the future though.
I could swear that there was a post somewhere on a Doom site that said it was robots doing this run... I must be misinformed :V
Logged
Use power for power.

Tavana

  • Elder Chaos Guard
  • Brigadier General
  • *
  • *
  • Offline Offline
  • Posts: 663
    • View Profile
Re: Your actions
« Reply #29 on: July 02, 2012, 03:20 »

Tool Assisted Speedrun.  It means using external tools to help achieve move-perfect precision necessary for the ultimate speedrun.

From my understanding, one could conceivably build a bot from the code that is currently allowed in the keybindings.lua file. If you take a look at the use large medkit and use small medkit commands, they are more than just a basic command - and if someone was willing to learn the syntax and wanted to program the perfect player AI, they could speedrun on crack.
Logged
Common words do not mean common understanding. Language is mercurial. Meanings are never constant.
Pages: 1 [2] 3  All