Helmet Control 0.2
6.787
116
6.787
116
Helmet Control
Now with helmet switcher and permanent mode!!
Ver 0.1 - Super simple script enable/disable helmets -
Ver 0.2 - Enable/disable + cycle helmets + permanent-
Tired of your character magically summoning a helmet when you hop on a motorcycle? How about when you jump in a Chopper?
Preventing you from switching views? Obstructing or tinting your vision in first person?
Requirements:
Controls:
-advanced version-
Notes
My programing is rusty and weak, so I'm open to suggestions for improved code.
I am also open to suggestions for the mod.
Now with helmet switcher and permanent mode!!
Ver 0.1 - Super simple script enable/disable helmets -
Ver 0.2 - Enable/disable + cycle helmets + permanent-
Tired of your character magically summoning a helmet when you hop on a motorcycle? How about when you jump in a Chopper?
Preventing you from switching views? Obstructing or tinting your vision in first person?
Requirements:
- ScripthookV
- Lua plugin for Scripthook V
- Asi loader (dsound.dll or other)
Controls:
; remove helmet and stop helmets from appearing
' enable helmets
-advanced version-
- ] cycle helmets (currently crudely implemented, so some characters may end cycle early)
- \ cycle helmet texture (only some helmets have more than one texture)
Notes
My programing is rusty and weak, so I'm open to suggestions for improved code.
I am also open to suggestions for the mod.
Uploaded: 28. apr 2015
Last Downloaded: okoli 8 ur
40 Comments
More mods by Civilized Mayhem:
Helmet Control
Now with helmet switcher and permanent mode!!
Ver 0.1 - Super simple script enable/disable helmets -
Ver 0.2 - Enable/disable + cycle helmets + permanent-
Tired of your character magically summoning a helmet when you hop on a motorcycle? How about when you jump in a Chopper?
Preventing you from switching views? Obstructing or tinting your vision in first person?
Requirements:
Controls:
-advanced version-
Notes
My programing is rusty and weak, so I'm open to suggestions for improved code.
I am also open to suggestions for the mod.
Now with helmet switcher and permanent mode!!
Ver 0.1 - Super simple script enable/disable helmets -
Ver 0.2 - Enable/disable + cycle helmets + permanent-
Tired of your character magically summoning a helmet when you hop on a motorcycle? How about when you jump in a Chopper?
Preventing you from switching views? Obstructing or tinting your vision in first person?
Requirements:
- ScripthookV
- Lua plugin for Scripthook V
- Asi loader (dsound.dll or other)
Controls:
; remove helmet and stop helmets from appearing
' enable helmets
-advanced version-
- ] cycle helmets (currently crudely implemented, so some characters may end cycle early)
- \ cycle helmet texture (only some helmets have more than one texture)
Notes
My programing is rusty and weak, so I'm open to suggestions for improved code.
I am also open to suggestions for the mod.
Uploaded: 28. apr 2015
Last Downloaded: okoli 8 ur
Where do I put this file ? PLEASE HELP !
Was sick of the f*cking helmet. Thanks for this!!
@deliogales
Extract helmet_control_alpha1.lua (and alpha2.lua i guess) in /scripts/addins/
Cool mod but you need to include readme files with installation instructions.
How to set in cross helmet glasses? :O
What key to press in-game?
I modified your mod a little (for my personal use) and removed the necessity to press the ';' button. I don't like wearing helmets at all and don't like to press a button every time i get on a bike (or switch a protagonist).
@Slash_Alex Fuck! i would like that too. like a permanent no-helmet mod already activate when the game is launched, i have several others mods install, so i have several keys already in use, sadly i don't know how to change the key of the mod, can you either upload your modifications/tell me how you did or tell me how to change the keys in the file? i'd be super grateful! thanks
@OGsnow It's not just about to change a key or smth. 'cause i had to modify the code. But it's not to difficult though.
You have to modify the 'helmet_control_alpha1.lua' file. Open it in the Notepad (or Notepad++) program.
You have to replace this text (almost in the beginning of the file):
if(get_key_pressed(186)) then
PED.REMOVE_PED_HELMET(PLAYER.PLAYER_PED_ID(), true)
PED.SET_PED_HELMET(PLAYER.PLAYER_PED_ID(), false)
end
with this one:
local playerPed = PLAYER.PLAYER_PED_ID()
local player = PLAYER.GET_PLAYER_PED(playerPed)
local playerExists = ENTITY.DOES_ENTITY_EXIST(playerPed)
local playerPosition = ENTITY.GET_ENTITY_COORDS(PLAYER.PLAYER_PED_ID(), false)
if ( PED.IS_PED_IN_ANY_VEHICLE( playerPed, false ) and VEHICLE.GET_PED_IN_VEHICLE_SEAT(PED.GET_VEHICLE_PED_IS_IN( playerPed,true ), -1) == playerPed ) then
PED.REMOVE_PED_HELMET(PLAYER.PLAYER_PED_ID(), true)
PED.SET_PED_HELMET(PLAYER.PLAYER_PED_ID(), false)
end
That's all. You'll never be bothering about helmets anymore.
@Slash_Alex - I've tried 3 mods, the first didn't work and neither the second, the third kind of worked, sometimes the helm would appear sometimes not, weird.com but now, finally! it's working perfectly! fourth time is the charm i suppose.. thanks a bunch man!
Where should we install it
@GTAVModder889 You need to create a folder and name it "addins", without the quotes. Then drag his script into the addins folder. Need to also ensure you have LUA.asi in the same folder where gta5.exe is, in order for it to work. Also, if you don't want to have to toggle this on, and just want permanently no helmet, look up 4 comments from my own, and replace the snippet of code Slash_Alex has provided.
@eshenk Thank you dude!
@Slash_Alex What are these codes for?
@GTAVModder889 You gotta be kidding me. Almost a year has gone since @eshenk wrote you. :)
What codes are you talking about? Use my code if you don't want to wear a helmet at all, to disable it permanently. It's in my message of September 02, 2016 just above.
@Slash_Alex @Civilized Mayhem
is there a way to make no pes have helmets ?
Hello! Can you make a menu for this mod and first-person visor cycling (effect on top and bottom of the screen)?
How do I use this?
@Slash_Alex on va ou pour mettre le .lua
Can anybody add an animation to this? Like the animation used in Mask Equipper? When putting on taking off helmet?