Scripts / Increase gun model size

Author
Message
Zero_HP
6
Years of Service
User Offline
Joined: 31st Mar 2017
Location: Leicester
Posted: 12th Jun 2017 04:58
How would i go about increasing the size of a gun model? I've worked out how to increase the size of the gun entity itself, so in the editor and test game it's larger before pick up, but as soon as I pick it up it's back to the original size. Is it possible to make a held picked up entity larger? (so the gun is bigger once picked up and being used)
I'm not a box of avocados, Logan
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 14th Jun 2017 20:18 Edited at: 14th Jun 2017 21:29
[img]null[/img]I think you would have to resize the hud to,also scale the animation to suit.as the pickup and hud are two different models. (Not completely sure but I think this is how it works).

This is one of the hud x files

[/img]

Dave
Windows 10 Pro
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 14th Jun 2017 21:09
The mesh you pick up is of course not the same mesh you will later hold in hands. The hands and the gun are the same model.

To modify the gun you hold you will have to go to files/gamecore/guns and edit the HUD.x file.

Zero_HP
6
Years of Service
User Offline
Joined: 31st Mar 2017
Location: Leicester
Posted: 19th Jun 2017 00:20
Edit it in what way Wolf? I'm unfamiliar with a lot of modelling stuff, so not sure what I'd need to edit
I'm not a box of avocados, Logan
granada
Forum Support
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 19th Jun 2017 10:07
You would have to scale the hud x up in something like fragmotion,the pic above is from fragmotion.you would also have to edit animation to suit the model or when you pick up the weapon it will revert to the old size .hope this helps.

Dave
Windows 10 Pro
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Errant AI
Forum Support
17
Years of Service
User Offline
Joined: 24th Aug 2006
Location: [REDACTED]
Posted: 20th Jun 2017 04:25
You can also just change the weapon FOV slider (lower value = bigger) to make the weapon take up more screen space. If the weapon is tiny in the player's otherwise OK-sized hand, then you will need to edit the weapon as these guys are talking about.
Gigabyte P67A-UD4-B3, Intel Core i7 2600K (passmark 8555), 16GB Corsair DDR3, EVGA GTX 970 SC (passmark 8637), Win10 Pro 64-bit, Primary monitor @ 1920x1080, secondary monitor @ 1280x1024
Zero_HP
6
Years of Service
User Offline
Joined: 31st Mar 2017
Location: Leicester
Posted: 20th Jun 2017 04:37
Thanks guys, I'll see what i can do (and come crawling back if i mess it up)
I'm not a box of avocados, Logan

Login to post a reply

Server time is: 2024-03-28 16:24:06
Your offset time is: 2024-03-28 16:24:06