Brad Wardell's Blog


The Operatives Kit for the Political Machine

Published on Saturday, August 28, 2004 By Brad Wardell In The Political Machine 2004

The Political Operative's Kit for The Political Machine provides, amongst other things, two editors. It doesn't come with the retail version of The Political Machine but can be purchased for $10 from Stardock (if you bought The Political Machine from Stardock at $29.95 it includes this kit).

The first editor is the issue editor. The second is the interview question editor.

The Issue Editor

In the game, candidates compete on the issues. There are essentially two types of issues in the game: Personal traits and Political issues.  In our editor, we use an underscore (_) to denote a personal issue.  For game play reasons, we decided to make it so that ads and speeches could not target these personal issues.  That's because they are powerful.

The first part of the issue editor is loading up the issues themselves. They are in the polmachine\data directory.

Let's start with the personal issues:

When you load up the personal traits file, you are provided with a list of issues.  Every issue has its display name (how it will look in the game) along with its unique ID.  If there's an underscore at the start, it is treated like a personal trait.  On each issue there are values for Democrats, Republicans, and Independents.  A positive value means that they favor this issue. A negative value means they are against it.  And the higher the value, either way, determines how much they care.

In the example above, Credibility, you see that we gave it a value of 20 for Republicans and Democrats but 50 for Independents. This was our judgment call -- we felt that independents are more concerned with credibility whereas partisans will tend to look the other way a bit for their guy.

We used this table to decide issues:

Value Position
 -50 or higher Very much against it (rare)
 -20 to -50 Strongly against it (uncommon)
 -5 to -20 Against it (common)
 -1 to -5 Disagree with (very common)
0 Neutral
 1 to 5 Agree with (very common)
 5 to 20 Favor (common)
 20 to 50 Strongly for it (uncommon)
 50 or higher Very much for it (rare)

Now on many of these issues, we just educated guesses on. You may not agree with our choices but with this, you can edit it.  However, changing these issues will likely mean you won't be able to play in multiplayer games since you can imagine how this could be abused (you could make all the issues not make any sense except to you).

But all is not lost -- You can create your own issue files.  The game will load any .issue file. So if you create your own new issue files, the game will use them and you can probably use those in multiplayer. Just go to file-> new and start creating.  Just be sure to always hit file->new when switching betwee .issue files since by default the issue editor will try to merge your issues together.

Let's start modifying some traits for single player play:

In this example, we have drilling in ANWR.  Based on polling research, we concluded that Democrats were against it, Republicans for it and independents basically neutral on it.  You're free to disagree.  We also discovered that people in Alaska strongly favored it (no matter which party you belonged to).  But you can go further, you can add other states and decide for yourself on how they feel. In this example, we're making California, which is more strongly against drilling in ANWR having its position created.

You can create your own kinds of issues as much as you'd like.

The Interview Question Editor

The interview question editor is quite a bit more complex. It is actually this editor that we have great hopes of the community putting together interesting questions and other content to extend the single player experience.  The .questions files are in the polmachine\data directory.

In the game, there are several venues that you can appear on.  JoeUser, The O'Maley Scenario, Barry King, 50/50, etc.  You can bring up the questions available for each venue and add your own or edit them.

Questions are treated like trees. They can be as simple or complex as you'd like based on the answers. Let's take a look at this complex one (we want to show off how much work we put into these questions. )

If you're ever on the JoeUser show and get the nuclear terrorist question. Try answering "Well we had it coming" and you will get a lot of follow-up question. This is where a lot of the game's research really paid off. The answers you get to choose from have a lot of depth. They're not just "Yea, I support". They are nuanced and based on real world answers.

The first thing you'll want to do is load up the issue pool. You can hold down the Ctrl key when you get the file dialog to select multiple sets of issues. You'll want these so that the player's answers can affect their positions on the issue.

Adding a question is fairly straight forward. Go to the question item and choose "Add".

You then get this unintuitive dialog:

This is your question pool. It lets you put together questions and answers as "objects" that can then be put together later if you so choose. Click the "add" button to get started.

