XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 04:02 PM |
| Hello, I am in the process of making a first person shooter game. Does anyone know how to make your hand visible when zoomed all the way in? I've seen this accomplished in games such as Blood and Iron. The weapon I'm using for the game has many animations and it would be nice if I could see the hands when they're playing because the weapon looks like it's floating and its kinda annoying. |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 04:06 PM |
| They recreated hands for the character |
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 04:13 PM |
| Nice to know but that doesn't help me. |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 04:19 PM |
| you can just clone the players arms and weld them to the character. |
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 04:21 PM |
| Hmmm I've thought of that but would that follow the hand animations? Does it even have to be a script or is there like a property or something? |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 04:21 PM |
I wrote a script for this exact purpose actually. http://www.roblox.com/Realism-Mode-Script-FilteringEnabled-Version-item?id=189289733 |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 04:22 PM |
Also you can see a demo of it here: http://www.roblox.com/games/32203081/AWP-Arena
|
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 04:22 PM |
| ^ That script is annoying. You should make it more editable |
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 04:38 PM |
| Got the right idea but I only want to see the arms. Your script glitches the arms inside the torso giving a really weird look. |
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
| |
|
|
| 12 Apr 2015 05:28 PM |
Do you mean like the arms in Call of Duty?
Yeah, I got a script for that.
Septamology - R$0 - Tx35,318 |
|
|
| Report Abuse |
|
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 12 Apr 2015 05:31 PM |
lol you all make it too complicated.
in my framework i did local parts for arms. here are three options for arms that show up in first person:
1 - parts in the camera 2 - parts in workspace (or any other folder or model other than the charactermodel) 3 - change the arms LocalTransparencyModifier to 0
|
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 05:54 PM |
@Septamology where is the script? also I don't understand how to change the hands properties because I don't know where to find them.
|
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 06:03 PM |
> @Septamology where is the script? also I don't understand how to change the hands properties because I don't know where to find them
mate i never said i'd give it to you
Septamology - R$0 - Tx35,380 |
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 06:07 PM |
| Clonetrooper is there a way to edit your script so ONLY the arms show. The script is perfect other than the fact that the torso and legs also show. |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 06:09 PM |
| Look for the function which changes the LocalTransparencyModifier and add a check to see if the part is named "Left Arm" or "Right Arm" |
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 06:20 PM |
function lock(part) if part and part:IsA("BasePart") then part.LocalTransparencyModifier = part.Transparency part.Changed:connect(function (property) part.LocalTransparencyModifier = part.Transparency end) end end
for _,v in pairs(char:GetChildren()) do lock(v) end
char.ChildAdded:connect(lock)
Found the function but I don't know what a check is as I'm somewhat new to scripting Lua. |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2015 06:22 PM |
part.Changed:connect(function (property) if part.Name == "Left Arm" or part.Name == "Right Arm" then part.LocalTransparencyModifier = part.Transparency end end)
|
|
|
| Report Abuse |
|
|
XxMHeatxX
|
  |
| Joined: 17 Aug 2014 |
| Total Posts: 56 |
|
|
| 12 Apr 2015 06:43 PM |
| @Clonetrooper1019 thx a ton adding that piece made it work perfectly. |
|
|
| Report Abuse |
|
|