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 - AWiseMelon

Pages: 1 [2] 3 4
16
LUA Scripting Help / Re: How to make a ped always spawn unarmed
« on: April 03, 2016, 06:09:53 PM »
Thank a yoo

17
LUA Scripting Help / Re: Script help
« on: April 03, 2016, 04:24:08 PM »
Also I figured out why when they attack me it doesn't hurt, it's because the save game i'm on the greasers are at 100% with me so obviously they're not suppose to attack me unless I provoke them, so you have to make them hate you using this :

PedSetPedToTypeAttitude(Lucky, 13, 0)-- "Lucky" is the ped, "13" is the faction(Player faction) and "0" is how they feel about you (0 means they hate you)

18
LUA Scripting Help / How to make a ped always spawn unarmed
« on: April 03, 2016, 04:06:25 PM »
Is there a way to always make a ped spawn with no weapon, because Lucky(Greaser) sometimes spawns with a slingshot and I just want him to use his fists.

19
LUA Scripting Help / Re: Script help
« on: April 03, 2016, 04:02:11 PM »
Nevermind, I manged to get it by looking at this thread:

http://www.bully-board.com/index.php?topic=23740.0

Thank you :biggrin: :cool:

20
LUA Scripting Help / Re: Script help
« on: April 03, 2016, 03:55:19 PM »
Alright, now I'm having more problems. The "You Passed" text appears without me having to defeat the greasers, i still get spawned and so do they:

MissionSetup = function()
local X = 277.3605042
local Y = -139.8320007
local Z = 6.10990

PlayerSetHealth(1000)
AreaTransitionXYZ(0,X, Y, Z)

 Ricky = nil
 Lucky = nil
 
 Ricky = PedCreateXYZ(28, 265.51, -138.35, 6.10)
 Lucky = PedCreateXYZ(26, 269.81, -140.76, 6.10)
   PedAttack(Ricky,gPlayer,1)
   PedAttack(Lucky,gPlayer,1)
end

WinMission = function()
if PedIsDead(Ricky) and PedIsDead(Lucky) then
 TextPrintString("You have beaten the Greasers", 4, 1)
end
end


MissionCleanup = function()
end
 
  main = function()
 WinMission()
 Wait(3000)
 MissionSucceed()
 end

21
LUA Scripting Help / Re: Script help
« on: April 03, 2016, 03:16:43 PM »
Alright, they spawn beside each other now and attack me, but, when they punch me I don't get hit, Jimmy doesn't even flinch, it's weird and I have no idea on how to fix it.

22
LUA Scripting Help / Re: Script help
« on: April 03, 2016, 03:05:18 PM »
Yeah, thanks, I managed to fix it up a bit and it actually works now:

MissionSetup = function()
local X = 277.3605042
local Y = -139.8320007
local Z = 6.10990

PlayerSetHealth(1000)
AreaTransitionXYZ(0,X, Y, Z)

 Ricky = nil
 Lucky = nil
 
 Ricky = PedCreateXYZ(28, 209.51, -138.35, 6.10)
 Lucky = PedCreateXYZ(26, 269.81, -140.76, 6.10)
   PedAttack(Ricky,gPlayer,1)
   PedAttack(Lucky,gPlayer,1)
end

WinMission = function()
if PedisDead(Ricky) and (Lucky) then
 TextPrintString("You have beaten the Greasers",4,1)
end
end


MissionCleanup = function()
end
 
  main = function()
 WinMission()
 end

I think my Co-ords for Ricky are messed up because I think he's stuck in the building cuz I can hear him throwing eggs lmfao

23
LUA Scripting Help / Script help
« on: April 03, 2016, 02:34:34 PM »
So this is a script I'm making just to mess around with LUA and learn as I go:

MissionSetup = function()
local l_1_0 = 277.3605042
local l_1_1 = -139.8320007
local l_1_2 = 6.10990

PlayerSetHealth(1000)
AreaTransitionXYZ(0,l_1_0, l_1_1, l_1_2 )

end

SpawnEnemy1 = function()
local l_1_0 = 269.8130188
local l_1_1 = -140.7661591
local l_1_2 = 6.10990

PedCreateXYZ(26, l_1_0, l_1_1, l_1_2)
PedAttack(Lucky,gPlayer,1)

end

SpawnEnemy2 = function()
local l_1_0 = 209.5122375
local l_1_1 = -138.3591766
local l_1_2 = 6.10990

PedCreateXYZ(28, l_1_0, l_1_1, l_1_2)
PedAttack(Ricky,gPlayer,1)

end

WinMission = function()
if PedGetHealth(Lucky) <= 0 and if PedGetHealth(Ricky) <= 0 then -- Dunno what to do at this part either.



MissionCleanup = function()
 end
 
  main = function()
  SpawnEnemy1()
  SpawnEnemy2()
 
end


But everytime I start the script by going to the Arcade machine, I spawn at the location I set and so does Lucky and Ricky, then the game crashes and I'm not sure why can someone tell me what it is, i'm sure it is something REALLY obvious lmao :P

24
Bully 1 Discussion / Re: The Cunsumo minigame
« on: April 02, 2016, 07:22:13 PM »
When I get close to the score to beat I always get nervous and mess up lol

25
LUA Scripting Help / Re: LuaC compiling error
« on: April 02, 2016, 07:21:07 PM »
I think the infinite loading screen is my bad actually, I accidently names the file ArcRace.lur instead of ArcRace1.lur  :blank:

26
.IMG Archive questions/help / Re: How to edit money in HxD
« on: April 02, 2016, 07:20:12 PM »
lmao, all about them pennies

27
.IMG Archive questions/help / Re: How to edit money in HxD
« on: April 02, 2016, 05:34:48 PM »
Thanks, Unknown, I'm learning LUA ATM and I'm just making simple mods, but i wan't to be able to make a trainer/mod menu in the future with a money adding feature in it.

28
LUA Scripting Help / Re: LuaC compiling error
« on: April 02, 2016, 02:12:51 PM »
Hmmm, for some reason the script put the game on an endless loading screen when I interacted with the arcade machine.

29
Bully 1 Discussion / Re: The Cunsumo minigame
« on: April 02, 2016, 12:22:44 PM »
I'm not so good at that lol

30
Bully 1 Discussion / The Cunsumo minigame
« on: April 02, 2016, 08:43:56 AM »
Is it just me or is the Consumo minigame the hardest thing in Bully? I was never able to do it when I was younger and I only just did it a couple of minutes ago (after about 4 tries) did anyone else have as much trouble as I did because years ago I watched a video of a guy doing it and he breezed through it.

Pages: 1 [2] 3 4