When you hit the add button, you get this dialog. Just type in the interview question and a summary. A tag will be auto generated. Then choose the forum (such as JoeUser).  And pick a general issue on it.  Sometimes you may want to go back to the issue editor and create new issues for your question to affect. On the respones, click Add:

You can then create your potential responses. And there can be many. On each answer you can put qualifiers. For instance, you can say that only a candidate with an intelligence greater than 4 will have the option for this question. Many questions in The Political Machine have qualifiers on them. So the player who decides that military service is useless may find that certain useful answers are denied them, for example.

The mood item is something we did not implement, we were going to have answers that would affect the mood of the commentator.

Once you have done that, you will want to add issue modifiers. This will determine what issues this response will affect and by how much.

In this example, it changes the player's position on that issue by 3 if they're a Democrat and 2 if they're a Republican.  In the game, if you try to play as a Democrat when you're a Republican or vice versa we use this to penalize the player to a certain degree. A Republican, no matter what, is not going to score as many points as a Democrat on say the environment just as a Democrat will never score quite as many points on a strong military as a Republican. But you can change all that if you disagree with this editor.

The second part you see is how it affects the voters themselves. This is powerful and you should be cautious about it. You can make some issues take on greater importance based on what you answer.

Let's give a different example to show this off:

Let's say we want to have an answer that persaudes people. What we can do is if the player has a very high charisma value then an answer like this comes up:

Then on the issue modifiers:

You can have the importance go way up on all of them.

But there's more you can do:

Have it also affect another issue. Negative values mean you are moving against that issue. So your high charisma convinces TV viewers that you are against campaign finance reform and that THEY should be against it as well.

Once you hit the okay button a couple of times you'll be back to that weird dialog. You'll have the beginnings of a tree.

Let's get really crazy and have a follow-up question:

You can then add additional follow-up answers. When done you'll have this:

Now go back to the question and find the answer you want to follow up and click on it:

And then have its counter question be that question's ID.

You've just made your first compound question.  And you can do that over and over.

Conclusions

Hopefully you will be able to greatly expand on the depth of the game and tweak it to your heart's desire.  With these two editors, you can truly mold the game to reflect your own ideal.

Political Operatives Kit [standalone order for use with retail CD]
Order: $10.00 (Electronic Distribution).  Political Operative Kit includes editors to create your own issues, your own interview questions, and more!  

* If you have already purchased a retail CD from a store and would like to create your own issues and events, use this order item. The $29.95 version above (for new orders direct from Stardock) includes the kit as part of your order.

Complaints about free ice cream

Published on Saturday, August 28, 2004 By Brad Wardell In WinCustomize News

One of the net's top bloggers, Steven Den Beste, has decided to hang up his hat for a bit. Tired of people who mistakenly think they are customers, he's decided to take a break.

I don't think most people realize how annoying it is when people who have paid nothing demand to be treated as if they're customers.

I've written an article on this at JoeUser that gives some specific examples and goes into more detail.

Complaints about the free ice cream

Published on Saturday, August 28, 2004 By Brad Wardell In Business

Never underestimate the ability of human beings to rationalize their behavior.  No matter what it is you give away freely, you will always end up with some people who will rationalize that they are customers and should be treated as such.  

The blogger who inspired me into starting my blog, Steven Den Beste, has decided to take an extended break from blogging.  In a nutshell, he’s fed up.  Fed up with people nitpicking his writing. People who make demands on him as if they were his customers with some right to make demands.  

He puts it thusly:

I've learned something interesting: if you give away ice cream, eventually a lot of people will complain about the flavors, and others will complain that you aren't also giving away syrup and whipped cream and nuts.

This isn’t confined just to those who write articles that they freely share on the Internet. Any sort of free product, good, or service will have people who feel they are entitled to make demands on the creator.  

 So let me share with you what I consider to be the 5 rules of free stuff:  

(1)   Unless money is being paid by you for the product, good or service being provided, you are not a customer. Get over it. You have no rights. Deal with it.  

