CommieBastard's (formerly known as Hot Dog's) Weapon Moddery

Released modifications for the OpenSpades client.
Forum rules
Release, download, and praise or criticize completed modifications. For installation and creation help, please visit the OpenSpades general discussion forum.
15 posts Page 1 of 1 First unread post
Hot Dog
Blue Master Race
Blue Master Race
Posts: 83
Joined: Sun Dec 22, 2013 2:36 am


Name change due to the fact I go by CommieBastard ingame. Anyways...
Hello and welcome to my mod page. Here you can find my attempts at high quality, mainly vintage, firearms and grenades.
Feel free to leave comments, criticisms and suggestions. Now that that's is out of the way, let's get to it!

Walther P38
Image

Download: http://db.orangedox.com/Orjr4Hh1UV3NRpRkIY/P38.zip
Spoiler:
Image
Image
Previews

M67 Grenade
Image

To Do list
AK74
Finish PPsh41 (stick and drum mag, plus model with eotech sight and fore grip).
Fiddle with M67.

And finally:
How do you adjust the position of the hands when sprinting? Thanks Chameleon!
Last edited by Hot Dog on Thu Dec 25, 2014 11:55 pm, edited 14 times in total.
Warp
Green Master Race
Green Master Race
Posts: 704
Joined: Mon May 19, 2014 4:07 pm


Nice mods- P38's barrel is a little too small.

As to the questions- You can't do either, except maybe the hands, but the positioning of those does depend on the size/positioning of the weapon.
Hobo Moses
Deuced Up
Posts: 59
Joined: Tue Aug 05, 2014 4:54 pm


When I clicked Forum, I thought there would be hotdog guns
I was wrong
Chameleon
Modder
Modder
Posts: 601
Joined: Thu Nov 22, 2012 6:41 pm


Well if you want to mess with scripts...

I found in "Scripts/Reference/" folder "IViewToolSkin.as" file:
Code: Select all
/** Receives a value that indicates whether the owner of the tool is sprinting.
* 0 = not sprinting, 1 = sprinting. */	
  float SprintState { set; }
So you could try mixing that with:
Code: Select all
Vector3 LeftHandPosition ()
Vector3 RightHandPosition ()
Which gives you:
Code: Select all
If (SprintState>0.5f) 
{
  float per = (SprintState - 1.f) / 0.5f; 
  /**NOTE: i am not sure about 1.f value; it might as well be 0.f or even be (1.f - SprintState)*/
  leftHand = Mix(leftHand4, leftHand5, SmoothStep(per));
}
You will get it right after 100 times.

Also: You will need to rotate the gun with "CreateRotateMatrix(Vector3(0.f, 0.f, 0.f), per*0.f);"
Download my AKM rifle or M1 Garand, open up View.as
Hot Dog
Blue Master Race
Blue Master Race
Posts: 83
Joined: Sun Dec 22, 2013 2:36 am


Thanks for your help Chameleon, do you have any ideas about my issue with grenades though?
Chameleon
Modder
Modder
Posts: 601
Joined: Thu Nov 22, 2012 6:41 pm


Well not really. I should look into scripts, but I doubt I'll find anything. Now I can change only the size of grenade you or your enemies carry, but not the size of a thrown one.
EDIT: Casing.kv6, Grenade.kv6 cannot be scaled/rotated via scripts.
(It might be possible, but that would take a hell lot of scripting. Like writing a couple thousand lines from scratch.)
Hot Dog
Blue Master Race
Blue Master Race
Posts: 83
Joined: Sun Dec 22, 2013 2:36 am


Ak74 in the works!
ak74EarlyLook.png
ak74EarlyLook.png (15.96 KiB) Viewed 9753 times
I have no idea how this is going to look in-game, should be interesting though. Also note that the area to the left of the ejector port is too long and will be changed.
Chameleon
Modder
Modder
Posts: 601
Joined: Thu Nov 22, 2012 6:41 pm


Looks good... Shouldn't there be holes instead of black blocks in wooden part?
bloodfox
Post Demon
Post Demon
Posts: 2206
Joined: Mon Oct 21, 2013 4:32 pm


are you using voxelshop?
Hot Dog
Blue Master Race
Blue Master Race
Posts: 83
Joined: Sun Dec 22, 2013 2:36 am


Chameleon wrote:
Looks good... Shouldn't there be holes instead of black blocks in wooden part?
Good point, I'll change that.
bloodfox wrote:
are you using voxelshop?
Yeah, I'm on a mac so I'm stuck with it. This makes it a little tricky since it doesn't have a pivots function like slab6 (as far as I know).
bloodfox
Post Demon
Post Demon
Posts: 2206
Joined: Mon Oct 21, 2013 4:32 pm


Hot Dog wrote:
Chameleon wrote:
Looks good... Shouldn't there be holes instead of black blocks in wooden part?
Good point, I'll change that.
bloodfox wrote:
are you using voxelshop?
Yeah, I'm on a mac so I'm stuck with it. This makes it a little tricky since it doesn't have a pivots function like slab6 (as far as I know).
Hmmm... I see your mistake there. Don't go for Mac. Then again, why the hell would you want windows 7?
Warp
Green Master Race
Green Master Race
Posts: 704
Joined: Mon May 19, 2014 4:07 pm


bloodfox wrote:
Hot Dog wrote:
Chameleon wrote:
Looks good... Shouldn't there be holes instead of black blocks in wooden part?
Good point, I'll change that.
bloodfox wrote:
are you using voxelshop?
Yeah, I'm on a mac so I'm stuck with it. This makes it a little tricky since it doesn't have a pivots function like slab6 (as far as I know).
Hmmm... I see your mistake there. Don't go for Mac. Then again, why the hell would you want windows 7?
Bloodfox uses Vista :D
Zekamalikyd
Modder
Modder
Posts: 4219
Joined: Mon Apr 01, 2013 3:40 pm


7 is good fuck off
bloodfox
Post Demon
Post Demon
Posts: 2206
Joined: Mon Oct 21, 2013 4:32 pm


Warp wrote:
bloodfox wrote:
Hot Dog wrote:
Chameleon wrote:
Looks good... Shouldn't there be holes instead of black blocks in wooden part?
Good point, I'll change that.
bloodfox wrote:
are you using voxelshop?
Yeah, I'm on a mac so I'm stuck with it. This makes it a little tricky since it doesn't have a pivots function like slab6 (as far as I know).
Hmmm... I see your mistake there. Don't go for Mac. Then again, why the hell would you want windows 7?
Bloodfox uses Vista :D
I was in a forced state. If anything, you could say that Isis held me at gun point to use vista.
lucygp


This makes it a little tricky









_____________________________________
Fut coins
15 posts Page 1 of 1 First unread post
Return to “OpenSpades MODs”

Who is online

Users browsing this forum: No registered users and 6 guests