Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: UltimateGamer9 on February 20, 2016, 12:17:26 AM

Title: is this possible?
Post by: UltimateGamer9 on February 20, 2016, 12:17:26 AM
so i wanna make a betting fight the one similar to the one on freak show but i wanna do it in the hole. is it possible to do so?
Title: Re: is this possible?
Post by: UltimateGamer9 on February 20, 2016, 12:19:00 AM
oops sorry delete this post i dont even know wat i want
Title: Re: is this possible?
Post by: james004 on February 20, 2016, 12:44:56 AM
so i wanna make a betting fight the one similar to the one on freak show but i wanna do it in the hole. is it possible to do so?

I understand, maybe it's possible.
Title: Re: is this possible?
Post by: Bellic19 on February 20, 2016, 06:40:11 AM
If you could play that script of the midget wrestlers and then just use AreaTransitionXYZ(Hole Coordinates) and swap their models (if you know the code)
Title: Re: is this possible?
Post by: AlphaTech on February 28, 2016, 09:48:22 PM
Easy set buttons to the beginning of a fight then when the amount = set amount start the fight so.

Code: [Select]
function MissionSetup()
BettingGame = false
PedCRTEXYZ(Ted)
PedCRTEXYZ(Johnny)
end

function BetCounter()
if Money = false and ButtonIsPressed( 8,0) then
("Text : 2.00$ Slot for bet.")
Money = true
end


function BettingStart()
if BettingGame = false and PedIsValid(Ted)
("Text : Set your Bet")
PedAttack(Ted,Johnny)
PedAttack(Johnny,Ted)
BettingGame = true
end

function BettingGameFinish()
if BettingGame = true and PedIsDead(Ted)
BettingGame = false
("Text : U lost 2.00$ stupid fgt m8.")
end
Title: Re: is this possible?
Post by: DaBOSS54320 on February 28, 2016, 10:22:11 PM
Yes it is possible and it should be rather simple for you once you understand the basics of scripting in Bully. AlphaTech's script is riddled with errors and you should not use it. I'll come back tomorrow and explain how you can make this mod from scratch and explain everything you'll need to know about how it works along with it.