Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Frajic

Pages: 1 ... 25 26 [27] 28 29 ... 74
391
Play With Your Buddies / Re: Playing Wrong.
« on: March 19, 2011, 08:55:02 pm »
I WAS going to reply to breadbocks, but then I got ninja'd and my post pushed back. Typing on my iPod is so slow.

392
Play With Your Buddies / Re: Playing Wrong.
« on: March 19, 2011, 07:41:41 pm »
I'll vent some ideas here, and might even try some of them tomorrow:

Pacifist, law-abiding GTA?
Half-Life 2 using only the crowbar?
Minecraft without torches?
Call of Duty(or any other railroad shooter of your liking) without reloading, using fallen weapons to keep shooting?

More ideas to come!

393
Would it be appropriate for me to post in the anime thread about my recent rewatching of Dexter's Lab?
Oh please do :P
While you're at it, throw in some King of the Hill too.

394
Now soldiers have Eyelanders as well, the game is pretty much ruined. I mean more so than the cluster fuck that was the Polycount update.
Could you say why new weapons ruin the game? Because they confuse you?

395
Other Games / Re: uh oh
« on: March 17, 2011, 06:58:07 am »
Speaking of WW1 Medic, I can't find a link to it anywhere.
It's on the main page.

396
Spoiler (click to show/hide)
He picked the STRONG one, didn't he.

397
I like Bloodshed Dev-C++ myself, but then again, I've only dabbled with C++.

398
Pyrate here with a crash course on classes in Python!

A class is sort of like a blueprint. It's used to make objects starting with a certain amount of attributes(variables within an object) and a certain set of methods(functions within an object).
To make a class, you use:
Code: [Select]
class Testclass:followed by the __init__ method(which gets ran as soon as you use the class to make an object):
Code: [Select]
    def __init__(self, x, y):Here, 'self' is, well, the object itself, and 'x' and 'y' are the parameters used in object creation. Before we move on, I'd just like to show how the parameters work when you create an object:
Code: [Select]
testobject = Testclass(1, 2)So when you put in the parameters to make an object, you're entering the parameters for the __init__ function. Note that the 'self' attribute is ignored, so you only need to fill in the parameters after it. This goes for all methods within a class. Now, back to the __init__ method...
Code: [Select]
        self.x = x
        self.y = y
Here the attributes are assigned, and you can use them by entering something like 'testobject.y'.
Now, methods. They're functions you create within a class, and are made just like you would otherwise, but usually you include the object itself with it, by entering 'self' as an attribute:
Code: [Select]
    def testmethod(self):
        print self.x + self.y
And you use the method by entering:
Code: [Select]
testobject.testmethod()That covers most of the class-related things. However, it doesn't end once you've written the class. You can assign methods and variables after you've made the object:
Code: [Select]
testobject.z = 13
testobject.secondtestmethod = examplefunction
Or you can even assign new methods and edit the class!
Code: [Select]
Testclass.__init__ = newinit
Testclass.thirdtestmethod = anotherfunction
But what if, say, you put an object within an object? Then you access them like you would with any other attribute, and then do what you'd normally do:
Code: [Select]
print testobject.lowertestobject.x
There. That should cover what is to cover on classes. Hope I didn't cram the info too tightly.

As for assigning strings as variable names... doesn't work, and you don't need it. Just make the class have a 'name' attribute.

399
The pen that demand was written with was so outraged by its misuse it came to life and lodged itself in the eye of its torturer.

In a better world, anyway.
In this world, it just thought "The hell?"

400
This game is so weird now.

I remember when you saw a guy of a certain class, and you knew what abilities he had.

I've played maybe 15 hours in the last 3 months and I'm consistently awful at FPS games, and I know what abilities everyone has from a glance.  The new content has never been that much of a game-changer, and the default items in skilled hands are always more potent than the variants.   Besides Natascha.
Sandman. You will die. Also, anyone know of a plugin that can make the Scout faster?
Sandman only works in 1v1. Otherwise you can back off... but you're right about it being a great boon with a mere tradeoff of 15 health.

401
Say what? >:O

I don't know how to do the editing, so I'll have to rely on someone else :I

402
I fell... left out. Such is the fate of the lurker.

403
Life Advice / Re: Getting Into Coding
« on: March 11, 2011, 02:41:52 pm »
What I'd really love to find is some kind of repository of example tasks or challenges, ranked by difficulty and/or assumed knowledge. My biggest problem right now is having any idea how to apply the theory stuff I've been learning into a practical application. Admittedly, part of that is a motivation issue; I'm sure I could think up many little programs to build, but my brain just gets scared at the idea of starting out with no guidance and I end up going back to reading about it, rather than actually doing it. It's the daunting task of getting over that first hurdle, when you have no experience or the confidence of past projects to build upon. Once I get the ball rolling, I'm sure it'll start getting easier!
Project Euler fits that bill nicely, but it's mostly focused on mathematics. Still, you should give it a try.

404
Other Games / Re: So i have a dream, what next?
« on: March 11, 2011, 06:28:36 am »
Whenever I have a question, I google it. You'd be surprised how many times it has worked.

405
Derse <3< Prospit

You all know it's the best ship, you just don't want to admit it.
They could've used an auspetice. You know, 'cause a Derse agent destroyed Prospit and all.

Pages: 1 ... 25 26 [27] 28 29 ... 74