Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 594 595 [596] 597 598 ... 896

Author Topic: The Elder Scrolls V: Skyrim  (Read 1550118 times)

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8925 on: June 05, 2013, 02:57:24 pm »

Legendary Edition? I don't even have a single DLC.
Logged
Dwarf Fortress: Threats of metabolism.

Soadreqm

  • Bay Watcher
  • I'm okay with this. I'm okay with a lot of things.
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8926 on: June 05, 2013, 05:17:38 pm »

10 Go to marker. If marker is:
20 Friendly -> Talk to
30 Enemy -> Kill
40 Item -> Take
If quest_finished = false: Goto 10
Then you are promptly assassinated by the ghost of Dijkstra.
That's just a do-while loop implemented with Goto. There is nothing wrong with do-while loops. Surely Dijkstra must see that!
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8927 on: June 05, 2013, 05:22:59 pm »

It's a bad habit, dammit, and considered harmful.

Here, let's do it better:

while not quest_finished do
    if marker==friendly then marker.talk() end
    if marker==enemy then marker.kill() end
    if marker==item then marker.take() end
end

Sensei

  • Bay Watcher
  • Haven't tried coffee crisps.
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8928 on: June 05, 2013, 05:42:04 pm »

So... marker is a string?
Logged
Let's Play: Automation! Bay 12 Motor Company Buy the 1950 Urist Wagon for just $4500! Safety features optional.
The Bay 12 & Mates Discord Join now! Voice/text chat and play games with other Bay12'ers!
Add me on Steam: [DFC] Sensei

Soadreqm

  • Bay Watcher
  • I'm okay with this. I'm okay with a lot of things.
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8929 on: June 05, 2013, 05:43:13 pm »

Yes, except that is not the same function. >:|
What it is equivalent to is
do {
    if (markerIsFriendly()) marker.talk();
    if (markerIsEnemy()) marker.kill();
    if (markerIsItem()) marker.take();
    } while (questNotFinished());

That way, you always check the marker for being friendly, enemy and an item, even if the quest is already done. Okay yeah the regular while loop is better in this case, but not because of the goto.
Logged

Biag

  • Bay Watcher
  • Huzzah!
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8930 on: June 05, 2013, 06:12:08 pm »

Well, you've still got poor data encapsulation. talk(), kill(), and take() shouldn't be implemented in marker, they should be implemented in the player class. :P
Logged

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: The Elder Scrolls V: Skyrim
« Reply #8931 on: June 05, 2013, 08:24:23 pm »

Well, you've still got poor data encapsulation. talk(), kill(), and take() shouldn't be implemented in marker, they should be implemented in the player class. :P
Unless in this game you play as the quest marker....  :o
Logged

Sordid

  • Bay Watcher
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8932 on: June 05, 2013, 08:44:03 pm »

NERRRRRDDDDS!  :P
Logged

Devling

  • Bay Watcher
  • You're all a bunch of socialists!
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8933 on: June 05, 2013, 09:39:33 pm »

Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8934 on: June 06, 2013, 03:01:50 am »

Is this the begining of a bot that plays Skyrim to 100% completion for you, metamorphosing Skyrim into the ultimate version of Progress Quest?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Ibid Straydrink

  • Bay Watcher
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8935 on: June 06, 2013, 03:35:04 am »

No- this is a satellite for the creative department of TES: Online.

Zing..?
Logged
“I am the spirit that negates. And rightly so, for all that comes to be. Deserves to perish wretchedly; 'Twere better nothing would begin."

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8936 on: June 06, 2013, 03:38:35 am »

I wonder what it would be like, if a bot program turned Skyrim into some really, really long first person movie.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8937 on: June 06, 2013, 03:42:30 am »

I think that's what the Prolix Tower is, hehe.

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8938 on: June 06, 2013, 08:06:56 am »

So I played this a bit aaages ago and sort of got through a bit, but then didn't have the time to play and forgot about it.
Anyway, giving Skyrim another shot and playing as an duel wielding Altmer focusing on conjuration for weapons and alteration for defense. So far early game has been somewhat easy on expert, with few things standing up to my banishing blades of soul snatching.

Just wondering, is this one of those strategies that starts to suck once things get harder and you can't really upgrade your weapons unless you switch to non-conjured swords and then all those points were wasted?

AVE

  • Bay Watcher
    • View Profile
Re: The Elder Scrolls V: Skyrim
« Reply #8939 on: June 06, 2013, 09:54:44 am »

So I played this a bit aaages ago and sort of got through a bit, but then didn't have the time to play and forgot about it.
Anyway, giving Skyrim another shot and playing as an duel wielding Altmer focusing on conjuration for weapons and alteration for defense. So far early game has been somewhat easy on expert, with few things standing up to my banishing blades of soul snatching.

Just wondering, is this one of those strategies that starts to suck once things get harder and you can't really upgrade your weapons unless you switch to non-conjured swords and then all those points were wasted?
Without mods - yes. Unmodded magic sucks at high levels. And nothing can beat bow-stealther,  except boringness.
Logged
Pages: 1 ... 594 595 [596] 597 598 ... 896