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


Author Topic: darby is not evading  (Read 10516 times)

0 Members and 1 Guest are viewing this topic.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
darby is not evading
« on: July 01, 2013, 02:00:26 AM »
hello.

So, i´ve put darby´s boss fighting style on him, but he does not evade, he just blocks. Anyone knows what´s the problem?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: darby is not evading
« Reply #1 on: July 01, 2013, 02:54:35 AM »
U need to set his AI for him to evade if I am correct. Not 100% sure about it.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: darby is not evading
« Reply #2 on: July 01, 2013, 01:16:22 PM »
He needs the boss AI to evade.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: darby is not evading
« Reply #3 on: July 01, 2013, 02:24:35 PM »
Ok, i´ve found the ai on scripts, but there is no space, and i´ve tried to change the stats, but the ai´s name is way too big, here it is: /Global/DarbyAI......Act/AI/AI_DARBY_2_B.act and here´s the normal ai: /Global/AI..Act/AI/AI.act

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: darby is not evading
« Reply #4 on: July 01, 2013, 02:27:45 PM »
Its hard to put boss styles using hxd.
I recommand using lua here is the command to set his AI :

PedSetAITree(idDarby, "/Global/DarbyAI", "Act/AI/AI_DARBY_2_B.act")

Dont forget to load the AI.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: darby is not evading
« Reply #5 on: July 01, 2013, 02:31:26 PM »
oh, ok. And since you´re a LUA expert, could you tell me if each time i put a new command i need to crack the file?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: darby is not evading
« Reply #6 on: July 01, 2013, 02:46:08 PM »
Well I am NOT a lua expert.
Im more of a um.... Good lua codder I guess.
Anyway, What do u mean by cracking the file everytime u put a command?
Which file are you talking about?

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: darby is not evading
« Reply #7 on: July 01, 2013, 02:50:05 PM »
well, you know, the arcrace file. extracting it again, using the cmd, then substitute the old and putting the new, modded one?
« Last Edit: July 01, 2013, 02:51:48 PM by Arthur Marinho »

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: darby is not evading
« Reply #8 on: July 01, 2013, 02:53:34 PM »
Save the lua script.
Compile it again.
Delete and put the new ArcRace1.lur
rebuild archive.

Do that every time u change something in ur script and u want to test it in the game.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: darby is not evading
« Reply #9 on: July 01, 2013, 02:54:45 PM »
ok, thanks.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: darby is not evading
« Reply #10 on: July 01, 2013, 03:00:19 PM »
well, one last thing, could you give me darby´s id?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: darby is not evading
« Reply #11 on: July 01, 2013, 03:01:11 PM »
His ID is 37

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: darby is not evading
« Reply #12 on: July 01, 2013, 03:02:29 PM »
oh, ok. And since you´re a LUA expert, could you tell me if each time i put a new command i need to crack the file?

Make sure you always write in everything you need in a script before compiling it and then putting it in the Scripts IMG file.

If you need to make more edits, the lua file stays there, but you'll have to compile again and replace the preexisting ArcRace1.lur file.

Offline Arthur Marinho

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: darby is not evading
« Reply #13 on: July 01, 2013, 03:04:21 PM »
thanks for the tip guys, is there a program that lets me know the ids of each character?

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: darby is not evading
« Reply #14 on: July 01, 2013, 03:09:42 PM »
Go to the scripting section.
I have there a full list of every single character's ID in the game, inside my lua tutorial topic.
Provided by MadmaN