Trying to make hitmark script for 1.3 / 1.4

User avatar
virus
Posts: 474
Joined: Wed May 22, 2013 10:27 pm
Contact:

Re: Trying to make hitmark script for 1.3 / 1.4

Post by virus »

DaRk wrote:Just to make it not look like S_hift is talking to himself.
Good Guy Greg.

Shift, we're all keeping up with updates. Thanks.
[NHOP]Virus
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: Trying to make hitmark script for 1.3 / 1.4

Post by DaJ4ck3L »

This is what I needed to make mine better.

Code: Select all

$Presto::screenSize["320x240(V)"] = "320 240";
$Presto::screenSize["400x300(V)"] = "400 300";
$Presto::screenSize["480x360(V)"] = "480 360";
$Presto::screenSize["512x384"] = "512 384";
$Presto::screenSize["640x400"] = "640 400";
$Presto::screenSize["640x480"] = "640 480";
$Presto::screenSize["800x600"] = "800 600";
$Presto::screenSize["1024x768"] = "1024 768";
function Presto::ScreenSize() {
	%res = $pref::videoFullScreenRes;
	if ($pref::VideoFullScreen) {
		%posRes = $Presto::screenSize[%res];
		if (%posRes != "")
			return %posRes;
		}
	return $Presto::screenSize["640x480"];
	}
who knew presto was so badass? though i think i might need to add a few resolutions to that though...

also shift, this is what you were looking for.

Code: Select all

function mHUD::CreateBitmap(%frame, %name) {
	%var = newobject(%name, FearGuiFormattedText, 0, 0, 255, 255);
	addToSet(%frame, %var);
	if ($mHUD::DebugMode) echo(%name @ "\(" @ %var @ "\) Created in " @ %frame);
	return %var;
	}	
it's using the same method that im using atm. creates a hud, then toggles it on and off.
Image
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: Trying to make hitmark script for 1.3 / 1.4

Post by S_hift »

perrinoia udpated it, but it only makes the reticle blink. Its not really ahitmarker

Code: Select all

    function onClientMessage(%client, %msg)
    {
       if(%client)
          $lastClientMessage = %client;

       // filter messages here
       if(%msg == "~wButton3.wav");
       {
          %maxWinks = 2;
          %WinksPerSecond = 2;
          for(%i = 0; %i < %maxWinks * 2; %i++)
              Schedule("mHUD::SetVisible(reticle, "@ %i % 2 @");", %i / (%WinksPerSecond * 2));
       }
       return true;
    } 
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: Trying to make hitmark script for 1.3 / 1.4

Post by S_hift »

Crow, these are the hitmark variations I made in tribes bmp format. They can't be opened unless you convert them. They should be transparent.
Attachments
Hitmarkers.zip
(991 Bytes) Downloaded 53 times
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: Trying to make hitmark script for 1.3 / 1.4

Post by S_hift »

Updated to 64x64
Attachments
Hitmarks64x64.zip
(1.03 KiB) Downloaded 55 times
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: Trying to make hitmark script for 1.3 / 1.4

Post by DaJ4ck3L »

your dream has come true shift.

www.thelandofoz.net/hitmark
Image
Owner
Site Admin
Posts: 940
Joined: Fri Dec 09, 2011 3:19 pm

Re: Trying to make hitmark script for 1.3 / 1.4

Post by Owner »

Presto main and original website still works. I know i looked at it few months back. I forget the link name but im use you can google it and find it.

Thanks!

Owner
Image
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: Trying to make hitmark script for 1.3 / 1.4

Post by S_hift »

+1 for tribes evolution. I don't know why anyone hadn't done this before. Anyway here are some variations of the HitMark.png for 1.4


I've tested this size out on 1024x768 it should look good on other resolutions. Its a very subtle design, tactile, and non distracting. The white one is probably the best one for the crosshairs I've posted. The green one probably matches well with some of the stock reticles.
Image
Image
Image
Image
Attachments
HitMarkVariations.zip
(12.25 KiB) Downloaded 59 times
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
User avatar
browneyes
Posts: 402
Joined: Mon Mar 03, 2014 12:14 am

Re: Trying to make hitmark script for 1.3 / 1.4

Post by browneyes »

fuuuuuuk!!!! i used it on this morning and its GREAT!!!!!
it gives me good feeling of shooting.
Image
Image
User avatar
S_hift
Posts: 1963
Joined: Fri Dec 23, 2011 1:42 pm

Re: Trying to make hitmark script for 1.3 / 1.4

Post by S_hift »

yeah sometimes you can't hear the hit sounds in the fray, it definitely helps to see it
Image <--Click here to subscribe to S_hift's youtube
Click here for full access to all my tribes downloads
Post Reply