News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Show Posts

* Messages | Topics | Attachments

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - FearlessBloodseeker

Pages: 1 [2] 3 4 ... 7
16
Modding Questions/Help Archives / Re: LUA Time Lock
« on: April 21, 2013, 09:21:27 AM »
Well, how do I permanently freeze the time which is at 12:00 (or something) that has no class and spawns more students?

17
Modding Questions/Help Archives / Re: LUA Time Lock
« on: April 21, 2013, 09:14:23 AM »
Well, via LUA of course :) and yes. What is the command should I add in the LUA script to freeze the time..?

18
Modding Questions/Help Archives / Re: LUA Time Lock
« on: April 21, 2013, 08:46:21 AM »
Err, sorry to interrupt. Well maybe I'm pretty rude, but I'm uh, asking how to freeze the time, not about moderator..? xD

19
Modding Questions/Help Archives / LUA Time Lock
« on: April 19, 2013, 07:50:39 AM »
Hey guys, it's me again. Well, how do I lock time via LUA? Let's say I'd like to time lock on 12:00 AM. How do I do it?

20
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 18, 2013, 09:40:48 AM »
Sorry, maybe you don't understand what did I said. Excuse my poor English.

Well what I mean: If you put the WRONG syntax, It'll make your PC unable to switch on?

21
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 18, 2013, 08:39:08 AM »
Wrong syntax results in fail to switch on the computer? :O

22
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 16, 2013, 08:03:50 AM »
Guys, I tried this code but it crashed ( the cause of my computer wont be able to switch on, now I can. ) What might cause the problem?

Code: [Select]
GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")

  l_0_0 = 60

MissionSetup = function()
  local l_1_0 = 270
  local l_1_1 = -110
  local l_1_2 = 6.4000000953674
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
  TextPrintString("Bully: Scholarship Edition Multi-Bodyguard  Mod v1 BETA.", 4, 1)
  Wait(5000)
  TextPrintString("By: |XF|-MadmaN [AR] ", 4, 1)
  Wait(5000)
   
  l_0_3 = PedCreatePoint(91, POINTLIST._BEGGINING, 1) -- Edgar
  l_0_5 = PedCreatePoint(23, POINTLIST._BEGGINING, 1) -- Johnny (BOSS)
  l_1_0 = PedCreatePoint(19, POINTLIST._BEGGINING, 8) -- Ted
 
  PedSetActionTree(l_0_3, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act") -- Edgar
  PedSetActionTree(l_0_5, "/Global/G_Johnny", "Act/Anim/G_Johnny.act") -- Johnny (BOSS)
  PedSetActionTree(l_1_0, "/Global/J_Striker_A", "Act/Anim/J_Striker_A.act") -- Ted     
 
   -- Ally Blip Code Start
   --
    l_2_7 = AddBlipForChar(l_0_3, 6, 2, 2)
    l_2_8 = AddBlipForChar(l_0_5, 6, 2, 2)
    l_3_4 = AddBlipForChar(l_1_0, 6, 2, 2)
   
   
 -- Infinite Sprint Code Start for Allies
   --
    PedSetInfiniteSprint(l_0_3, true)
    PedSetInfiniteSprint(l_0_5, true)
    PedSetInfiniteSprint(l_1_0, true)

    PedSetHealth(l_0_3, 100000)
    PedSetHealth(l_0_5, 100000)
    PedSetHealth(l_1_0, 100000)
   
   -- Ped Recruit Code Start
   --
    PedRecruitAlly(gPlayer, l_0_3)
    PedRecruitAlly(l_0_3, l_0_5)
    PedRecruitAlly(l_1_0, l_1_1)

   PedSetAllyAutoEngage(l_0_3, true)
   PedSetAllyAutoEngage(l_0_5, true)
   PedSetAllyAutoEngage(l_1_0, true)

end


F_MissionSetup = function()
  PlayerSetControl(1)
  CameraFollowPed(gPlayer)
  ClockSet(9, 30)
  ClockSetTickRate(0.0060000000521541)
  LaunchScript("SObjTest.lua")

end


MissionCleanup = function()
  ClearTextQueue()
  EnablePOI()
  gMissionRunning = false
  shared.gMissionEventFunction = nil
  WeatherRelease()
  PlayerSetControl(1)
  PlayerSetPunishmentPoints(0) 
end

SoundPlayInteractiveStream
--  MS_FightingJohnnyVincentBossFight.rsm


--  main = function()
  F_MissionSetup()
  gMissionRunning = true
  while gMissionRunning do
    UpdateTextQueue()
    Wait(0)
   end
end

23
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 15, 2013, 08:47:44 AM »
My PC works fine now :D so I'm back in the game. But I won't mess with luac anymore to prevent any of this, error from happening again, lol. Need to be careful, well I hope you can post the script here so I can learn how did you exactly did it all.

24
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 14, 2013, 01:03:47 AM »
That, I don't know exactly how to do...I have a theory, but until I (or someone else) actually get it working, I can't really say.

Well then, how do I do it via ArcRace1.lur?

EDIT: Oh lord, now I can't turn my PC on  :wacko:

25
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 14, 2013, 12:19:28 AM »
Well, if you could answer my question, I could help you further.

Do you always want the music to play his boss theme whenever he spawns randomly and you fight him, or do you want to spawn a special instance of him and have his theme play there?

Well, I want the music to play whenever he spawns randomly and I fight him. Well, if this one is possible, can you make his theme plays whenever he spawns randomly WITHOUT ArcRace1.lur? I mean like normal game, without using the arcade.

26
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 13, 2013, 06:39:12 PM »
Both Red and I know how to change some of the fighting music to start when a fight starts for a certain ped....but as far as actually replacing the music files...noone currently knows how to do this...even I don't since I don't even know what file format the music even is in.

The way Red and I both know is kinda limited though and not something I would consider a perfect way to change what plays.....since the lua codes controlling sound are rather complicated (which red can attest to) and  I still am doing writeups in my notes dealing with how the lua codes for sound work.

Well, sir. I mean to change Johnny ( in Freeroam) music to his boss theme, not to replace with a NEW music. Yes, only Johnny can get that theme if I'm fighting with him on Freeram, not the whole Greasers lol  :rolleyes:

27
Modding Questions/Help Archives / Bodyguard Script
« on: April 13, 2013, 02:32:58 AM »
Hello, it's me again. As looking around the LUA corners, I found MadMan's Bodyguard Script Lua. When I used them, started my game, It appears EVERY female character as my bodyguard (Except townsfolk) thus everyone starts to fight each other. What might cause the problem? And I only want 2, 3 if possible.

28
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 13, 2013, 02:30:04 AM »
what do you mean?? :confused:

Do you know how to change fighting music? lols.

29
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 13, 2013, 02:22:50 AM »
Once again, I don't know what are you saying. What should I read carefully? -,- Do you know how to do this stuff?

30
Modding Questions/Help Archives / Re: How do I change Fighting Music?
« on: April 12, 2013, 08:31:35 PM »
Lol  :D nice.

OT: Btw, how do I do this..?

Pages: 1 [2] 3 4 ... 7