(2)    Even if you paid money for the product, good, or service under discussion, your ability to make demands decreases depending on how many separations there are between you and the person you are making demands on.  If you paid the person directly, you have maximum leverage. But the more layers there between you and the person you’re talking to, the more diluted your leverage becomes. If I work at Microsoft and I’m posting on some forum, don’t bitch at me that I need to personally solve your Windows problems .  

(3)   If it’s free be gracious about it. Don’t complain that you should get more free stuff from the person. Anything you ask for is you asking a favor of the person providing the free thing. Polite requests = good. Demands = bad.

(4)   Don’t get mad or accuse the person/company of being “greedy” if some of their products/services aren’t free. Who is really the “greedy” one? The person who has given away things for free or the person who, having paid nothing, makes demands for more free stuff?  

(5)   If you think you can do something better then do it. Talk is cheap. Nothing is impossible for the person who doesn't have to deliver the goods.    

Let me give you some examples of free stuff that we regularly get people demanding customer level treatment:  

JoeUser.com
JoeUser is a free blog site I provide with the help of Stardock. The business case for the site is that it doesn’t cost much to provide and enables us to write articles and attract potential customers by its sheer popularity. Eventually it will hopefully pay for itself by having premium blogs. But that amount will still be fairly small.

Even though it is free, every day I get people who email me personally demanding all kinds of things. Not requests -- demands. Requests for help are fine. Demands are another thing. When people start making demands on how the site is run, they need to look up rule #1. If you’re not paying money for the site, you have no rights. You have no right to demand anything. But still, we see people who regularly make public demands or argue how unprofessional I or someone else is. Unprofessional? We’re not being paid to post there. We’re not paid to moderate. We go on there in our free time because we enjoy it. It really gets surreal when I occasionally get people who will create a blog on JoeUser that will call me all kinds of names. Needless to say, those blogs don't last long. Then come the screams of censorship and cries of first amendment protection. There is no first amendment rights on JoeUser. You want rights, then send me a check for $50,000. That's about the amount this site costs to have each year.

WinCustomize.com
This is another free site – to a point. Originally it was completely free. But the site costs hundreds of thousands of dollars a year to run so we eventually had to put a limit on how much stuff you could download before contributing something back. It had a negative affect on its Alexa ranking but we learned something valuable: We'd rather have fewer users and more customers.

Amazingly, we regularly have people who show moral outrage at the idea that they should have to pay. Somehow we are greedy because they want to use our bandwidth for free forever without giving anything back.

ObjectDock
This is one of the most notorious ones. ObjectDock is the world's most popular "dock" program. Docks are programs that let you put short-cuts and tasks and other things and typically "dock" them to an edge.  ObjectDock is freeware. But from day one, there's been a lot of people who have made demands on us to do this or that with it as if they were customers.  Not requests -- demands (requests are fine).

And when we came out with ObjectDock Plus (2 years later), which adds more features than what was in the free version, all hell broke loose.  All kinds of people started calling us "greedy" and worse. Lots of demands were made that its features should be in the free version. Or that we have no right to charge in the first place. Why? Because we made the free version available first (as if that makes sense).  There are other docks available and they're free too. But they're not updated anymore. Only ObjectDock receives regular updates. But do these people make the connection that maybe the reason the free version keeps getting updates is because of the existence of the Plus version? Not likely.

All of our freeware programs tend to get ignored when people describe our company as a whole.  Because we're a (gasp) for profit software company, we get the lunatic fringe anti-capitalistic people who think it's wrong that we sell software at all. Not that they are willing to write software and give it away. But they consider themselves just as much as customers as the people who pay for non-free products.

Like Steven, I get a lot of nit-picking about my blogs and articles and comments.  Usually from people who feel they know more than I do on a given subject.  Maybe they do but there's no way to know since they're not willing to take the time to demonstrate their knowledge. Most of the time when I write I simply don't have enough free time to qualify every statement to the nth degree. Sometimes I have to oversimplify something to get the point across.  I don't have patience for including things that are theoretically possible. I tend to stick with what is practically possible.

