Bully-Board
Bully Modding Section => Requests => Topic started by: Matsuki on October 15, 2015, 01:13:54 PM
-
Hi community I have a request from long ago wanted to request :hmm:
Johnny Vincent total modification with respective boss style,animations and skin (animations is optional :P ) in one
no without clock..... I mean the time allowed to elapse normally
Thanks good day everyone.
-
Do you want in lua or?? And I don't understand
I mean the time allowed to elapse normally
-
i want one script with these features no freezed time :)
-
You can use Not another selector mod by The Dream Is Dead. It has all fighting styles and strafes with it. You can use all characters with that mod.
-
Yes actually use this mod the problem is the freezed time if one could just fix that little detail :wacko:
-
Yes actually use this mod the problem is the freezed time if one could just fix that little detail :wacko:
What do you mean frozen time?
-
Maybe he is saying that the time is freezed during gameplay :D
-
Time isn't actually frozen in that mod or any others. It just moves a lot slower and the clock is not shown. You have to do a little bit of extra coding to fully freeze time to the point where you don't even get to night-time.
Time is done via the STimeCycle file and it is still referenced by the main game files whether you choose to load it in your lua script or not. Just figured I would put that out there for just incase no-one realized that yet. ;)
-
Hmm I thought it was done by the game internally and all STimeCycle does is define some functions to respond to certain times being reached, for example to ring the bell at certain times or say whether it is past curfew or not.
-
To freeze the time clock inside the game just add the code
PauseGameClock() or UnPauseGameClock()
to your mod and it will freeze the clock completely. Here is the script you wanted also I don't action node script but here it is.
function MissionSetup()
PlayerSetHealth(800)
AreaTransitionXYZ(0, 477.5798, -107.3748, 16.6911)
SoundPlayInteractiveStream("MS_BikeFunLow.rsm", 0.5)
SoundSetMidIntensityStream("MS_BikeFunMid.rsm", 0.60000002384186)
SoundSetHighIntensityStream("MS_BikeFunHigh.rsm", 0.60000002384186)
PlayerSwapModel("GRlead_Johnny")
PedSetActionTree(gPlayer,"/Global/Player","Act/Player.act")
PedSetAITree(gPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
F_PlayerFail = function()
if PedIsDead(gPlayer) then
SoundPlayMissionEndMusic(true, 6)
MissionFail(true, false, false)
Wait(4000)
CameraSetWidescreen(true)
CameraFade(700, 0)
AreaTransitionXYZ(14, -501.4, 316.11, 31.5)
Wait(500)
CameraAllowChange(true)
SoundSetAudioFocusPlayer()
CameraReturnToPlayer()
CameraReset()
CameraSetWidescreen(false)
PlayerSetControl(1)
end
F_LoadAnim = function()
LoadAnimationGroup("Cheer_Cool2")
LoadAnimationGroup("NPC_Adult")
LoadAnimationGroup("TSGate")
LoadAnimationGroup("SCgrdoor")
LoadAnimationGroup("Sbarels1")
LoadAnimationGroup("Area_School")
LoadAnimationGroup("Px_Rail")
LoadAnimationGroup("DO_Grap")
LoadAnimationGroup("1_07_SaveBucky")
LoadAnimationGroup("TSGate")
LoadAnimationGroup("F_Nerds")
LoadAnimationGroup("Hang_Jock")
LoadAnimationGroup("NPC_AggroTaunt")
LoadAnimationGroup("Hang_Talking")
LoadAnimationGroup("1_07_Sk8Board")
Load("Act/Conv/1_07.act")
LoadActionTree("Act/Props/SBarels1.act")
LoadActionTree("Act/Props/barrelLad.act")
LoadActionTree("Act/Conv/1_03.act")
LoadActionTree("Act/Anim/1_03_Davis.act")
end
F_CleanUpAnim = function()
UnLoadAnimationGroup("Cheer_Cool2")
UnLoadAnimationGroup("NPC_Adult")
UnLoadAnimationGroup("TSGate")
UnLoadAnimationGroup("SCgrdoor")
UnLoadAnimationGroup("Sbarels1")
UnLoadAnimationGroup("Area_School")
UnLoadAnimationGroup("Px_Rail")
UnLoadAnimationGroup("DO_Grap")
UnLoadAnimationGroup("1_07_SaveBucky")
UnLoadAnimationGroup("TSGate")
UnLoadAnimationGroup("F_Nerds")
UnLoadAnimationGroup("Hang_Jock")
UnLoadAnimationGroup("NPC_AggroTaunt")
UnLoadAnimationGroup("Hang_Talking")
UnLoadAnimationGroup("1_07_Sk8Board")
collectgarbage()
end
main = function()
LoadAllAnim()
repeat
Wait(0)
until not Alive
end
-
To freeze the time clock inside the game just add the code PauseGameClock() or UnPauseGameClock()
to your mod and it will freeze the clock completely. Here is the script you wanted also I don't action node script but here it is.
The function is actually UnpauseGameClock. The capitalization is quite important.
-
Hmm I could've sworn it was UnPauseGameClock() but I guess I just wrote the code without looking at my lua scripts.
-
Maybe he is saying that the time is freezed during gameplay :D
Exactly! :)
-
Returning to the main topic a modification and the ped with animations and movements would be very difficult? :wacko:
-
My NPC 0.1 mod will meet about half of your goal. You keep the player style but you can set your model, how you want to move/strafe and respect of each faction towards you.