PHP States

I received an email a couple days ago from a UScript developer who was interested in applying something that seems to be pretty useful in UScript to provide a similar interface in PHP5. States. UScript pt States provide a developer with a means of encapsulating code, much the same way many of us have been doing for a long time with switches, and define methods and change their desired functionality.

switch($var)
{
    case "quick":
        include "overview.php";
        break;
    case "full-view":
        include "full.php";
        break;
    default:
        include "frontpage.php"
        break;
}

This may not be the best example for switches and their functionality, I don’t even suggest you necessarily use this, but it shows one thing. Changing functionality, based on variables. I am looking into a solution that is not only useful, but is at least readable.

this past weekend was quite an exciting one

this past weekend was quite an exciting one

Today is my dad’s birthday, I saw some friends I had been neglecting for far too long, and I kick started work on OMS. For those of you who are new to Gneu and our delusions of grandeur I’m sure this would come as a bit of a shock, but we intend to make a game. Not just any game, mind you, but one that is not made for everyone. It is going to be tailored to the concept of emulation of reality. We have quite a few notes about our goals up on the wiki, and I have another 12 paragraphs to add in the coming weeks. Some important links are at the end of this article.

Continue reading “this past weekend was quite an exciting one”

Jump Mod v 2.0

I made some significant changes to the Jump Mutator.

Most imporant is the on the fly updating of the settings. All you have to do is type in one of the strings into your console and things will be set in motion. This is a destructive process, however. If you choose to use these mutate commands to change your mutator you are going to overwrite your configuration settings.

  • Mutate JumpMod SetMaxJumps n
  • Mutate JumpMod SetJumpBoost n

These are typed into your command console (F10 to get to it typically).

n is an integer

The SetJumpBoost value is scaled just as the one on the configuration dialog is (1-10) and extraneous values are replaced with the default value of 4.

These entries are both case insensitive. More Info

As expected, Work has commenced…

Work has begun mapping out the mod I plan to build with the UT3 release. So far it looks like its going to be a military simulation and revolve around reality. While I can already hear a few of my critics complaining about my choice to do so I really don’t want to trouble any of you too much. I have some very fun ideas and above all else I plan to respect the release early, release often mode of development to actually test out much of what I have been preaching to the mod communities that I have contributed to over the years.

Mutators are still in the works, allowing me to learn the engine more and more as I continue development but the overall goal is going to be this mod. Information about the mod is available here.

Thank you all, I have some reading to do so I will catch you later.

staying true to myself

Always a stickler for making development, and deployment for that matter, easy. It shouldn’t be too amazing to any of you that I would put energy into packaging my Mutators in a quick and easy method. I got tired of the process of tracking the files down and raring them individually, so I wrote this tool that allows me to quickly rebuild, and rar the files at the drop of a hat – or rather a double click of the mouse.

She works, give her a try…