This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vector3 newLocation(){ | |
newLocation = new Vector3(Random.Range(-40,40),Random.Range(-40,40),Random.Range(-40,40)); | |
while(Vector3.Distance(playerLocation, newLocation) < 20){ | |
newLocation = new Vector3(Random.Range(-40,40),Random.Range(-40,40),Random.Range(-40,40)); | |
} | |
return newLocation; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float PI = m_oNext.m_oPersonalInfluence.GetCurrentValue(); | |
+ float opinionOfPlayer = GetOpinionOfCharacter(ECHAR_ID_COREY); | |
+ float formalAuthority = 0.0f; | |
- leadershipPotential /= 2.0f; | |
+ for (int k = 0; k < (int)m_pkoMeeting->GetCharacters().size(); k++) | |
+ { | |
+ CCharacter &roLookedCharacter = *m_pkoMeeting->GetCharacters()[k]; | |
+ if (ECHAR_ID_COREY == roLookedCharacter.GetId()) | |
+ { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float PI = m_oNext.m_oPersonalInfluence.GetCurrentValue(); | |
float opinionOfPlayer = GetOpinionOfCharacter(ECHAR_ID_COREY); | |
// Gather some formal authority values | |
float formalAuthority = 0.0f; | |
float yourFormalAuthority = 0.0f; | |
float formalRespect = 0.0f; | |
for (int k = 0; k < (int)m_pkoMeeting->GetCharacters().size(); k++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CActionTypesSystem *poActionTypesSystem = GetMeeting()->GetActionTypesSystem(); | |
CCharacter &oFocalCharacter = GetMeeting()->GetFocalCharacter(); | |
float fGeneralDirection; | |
float fPersonalAlignement; | |
float fIdeaPlayingTension; | |
float fPotentialGroupAlignment; | |
float fInactivityCharacterUpdate; | |
float fTotalTensionIncrease; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float PI = (m_oNext.m_oPersonalInfluence.GetCurrentValue() * 25.0f) / 100.0f; | |
float opinionOfPlayer = ((GetOpinionOfCharacter(ECHAR_ID_COREY) + 5.0f) * 100.0f) / 10.0f; | |
// Gather some formal authority values | |
float formalAuthority = 0.0f; | |
float yourFormalAuthority = 0.0f; | |
float formalRespect = 0.0f; | |
for (int k = 0; k < (int)m_pkoMeeting->GetCharacters().size(); k++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChloeDriver { | |
public static void main(String[] args) { | |
// Create our new linked list | |
AlphaList mainList = new AlphaList(); | |
// Add three strings to it | |
mainList.addItemEnd("Apples"); | |
mainList.addItemEnd("Orange"); | |
mainList.addItemEnd("Pizza"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Net; | |
using DG.Tweening; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
public class MouseController : MonoBehaviour | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=3072 | |
sudo /sbin/mkswap /var/swap.1 | |
sudo chmod 600 /var/swap.1 | |
sudo /sbin/swapon /var/swap.1 | |
sudo yum update -y | |
sudo yum install -y wget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Being a leader or a good team member involves taking responsibility for the outcome of your conversations.| | |
\"The cautious seldom err.\" | |
- Confucius| | |
One challenge for anyone trying to develop their ability to communicate effectively is to accept that they may not be willing to explore options that are against their intuition. | |
Your development only comes from from thoughtful and deliberate exploration|\"Experience is what you get when you don't get what you want\" - Randy Pausch| | |
A temptation for anyone who is upset with the outcome of their group is to blame other members. Effective team members don't do this, they recognize that since their only can control themselves they ask the simplest of questions: | |
\"What can I do to improve the outcome?\"| | |
\"If I had eight hours to cut down a tree, I would spend six of them sharpening my axe\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" | |
echo "vLeader Geographic Benchmark :: " | |
echo "" | |
echo "Begin Packaged Download Test :: " | |
echo "" | |
echo "Packaged Benchark (EC2) 1/3..." | |
wget https://data.simulearn.net/vl_blob.zip | |
rm vl_blob.zip |