76
Off Topic / Swollow's Post Birthday
« on: April 03, 2016, 09:21:23 PM »
welcome to blogland
it was my birthday yesterday
I'm one day older than kickflow
it was my birthday yesterday
I'm one day older than kickflow
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
new update
VOTING RELEASED
v0.3 3/5/2016
Commenting
You can now comment on posts
A new button has been added at the top that shows all the comments sorted by most recent first
also added admin buttons to ban users/delete posts
Update Log v0.2 3/4/2016
Front Page
this is where the cancer happens, you can upload images or text files, and they are given a random name and blastered onto the front page, as you can see it's currently very lonely in here
Settings Page
The settings page allowing you to change your "name key" which are the last 4 letters on your identity
last 4 letters start out as "ANON" but can be set to any 4 letter capital combination, the only name that can be owned by multiple users is the string "ANON"
for most users the first 4 digits is a unique string to your account excluding admins who appear as "ADMN" however in the settings pane you can see my unique 4 digits
everything under the IP Session is unchangable
and session is virtually useless as you have no place to input it, its mostly just for informational purposes
however the "Trip Key" or "Session Trip" are the relevant parts
setting your Trip Key ensures that even if your ip changes you will still be using the same account regardless of your IP
its a good idea to copy this down somewhere as it is only saved as a cookie in your browser, however your 4 digit name key is stored on your account
TL;DR: you can set the last 4 digits of your name, copying the Trip Session to the Trip Key locks your account in place regardless of ip changes
Profile Page
this is currently what page you go to when clicking on someone's name, it shows how many posts theyve made, their online status, when they were last active and when their last post was, additionally I will be adding a list of their posts beneath the bottom black line
progress is good
Code: [Select]function gunImage::onFire(%db,%pl,%slot)
heres a vector rotate function which amade did all the work for
{
%up = %pl.getUpVector();
%muzVec = %pl.getMuzzleVector(%slot);
%forward = %pl.getForwardVector();
%muzPoint = %pl.getMuzzlePoint(%slot);
%rightVec = vectorCross(%forward,%up);
%upHack = %pl.getUpVectorHack();
%proj_or[0] = 0.2 SPC %rightVec;
%proj_or[1] = -0.2 SPC %rightVec;
%proj_or[2] = 0.2 SPC %upHack;
%proj_or[3] = -0.2 SPC %upHack;
for(%i=0;%i<4;%i++)
{
%ang = getWord(%proj_or[%i],0);
%axis = getWords(%proj_or[%i],1,3);
%vec = vectorAngleRotate(%muzVec,%axis,%ang);
%p = new (%db.projectileType)()
{
dataBlock = %db.projectile;
initialVelocity = vectorScale(%vec,60);
initialPosition = %muzPoint;
sourceObject = %pl;
sourceSlot = %slot;
client = %pl.client;
};
MissionCleanup.add(%p);
}
}
function vectorAngleRotate(%vec,%axis,%ang)
{
%x = getWord(%vec,0);
%y = getWord(%vec,1);
%z = getWord(%vec,2);
%u = getWord(%axis,0);
%v = getWord(%axis,1);
%w = getWord(%axis,2);
%cos = mCos(%ang);
%sin = mSin(%ang);
return %u*(%u*%x+%v*%y+%w*%z)*(1-%cos)+%x*%cos+(%v*%z-%w*%y)*%sin SPC %u*(%u*%x+%v*%y+%w*%z)*(1-%cos)+%y*%cos+(%w*%x-%u*%z)*%sin SPC %u*(%u*%x+%v*%y+%w*%z)*(1-%cos)+%z*%cos+(%u*%y-%v*%x)*%sin;
}
function player::getUpVectorHack(%pl)
{
%muz = %pl.getMuzzleVector(0);
%forward = %pl.getForwardVector();
%up = %pl.getUpVector();
return vectorAngleRotate(%muz,vectorCross(%forward,%up),$PI/2);
}
input the base vector, the upwards orientation, and the angle
getUpVectorHack is a vector that actually represents the players eye point rotated 90 degrees upwards
the code for the gun fires 4 projectiles all rotated 0.2 radians to the left/right and up/down
Pref | Default | Description |
$Pref::SwolCamMissile_Level | 2 | Admin Level Required |
$Pref::SwolCamMissile_Projectile | rocketLauncherProjectile | Projectile Type |
$Pref::SwolCamMissile_Speed | 75 | Projectile speed |
$Pref::SwolCamMissile_FireRate | 1200 | Delay between fires in MS |
$Pref::SwolCamMissile_DamageOutOfMin i | 0 | Allows missiles/projectiles to damage out of minigame |
$Pref::SwolCamMissile_MissileScale | 1 | Size of projectiles |
$Pref::SwolCamMissile_MissileArray | "0 1 -0.4" TAB "0 -1 -0.4" | Specifies the offset and amount of missiles to fire |
$Pref::SwolCamMissile_Trigger | 0 | The trigger num to activate |
Keith Mansfield - Funky FanfareYES