SA Community Game Dev - For learners too

Aye this. Create a 2nd cam, make it a child of the player and then use a script to switch between the 2. example

Code:
var cam01 : GameObject; // first person camera
var cam02 : GameObject; // third person camera
var player01 : GameObject; //first person controller
var player02 : GameObject; //third person controller
var check; // New check-variable

//start with first person active
function Start() {
    cam01.gameObject.active = true;
    cam02.gameObject.active = false;
    player02.GetComponent(CharacterController).active = false;
    check = true;
}

function Update() {
    if (Input.GetKeyDown ("return")) {
        if(check) {
            cam01.gameObject.active = false;
            cam02.gameObject.active = true;
            player01.GetComponent(CharacterController).active = false;
            player02.GetComponent(CharacterController).active = true;
        }else{
            cam01.gameObject.active = true;
            cam02.gameObject.active = false;
            player01.GetComponent(CharacterController).active = true;
            player02.GetComponent(CharacterController).active = falsee;
        }
        check = !check;
    }
}
Thanks for the example. Using the input string "return" on the keyboard starts the camera change? Seems pretty straight forward.
 
Aye, you can change it to something else using this keycode list

How's your Unity skills? PM me your skype details, I might need some help / advice with Primal Rage... or at least have someone to theory code with. :) I'm trying to get one of the 3D models done and rigged today, then I want to explore how bones and animations work on Unity's side.
 
Ugh that cam switch code is bugging me now. It needs to be optimized. I'll have a look at it over the weekend.

How's your Unity skills? PM me your skype details, I might need some help / advice with Primal Rage... or at least have someone to theory code with. :) I'm trying to get one of the 3D models done and rigged today, then I want to explore how bones and animations work on Unity's side.

I've have just switched over from mono to Unity so I'm not that experienced with it yet. I can have a look if you do get stuck.
 
This sounds interesting, but I don't think I would be able to contribute in any meaningful way.
 
I have been watching some videos on UE4's blueprint system and I must say it does look really handy, takes a lot of work out of the actual scripting.
 
I have been watching some videos on UE4's blueprint system and I must say it does look really handy, takes a lot of work out of the actual scripting.
Yeah that's the thing, it takes the need of programmers to do everything and allowing everyone to get involved. The only thing you need to understand is the different terms. E.g. If statement is called branch, they allow you to create functions like loop then you can amend it to have a timed interval loop with break.
 
Hi Guys
Seems it was only Crableg and I were at the meeting, we decided not to continue meeting as we agreed that everyone who wants to do it, is the right amount to get things going.
Could we all post good times and days this week to meet so we can maybe have everyone there at the same time?
 
I am free Wednesday Thursday and Friday this week, anytime after working hours, from next week won't be able to make it after work, so preferably this week sometime if possible.
 
I'm not part of this but man, people can be unreliable. You will quickly see who talks the talk and who walks the walk. It will probably worthwhile to set up your own little forum or something similar where you can collaborate. Then those who actually do join the real time discussions, they can take the lead and control the project.
 
Yeah I can agree it was pretty disappointing, however I can understand that some people could have had their time pulled somewhere else at any moment. Can agree with most of what people said here. Perhaps the platform of a meeting was the incorrect direction. Will see what can be done to have a forum up. Thing is we want to keep the scope small enough to actually get results. Chatted to my friend who is a great artist, he produced this as a 1/4 done concept art for a south african GTA themed concept art.
Please don't copy or share this, he doesn't like showing half done work, however it might spark a committed interest by all involved parties as we are really serious about this.
uploadfromtaptalk1423632074430.jpeg
 
A separate forum would be easy to set up, made this in 10min using free forum templates: http://sacgd.africamotion.net/ as an example.

I don't mind using something here either, up to the people. The main reason we wanted to get the people together last night was to agree on an engine etc, because me and Archie can't decide that on our own, then it's not much of a community decision.

Maybe we could add a poll to this thread just to choose between Unreal Engine & Unity ? Would help a lot to at least let us start off preparations etc.
 
Back
Top