Still, some people will pass me links or names of books or articles that I "need to educate myself with" so that I can write a retraction or correction at a later date.  When I don't answer those emails, I'll occasionally get a "You've just lost a reader" as if they paid for the site.

The bottom line is that if you didn't pay for the product, good, or service that you're using you need to be conscious of that.  Don't delude yourself into thinking you're some sort of customer entitled to anything. Any request you make is asking for a favor. No matter what that request is, no matter how reasonable or justified you believe that request to be, you are asking for a favor.

In other words, don't complain about the free ice cream.

Stardock Right-Click is coming...

Published on Saturday, August 28, 2004 By Brad Wardell In WinCustomize News

A new Object Desktop component is in the making - Right-Click.  This program is both very simple and very powerful. 

It's simple in that it only does one thing: Replace your desktop context menu (right clicking on the desktop).  It's powerful because you can put pretty much anything you imagine on that right click menu.

And it's FAST. Very fast. And it's skinnable (of course). First beta should be out in a couple of weeks for Object Desktop users. (www.objectdesktop.com).

The struggle of 3D engine development

Published on Saturday, August 28, 2004 By Brad Wardell In Game Developers
One thing that is definitely nice about console game development is that if your game works on your console, it's going to work on all the other ones.

Meanwhile, in the PC arena, the grass isn't just less green, it's weedy and full of mole holes.

At Stardock we stayed with the whole 2D sprite thing probably longer than we should have. And reviews of our games would tend to be "There's a great game under these 'dated graphics'." And oh we know where you are...the ninjas are on the way..

But the nice thing about 2D graphics is that they worked on everyone's machines. The video driver writers really can't screw up blitting a sprite. So while games like The Corporate Machine, Galactic Civilizations, etc. had "dated' graphics they pretty much worked on any machine.

After Galactic Civilizations, we decided to bite the bullet and move to 3D. 3D is MUCH nicer to code with btw. You can do things with it that not only look nicer but take a lot less time. Zooming, for instance, with very nice scaling of things as you zoom in and out is much easier with a 3D engine for instance even if the game is largely 2D in its presentation.

And for Galactic Civilizations II, we will need that 3D engine because of the ability to design your own ships from scratch and we'll want to make the end result look very seamless which is *easier* with the 3D engine.

But this stuff comes with a drawback. You're pretty much at the mercy of video card driver writers to get it right.

