Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: dogx on July 20, 2013, 12:28:58 AM

Title: without lua
Post by: dogx on July 20, 2013, 12:28:58 AM
Do you have a mix  of fighting style without lua
Title: Re: without lua
Post by: dogx on July 20, 2013, 12:39:47 AM
i know ide but i mixed gary and juri fighting style after he can't open the door
Title: Re: without lua
Post by: dogx on July 20, 2013, 12:47:35 AM
ok thank you ı will try
Title: Re: without lua
Post by: dogx on July 20, 2013, 12:51:18 AM
 tried, but then the error comes out and falls to the ground turns to green map
Title: Re: without lua
Post by: DaBOSS54320 on July 20, 2013, 01:02:51 AM
Yeah you can HxD edit the .cat files in act.img but that's harder then LUA coding in my opinion.
Title: Re: without lua
Post by: dogx on July 20, 2013, 01:11:51 AM
my English is not very good so I do not understand lua. everything I pase the entire juri to the original ide after ı worked player selector everything is good but he can't open the door
Title: Re: without lua
Post by: dogx on July 20, 2013, 01:12:58 AM
If you have a short way to tell if the fighting style of mixing lua
Title: Re: without lua
Post by: DaBOSS54320 on July 20, 2013, 01:28:53 AM
Code: [Select]
if IsButtonPressed(6,0) then
  PedSetActionNode(0,"/Global/(fighting style)/(the move)","Act/Anim/(fighting style)")
end

Replace (fighting style) with the fighting style you find in Act.img
Replace (the move) with a move from a .cat file in Act.img
I'd love to give an example but admins will take it down.
Title: Re: without lua
Post by: dogx on July 20, 2013, 01:31:06 AM
what ı do ın act ı don't understand my englısh not well please explain to slightly
Title: Re: without lua
Post by: DaBOSS54320 on July 20, 2013, 01:33:36 AM
use img tool google it to open act.img
act.img is a file in the act folder in bully
find .cat file and extract it
open it in HxD
google HxD

ask someone to translate better i cannot explain well in simple terms
Title: Re: without lua
Post by: dogx on July 20, 2013, 01:38:21 AM
ok ı extract after what ı do ın hxd with cat file
Title: Re: without lua
Post by: DaBOSS54320 on July 20, 2013, 01:40:06 AM
^ 0 and gPlayer are the same thing
gPlayer is a variable for 0
0 is the ID number
Title: Re: without lua
Post by: DaBOSS54320 on July 20, 2013, 01:40:48 AM
And to dogx
I cannot tell you too much what to do in the cat file
it will get removed by admins.
Title: Re: without lua
Post by: dogx on July 20, 2013, 01:45:57 AM
I would like to thank both of you still
Title: Re: without lua
Post by: DaBOSS54320 on July 20, 2013, 02:06:06 AM
your welcome. good luck with your modding.
Title: Re: without lua
Post by: c00ld0c26 on July 20, 2013, 08:21:34 AM
You must find the "action nodes" on your own, since the admins will remove them if we post them to you.
The reason is that it will spoil the Player Selector mod they are working so hard on.
Title: Re: without lua
Post by: DaBOSS54320 on July 20, 2013, 02:10:57 PM
Yes. People who do a mod right now figured out how to use the code them self.
It is only fair if you figure out how to use yourself to.
PedSetActionNode()
Tip: It's really not too hard if you look in the "default.ide" file in the Objects folder.