UDK – multiple instances and a dedicated server on one machine

Hi all,

I am currently working on a multi player tutorial for cooperative game play, and as such I need to work with instances of servers and UDK games.

So some simple tips if you want to run multiple instances of servers/clients, just use the commands below:

To create an instance of a dedicated server:

udk.exe server DM-Deck.udk?listen=true?bIsLanMatch=true

and if you are doing an “adhoc” or “peer to peer” type server, the following will work:

udk.exe DM-Deck.udk?ResX=640?ResY=480?listen=true?bIsLanMatch=true

 

and to create clients (I set the resolution to 640 x 480 to make the screens more manageable and reduce hardware strain allowing more instances)

udk.exe DM-Deck.udk?ResX=640?ResY=480

 

and finally, to open a connection to the server (either one) from the client, just open a console prompt (tab/tidle) and type:

open 127.0.0.1

I hope this helps!

H.

UDK Point and Click source code – new

Hi guys, (and girls)

*Update*

***

There is now a version 2, which is where (due to popular demand) the mouse no longer goes screaming off to the left! The source code has had some minor changes in the HDPlayerController and HDCamera, so if you are working from source, just look at the resetScrollCamera function and boolean variable. The code is uncommented but should be easy enough to understand. To lock and unlock the camera, just press the space bar.

***

As opposed to writing a tutorial (which sometimes I find difficulty to explain) I figured, I would just write a basic point and click source game, and comment it heavily so you can work it out from the inside out. It’s how I learn, and I figured, that this would be a good way to give some people who are struggling a lift

Originally this was a piece of UNI work from many months ago, which I have updated to October build of the UDK. It’s clunky, It’s chunky, and it doesn’t look very nice, but it works, and should give most people a good starting point.

Version 1: UDK point and click source code

Version 2: UDK point and click source code

Controls :

Right mouse – move to the cursor destination

Middle mouse – hold to rotate, release to stop rotating

Space bar – reset the camera to above your pawn

I can’t however take all the credit for this, as it’s based on X9′s tutorial on point and click, so if you want a better idea of how it works, I’d start there!

Hope you find this useful!

H.

SSD upgrade

So, I have finally bit the bullet and bought a Solid State Drive for my Laptop. I can tell you now the performance gains aren’t good. They are INSANE!!!! This has to be the best upgrade I have ever bought for any machine, seriously, if you have a chance, buy one now. Don’t worry about a better processor, or more ram, buy an SSD today an you’ll notice the difference. I may do my first ever review soon, just because it’s so good!

UDK Tutorials by request

Hi all,

I have decided, rather than doing tutorials which I think would be helpful, I will let you guys decide, anything specific that you need, then let me know, and I will cook something up with the source code.

Preferably small tutorials (no can you show me how to do a full FPS with source code nonsense) but building my repotoir so let me know.

H.

I love it when a plan comes together

Ok, I have decided that working on top-secret Android applications (really) is not really good for my credibility as a developer, so I need to spend less time working on things I can’t talk about and more time working on things that I can write about here, so I have created myself a little check-list of things that I need.

  1. A new PC, something ridiculously powerful.
  2. A mac, and an iPhone (I know, it’s treacherous but I need to develop for things other than Android and Blackberry)
  3. A healthy bank account, need something which isn’t preceded by a minus sign 85% of the time
  4. A new car
  5. A house
  6. A boat
  7. A helicopter

So, with the exception of 5, 6 and 7 I think these are all reasonable goal, but to attain them I need your help. I need to build my repertoire of mobile applications, games, programs and tutorials. As per usual, I will be doing the tutorials for free, and making sure they are up to date, but if you are feeling generous, either offer me some work, or hit the donate button, as every penny helps!!!

H.

How to become a great software developer

Courtesy of codeshite, this well documented guide should ice you the 101 of how to become a great programmer.

http://codeshite.wordpress.com/2011/08/15/how-to-become-a-great-software-developer/

remember to follow it to the letter, otherwise your coding standards, and general quality of software development may drop.

H

BOX2D Version 2.2.0 released

An excellent physics engine, worth a look.

Box 2d Physics engine

My thoughts are with Norway

To those of you that follow,

May our thoughts, feelings and considerations be for those of Norway, after the atrocities of yesterday.

The words of the PM Jens Stoltenberg: ‘We are a small nation and a proud nation. No one will bomb us to silence. No one will shoot us to silence. No one will ever scare us from being Norway.’ are touching, and very well spoken.

May the strength of the Norwegian people, and the words of the PM, be a symbol for us all.

H.

“Hello again world” – stay tuned

I have just settled in Switzerland and finally managed to get my life re-organised. I finally have my network connection, Android development suite set up and just about to purchase a new tablet to work on. Doing some more UDK stuff, going to write some small fragments of code, and hopefully will be able to show some tricks that I have learned.

Sorry for not posting for a while, but I have been exceptionally busy, I have moved house twice and moved country once in the last 6 weeks, so it has been crazy, but stay tuned, good things to come.

H.

Android Development – Biozombie (Homescreen)

Just an update to the homescreen, just keeping you updated, it’s layered views, and scales to all phone sizes, now just need to do the same with the OpenGL ES…..

homescreen

homescreen