With 2D, it's pretty much always right because, well, if they mess that up, then Windows itself won't likely work right. But with 3D, it depends on what features get used. Example: did the driver writer implement a software T&L feature (like they're supposed to).

So what happens is the game goes out and suddenly you have people with these older budget video cards screaming bloody murder because they game won't work.

And it's that kind of thing that helps drive people to the console. Because THEY are right. The game SHOULD work on these machines.

As a developer, I find this very frustrating. Who's fault is it? Is it the developer's? We ran the game through our compatibility lab that includes machines as old as Pentium Pros with TNT cards (and the game worked on that) to various laptops. No problems. But maybe we should have worked harder?

Our assumption was that DirectX 9 took care of this stuff. It certainly claims that's the case. If the video card doesn't support some feature (like my TNT 1 card certainly doesn't support most of these features) then it's supposed to be emulated in software.

But then we find out that the video driver writers have to support this stuff. Well how does that work? If the video card came out 3 years ago (long before DirectX 9) are the driver makes expected to keep updating it? On the other hand, to use the TNT card again, that's a 7 year old card and it runs fine and I don't even have recent video drivers on it. It's running on a Win2K box with who knows what on there.

So it it the video card manufacturer's problem? In our case, the only problem we've seen are with those older Intel 82whatever chipsets. Not the newer ones (because we tested on those and it worked fine). What I found maddening is a visit to Intel's website has a long list of common games that won't work on them like Rise of Nations. Come on, how can Intel ignore that? Rise of Nations not working on their 3 year old chipset?

But customers don't *care* (nor should they) about whose fault it is. All they know is that they plunked down there $20 to $50 (depending on the game) and that it doesn't work.

And this doesn't count the people who have to upgrade to a given Service Pack or update to the latest driver to get the game to work.

I don't know what the solution to that is. I definitely have a greater appreciation now for what PC game developers go through. I can't imagine the pain that Id must have gone through.

In our case, we're going to make it a mission to work on any cards that don't support the APIs. And then we're going to document what we had to do. Because it's ridiculous.

As a consumer, it seems to me that as long as I install DirectX 9 on my machine the game..should..work.
"

Longhorn feature set dramatically changed..

Published on Saturday, August 28, 2004 By Brad Wardell In WinCustomize News

Longhorn isn't going to be quite the Longhorn we had thought it was going to be.  Faced with looming deadlines Microsoft has had to make some dramatic changes to the Longhorn goal.

So where are they at? For one, WinFS is not going to make it into Longhorn.  It'll come in later.  This being one of the big additions to Longhorn is going to be quite a blow.

The second big change is Avalon. Avalon is the part of Longhorn that third parties have particular interest in as it includes the new compositing engine that could allow users to customize the Windows GUI in ways previously unthought of. 

The good news on Avalon is that it is going to be made into a separate piece that will be able to be installed on Windows XP and Windows 2000. The bad news is that having it become a separate component means that if they don't make their milestones, it too could become like WinFS and be delivered later.

What worries us about putting time constraints on Avalon is that it'll not be done the way it should. If rushed out half-assed, you could end up with something that ends up a "one size fits all" solution.  Where third parties would have to do incredibly hacky things in order to be able to really make use of it.  I'd rather see Avalon come post-Longhorn than to have to write drivers or something to be able to get in there and make use of the Avalon features.

This is especially true if it's going to be something that can be later installed on XP and 2K ala .NET.

Game crashes right after intro

Published on Friday, August 27, 2004 By Brad Wardell In Political Machine

Problem: Game crashes right after intro

Cause: The CD copy protection is not finding a CD ROM drive.

Details: Certain drivers, particularly virtual drives cause the SafeDisc CD-ROM protection to fail.

Solution:
Make sure you have updated to v1.01 or later.  Contact [email protected] and let them know about this. There is a test version of the game that has a different protection method that they can provide you.

You can also contact [email protected].  For additional support options look at the last page of the manual for The Political Machine which provides additional support channels.

Error: Failed to initialize display

Published on Friday, August 27, 2004 By Brad Wardell In Political Machine

Problem: When loading the game you receive this error dialog:

Cause: The game is unable to create a DirectX display device.

Details:
Some low end graphics adapters do not support DirectX 9 properly. This is mostly a device driver issue as properly written drivers will support software equivalents that any remotely modern machine can handle since The Political Machine is not particularly intense graphically (we've run it here on a 6 year old P2-400Mhz machine with a TNT 1 card fine, it's all about the drivers).

Solutions:
If you have the Intel 82815 integrated graphics adapter, we are currently trying to find a solution. Make sure you have downloaded the latest drivers for it. Intel no longer supports this adapter or earlier ones and their drivers did not fully support some Direct3D calls (hence the problem at hand).  We have made resolving this a high priority.

There are some ATI mobile graphics adapters that also do not support the DirectX calls The Political Machine uses.  We have tested it on the Radeon 8500, 9000, and later and it works fine there.  But the ATI Radeon IW and IX seem to have problems.  Make sure you update to the latest drivers on this.

If you have updated to v1.01 you can try this test version:
https://www.politicalmachine.com/test/polmachine101b.zip 

It has enhanced support for 16bit DirectX and may resolve your issue on some video cards.

Make sure you have the latest service pack installed (on Windows XP, some GeForce cards have problems unless they are running SP 1).

Some useful command line parameters:

c:/>polmachine w

c:/>polmachine nointro

(or combine them c:>polmachine w nointro)

These will allow the game to run in a window and skip the intro.  This may or may not help.

We will keep you informed with how things are proceeding.