mercoledì 30 novembre 2011

Internet, best thing after women and alcohol...

Today, just to leave the routine of getting crazy over a script that does not work properly, I ve done more research looking a bunch of documentary on jails,  prison life,  and discovered how a penitentiary house work. I also get more information on how my level should look like and how to implement some idea I had but I was not sure if they would have actually fit the "jail mood". Next step is to make the script work and learn how to fly....I 'm more confident to be able on doing the second one.

lunedì 28 novembre 2011

Once again....script

the stamina script is now up and running, work perfectly, I made in such a way that the logs write (at least now to see if it works) when the stamina is replenished. I also polished the whole script in order to make fewer file, putting a lot of stuff in the pawn file, and some other things in the player controller class. I was made to change the vision accordingly to the target Im looking at, but it totally created something that actually made no sense, physically and logically, J .Valentine is whiteness of that horrible thing I do not dare call "script". I kept researching on internet for my targeting system, but I ve found only people that knew less than me, which is not encouraging. I also ket doing concept, but did not uploaded, I'm atm focusing on the script because of the fact that the pitch is in like 3 weeks.

venerdì 18 novembre 2011

Script Advances

Iw as able to create a binded function that call the lock on system. Unfortunatelly, I'm finding the socket with the correct name, but I'm finding the one on me, and not the one on the enemy, I know where the problem is, I just don't know what to change that "pawn" line of script with. Im working on it, let's see how it goes, I was able also to print the location in the log file while I'm playing it. I ll continue to work and see how it goes. Today, after lesson, Ill start to subdivide command with different states, which should be fairly easy, and would allow me to have different set of commands, and have different sets of base animations (hopefully)

lunedì 14 novembre 2011

Possible title?

While doing my designs for the jail uniform, I  just scribbled on the uniform a number, that in all the movies is printed on the jacket of the prisoner itself, on the moment I wrote my P number from Uni. It actually fits, maybe it does not work as a title, but it will surely be useful to recognize my character, and naming him without give him a name.

Baby please make a change...I know it will do you good...

Today I worked on small, but significant detail such as, pawn velocity, no double jump, jumpZ, side movement, backward movement etc etc....
It actually helped me a lot to get more grip on the Unrealscript, that sometimes make no sense to common human being. I also made the first key binding. Now it just put a sentence in the log file, butI just need to change the line inside my exec function with the code to locate the socket, and set as view target the coordinates. I had another look at that and I miserably fail. I was not impressed by my scripting skill, neither from the official UDK tutorial.  On the other side of the coin, I imported (successfully ) all the other code I had already created, deleting all the error and warnings they where giving me compiling.
I can say that today was kinda of a drawn between me and UDK. Tomorrow should go better, I ve been researching all evening on the single native function of the engine, and I guess I ve found something that could be useful.
The fact that I was not able yet to put my hands on SKYRIM was a determinant factor on my attendance to my own "study session".

venerdì 11 novembre 2011

"La Vida Loca"

I sarted to work on the main character design, and the first thing I had to choose was...where is this guys gonna be from? So I started doing different skin-tone example.
I ve choose to use the "mexican" for different reasons. First, I can't actually remember a game with a mexican protagonist (except a 3rd person shooter with "vida loca" in the title, or something like that). Also, (biggest reason of all) mexiacns have a huge tattoo tradition, with a lot of different meanings. I started the research and to do some really fast sketch for them, I have almost finished the design for one of the biggest (a girl-skull resembling the day of the dead). I sketched different jail uniform, and at the end I created the concept for two, in order to decide which one I prefer.

Over that, I  made different iteration of the map, (see notebook) deciding what kinda of jail I wanted, ad the main sector of it, with the different way of mapping different rooms. 

domenica 6 novembre 2011

Sockets VS Volumes

Asking to people on the unreal forum, Iw as suggested to look into sockets instead of volumes, as regards my lock on system. The code, that I ve founded on an actual UDK tutorial(pointed out by a dude on the forum), seem to work fine for what I'm planning to do, so now the testing will start. It basically is a function to detect a particular socket, get the location of it, and give you the opportunity to actually use those coordinates to whatever you want (became camera target ?). Hopefully it will work at my advantage

http://udn.epicgames.com/Three/SkeletalMeshSockets.html

giovedì 3 novembre 2011

Unreal Script, the language that Satan use to talk to us

I've spent plenty of hours trying to make a damned function yesterday, in order to advance with my "Lock on System", but there is no way to actually find the function in UDK that actually get the location, I ve looked so much into the Seq_Act GetLocation AndLocation, but there is no actual function in there. I also spent hours looking into GetTargetLocation, just to discover that wanst what I bought it was. I'll be honest after 6 hours of trying doing stuff and not getting anything out of it, I got really pissed.  
I ve posted a question in the UDK forum trying to get some answer back, or at least some one that say something, (http://forums.epicgames.com/threads/853767-Target-lock-system-get-location-of-a-volume-in-ureal-script) so now I'm waiting. In the meanwhile, I wrote another small script in order to have a tidier developing process, creating a new volume named "TargetVolume", making it available in the editor, and using those just for my "Lock On system". (It also premise me to not get mad and destroy my computer due to the constant failures)
This is the code:

//========================================================================
// Target Volume
//========================================================================

class TargetVolume extends Volume
showcategories(Movement)
placeable;

/** Is the volume enabled by default? */
var() bool bEnabled;

/**
 * Overriden to set the default collision state. 
 */
simulated event PostBeginPlay()
{
Super.PostBeginPlay();

SetCollision(bEnabled, bBlockActors);
}

defaultproperties
{
bStatic=false

bAlwaysRelevant=true
bReplicateMovement=true
bOnlyDirtyReplication=true
RemoteRole=ROLE_None

bColored=true
BrushColor=(R=255,G=0,B=0,A=255)

bEnabled=true
}