[Weapon] UAC Standard Issue Rifle

Sprites, textures, sounds, code, and other resources belong here. Share and share-alike!
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
  • Is the resource ENTIRELY my own work?
  • If no to the previous one, do I have permission from the original author?
  • If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
If you answered no to all three, maybe you should consider taking your stuff somewhere other than the Resources forum.

Consult the Resource/Request Posting Guidelines for more information.

Please don't put requests here! They have their own forum --> here. Thank you!
User avatar
Captain Awesome
Posts: 580
Joined: Sun Aug 09, 2009 2:17 pm
Location: U.S.A.

Re: [Weapon] UAC Standard Issue Rifle

Post by Captain Awesome »

This needs to be on Realm 667! :D

Also, I think you could get around the being more useless than the pistol if it had two modes: semi-automatic and automatic. Then you could just say the zombies shoot in semi-automatic mode because their arms are too weak for the automatic recoil.
User avatar
hitmanx
Posts: 428
Joined: Sat Dec 18, 2004 4:58 am

Re: [Weapon] UAC Standard Issue Rifle

Post by hitmanx »

http://www.swfcabin.com/open/1305533894

Here's my rendition of the animation.
User avatar
Z86
Posts: 101
Joined: Mon Jan 24, 2011 5:22 pm

Re: [Weapon] UAC Standard Issue Rifle

Post by Z86 »

Damn! This looks very good, and just the weapon that was missing for me!

I think i'll do some brightmaps for it...


aaaand: here we go:
MARINERIFLE_Bmap.png
The brightmaps should be the exact size of the corresponding sprites. I did it on the same sheet, so positions for frames are the same.

I did not test it, so it might need tweaking.
You do not have the required permissions to view the files attached to this post.
User avatar
Mike12
Posts: 673
Joined: Fri May 13, 2011 9:10 am

Re: [Weapon] UAC Standard Issue Rifle

Post by Mike12 »

Z86 wrote:Damn! This looks very good, and just the weapon that was missing for me!

I think i'll do some brightmaps for it...


aaaand: here we go:
MARINERIFLE_Bmap.png
The brightmaps should be the exact size of the corresponding sprites. I did it on the same sheet, so positions for frames are the same.

I did not test it, so it might need tweaking.

That looks great! Not sure how I'd make it work myself though, I don't really have any decorate knowledge or anything of the sort.
User avatar
Z86
Posts: 101
Joined: Mon Jan 24, 2011 5:22 pm

Re: [Weapon] UAC Standard Issue Rifle

Post by Z86 »

http://zdoom.org/wiki/GLDEFS#Brightmaps

You can read about how brightmaps work here. I pretty much learned all i know from that wiki.
User avatar
WWII44
Posts: 169
Joined: Thu Nov 25, 2010 5:32 pm

Re: [Weapon] UAC Standard Issue Rifle

Post by WWII44 »

Bad Ass, would you mind horribly if I were to try to make an Angled sprite of this?
User avatar
Mike12
Posts: 673
Joined: Fri May 13, 2011 9:10 am

Re: [Weapon] UAC Standard Issue Rifle

Post by Mike12 »

WWII44 wrote:Bad Ass, would you mind horribly if I were to try to make an Angled sprite of this?
Go right ahead. I'd recommend using the NAM M-16 as a base, since that was the base for the reloading frames. That way, you could pretty much just use the same reloading frames as well.
User avatar
WWII44
Posts: 169
Joined: Thu Nov 25, 2010 5:32 pm

Re: [Weapon] UAC Standard Issue Rifle

Post by WWII44 »

Mike12 wrote:
WWII44 wrote:Bad Ass, would you mind horribly if I were to try to make an Angled sprite of this?
Go right ahead. I'd recommend using the NAM M-16 as a base, since that was the base for the reloading frames. That way, you could pretty much just use the same reloading frames as well.
Ok, though I'm not entirely sure how to script a weapon to reload, my attempts always end up with the gun reloading when I stop firing(like how the plasma rifle or the HacX Uzi behaves when you release the trigger)
User avatar
HellCattX
Posts: 505
Joined: Thu Feb 26, 2009 2:10 pm

Re: [Weapon] UAC Standard Issue Rifle

Post by HellCattX »

it depends on how you want to go about it, me i use the duke nukem 3d style auto reload after empty mag, with no reload button, code like this:

Code: Select all

ACTOR Berreta : DoomWeapon
}
	Fire:
		BERF A 0 a_GunFlash
		BERF A 3 A_FireBullets(1, 2, 1, 9, "BulletPuff", 1)
		BERT E 3
		BERT E 0 A_FireCustomMissile("BulletCasing",0,0,1,4)
		BERT B 3
		BERT A 1 A_CheckForReload(12, "Rest")
		BERR A 0 A_PlaySound("weapons/Preload")
		BERR BCDF 5
		BERR DF 5
		BERR G 5 A_FireCustomMissile("EPTPISMAG",0,0,1,1)
		BERR HI 5
		BERR FDCB 5 
		BERT A 5 A_ResetReloadCounter 
		BERT A 5 A_ReFire
		Goto Ready
	Rest:
		BERT A 1 
		BERT A 1 A_Refire
		Goto Ready
thats just one of the berreta's i've made, cut the code just to show the reload part. The Rest: Code is VITAL to make the reload sequence work.
User avatar
WWII44
Posts: 169
Joined: Thu Nov 25, 2010 5:32 pm

Re: [Weapon] UAC Standard Issue Rifle

Post by WWII44 »

thank I could really use it one of thease days.
marble
Posts: 64
Joined: Mon Jun 01, 2009 9:15 am

Re: [Weapon] UAC Standard Issue Rifle

Post by marble »

why is there a recil animation? it's way easier to do it with offsets. it also takes less space.
i never understand why people prefer to put the same sprite in a wad several times, with different offets, instead of doing it with decorate.
User avatar
InsanityBringer
Posts: 3392
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: [Weapon] UAC Standard Issue Rifle

Post by InsanityBringer »

the gun actually tilts upwards some in the recoil animations, something that can't be done with offsets.
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [Weapon] UAC Standard Issue Rifle

Post by Xtyfe »

Is it possible to have this modded to use the shotgun muzzle flash?
Gez
 
 
Posts: 17937
Joined: Fri Jul 06, 2007 3:22 pm

Re: [Weapon] UAC Standard Issue Rifle

Post by Gez »

Look here for a less alpha-ish version of the flash.
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: [Weapon] UAC Standard Issue Rifle

Post by Xtyfe »

Gez wrote:Look here for a less alpha-ish version of the flash.
Thanks, that's perfect :D now matches stuff

Return to “Resources”