Longest Script

Post any topic here, DW related or not.

Moderator: Admin

User avatar
origen
Dark Sidhe Lord
Posts: 903
Joined: Thu Feb 10, 2005 5:54 pm
Location: Secret League of Nirulat Headquarters
Contact:

Post by origen »

Thanks. That is the first time I actually got a straight answer on this.
User avatar
origen
Dark Sidhe Lord
Posts: 903
Joined: Thu Feb 10, 2005 5:54 pm
Location: Secret League of Nirulat Headquarters
Contact:

Post by origen »

Well, I just finished a script that is currently 11,173 lines long, and so far, it appears to be working okay. Although it may take me a few days to test every part of it.

But at least I don't have to worry about script limits. :D
I reject your reality, and substitute my own.
User avatar
Growler
Necrolord
Posts: 1740
Joined: Mon Feb 14, 2005 10:37 pm
Location: Sputnik
Contact:

Post by Growler »

11,173 lines long? :?
:shock:

And I thought Origen was mostly sane. :roll:

So what's the script do/about? :P
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Domhnall4h
Gnomicron
Posts: 327
Joined: Sun Feb 13, 2005 9:22 am
Location: Middle of Nowhere, then turn right

Post by Domhnall4h »

It's a porno section; similar to the scene's in GTA: San Andreas; except instead of Hot Coffee; it's Warm Ale. Only works if you have a Dwarf who says "I spent all my reward money on ale and whores".
http://grimmgames.freeforums.org/index.php

San Angelo... What do you know? Now tell me do you have something to say? Don't get me wrong, I miss my home, and it feels like I'm a million miles away.
User avatar
origen
Dark Sidhe Lord
Posts: 903
Joined: Thu Feb 10, 2005 5:54 pm
Location: Secret League of Nirulat Headquarters
Contact:

Post by origen »

Actually, the script is Garth's Equipment Shoppe. Unfortunately, the competition in Skara Brae prevents him from buying and selling items (Imperial Weapons handles that), but he still has a monopoly on identifying unknown items.

One of the areas that I found a little dissapointing in DW is that you never find any unknown items (i.e. Weapon?, or Armor?)

So, I had to build a workaround. While it is not possible to do it exactly as it would be in most games (without actually changing the DW code), I was able to come up with a (long) solution using flags and randomizing the items that can be returned. So, if you find a Weapon? in the Sewers, it will not be the same Weapon? you find in Mangar's.

A pain in the arse, but I think it came out good.
I reject your reality, and substitute my own.
User avatar
ShadoKnight
Nomad
Posts: 28
Joined: Mon Mar 21, 2005 2:05 pm

Post by ShadoKnight »

Very, very cool origen! You're right, we should have included unknown items - frankly, it didn't occur to any of us (though it really should have - <smaks head>). Anyway, you've got a very cool solution - way to go! :)

SK
User avatar
Growler
Necrolord
Posts: 1740
Joined: Mon Feb 14, 2005 10:37 pm
Location: Sputnik
Contact:

Post by Growler »

Any chance of scripts (such as this one of Origen's) being incorporated into future renditions of DW?

I bet O-man would readily agree to sharing if everyone else would agree to RTFM.. :wink:
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
User avatar
Ziusudra
Black Claw
Posts: 113
Joined: Mon Mar 14, 2005 11:06 am
Location: Earth, I think

Post by Ziusudra »

But then what in the five dimensions could he do for fun, if he couldn't roar out RTFM? :wink:
Nuwa wadar-ma ekkatani. Nuwa sinda-on ezzatani.
User avatar
dragonbait
Stalker
Posts: 775
Joined: Mon Apr 10, 2006 3:07 pm

Post by dragonbait »

Was the Garth's equipment shop implemented in the BT1 mod?
User avatar
origen
Dark Sidhe Lord
Posts: 903
Joined: Thu Feb 10, 2005 5:54 pm
Location: Secret League of Nirulat Headquarters
Contact:

Post by origen »

I believe it was Farth's "Imperial Weapons", or whatever was in the game. I just used one of the existing shops, if I remember correctly. Another of the wonderful scripting limitations just made it easier to use their own shops, which are hard coded.
I reject your reality, and substitute my own.
Post Reply