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


Author Topic: Need a pedstats file  (Read 5105 times)

0 Members and 1 Guest are viewing this topic.

Offline eellliioottt123

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Need a pedstats file
« on: August 23, 2012, 01:35:59 PM »
For some reason my pedstats file just decided to delete itself and I've just started playing again. The game works but everyone has barely any health or way too much. Also my game won't save, it says there's a problem with the storage or something. Can someone please give me a pedstats and see if there's any way to fix the saving problem?

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Need a pedstats file
« Reply #1 on: August 23, 2012, 03:43:52 PM »
Welcome back, mate. :D

I've been having a similar problem myself at one point. Certain stats just stopped working altogether (namely, the blocking). Also, animation speeds went down for some unknown reason. I was able to fix the animation speed, but the blocks (and in one case, evades) just wouldn't work anymore. So I had to use different stats eventually to circumvent it.

That said, I'll take a look into my backup files and see if I have a pedstats file for you.

Oh, and in case you don't know already, I got Derby's, Bif's, and Norton's full styles working in the game. I'm getting close to unlocking the Mascot's full style too.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Need a pedstats file
« Reply #2 on: August 23, 2012, 05:16:59 PM »
Right, I found a pedstats backup. I'll upload it shortly.

Offline eellliioottt123

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Need a pedstats file
« Reply #3 on: August 23, 2012, 06:04:18 PM »
Right, I found a pedstats backup. I'll upload it shortly.

Thanks. Can you also tell me the full styles of Bif, Darby and Norton and how to put them in the ide?

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Need a pedstats file
« Reply #4 on: August 23, 2012, 06:15:48 PM »
I attached it to this post.

As for the full boss styles:

Derby and Bif need "Boxing" written over one of the animation groups (in the ide, it's where all the "null" spaces are). This enables their block and almost all the fighting animations. But to get the evades, you need the AI, which can be very tricky. So for Derby, he needs:

/Global/BOSS_Darby.Act/Anim/BOSS_Darby.act/Global/DarbyAI.Act/AI/AI_DARBY_2_B.act

Whereas Bif needs:

/Global/P_Bif.Act/Anim/P_Bif.act/Global/AI_BOXER.Act/AI/AI_BOXER.act

Norton needs /Global/Norton.Act/Anim/3_05_Norton.act and his boss AI.

I didn't do these mods through ide editing...it's all through lua scripting.

In case you haven't seen the video:

http://www.youtube.com/user/huaxiong90/videos

Speaking of which, I need to crank out the video of Norton's boss style already.

Offline eellliioottt123

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Need a pedstats file
« Reply #5 on: August 23, 2012, 06:22:35 PM »
I attached it to this post.

As for the full boss styles:

Derby and Bif need "Boxing" written over one of the animation groups (in the ide, it's where all the "null" spaces are). This enables their block and almost all the fighting animations. But to get the evades, you need the AI, which can be very tricky. So for Derby, he needs:

/Global/BOSS_Darby.Act/Anim/BOSS_Darby.act/Global/DarbyAI.Act/AI/AI_DARBY_2_B.act

Whereas Bif needs:

/Global/P_Bif.Act/Anim/P_Bif.act/Global/AI_BOXER.Act/AI/AI_BOXER.act

Norton needs /Global/Norton.Act/Anim/3_05_Norton.act and his boss AI.

I didn't do these mods through ide editing...it's all through lua scripting.

In case you haven't seen the video:

http://www.youtube.com/user/huaxiong90/videos

Speaking of which, I need to crank out the video of Norton's boss style already.

Thanks for all the info and the pedstats file. One thing, how do I get that AI on Derby?

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Need a pedstats file
« Reply #6 on: August 23, 2012, 06:27:29 PM »
Well, you're gonna have to free up space in order to squeeze that part of the code in. Like, delete some null parts of Derby's section.

My method is through lua scripting, so I'm afraid I'm not much help on what null parts you can delete, alas. :(

MadmaN is going to be releasing the lua compiler and tutorials for everyone at one point...hopefully very soon. With lua, getting this style is a breeze since space is not an issue.

deadpoolXYZ

  • Guest
Re: Need a pedstats file
« Reply #7 on: August 23, 2012, 06:57:46 PM »
I attached it to this post.

As for the full boss styles:

Derby and Bif need "Boxing" written over one of the animation groups (in the ide, it's where all the "null" spaces are). This enables their block and almost all the fighting animations. But to get the evades, you need the AI, which can be very tricky. So for Derby, he needs:

/Global/BOSS_Darby.Act/Anim/BOSS_Darby.act/Global/DarbyAI.Act/AI/AI_DARBY_2_B.act

Whereas Bif needs:

/Global/P_Bif.Act/Anim/P_Bif.act/Global/AI_BOXER.Act/AI/AI_BOXER.act

Norton needs /Global/Norton.Act/Anim/3_05_Norton.act and his boss AI.

I didn't do these mods through ide editing...it's all through lua scripting.

In case you haven't seen the video:

http://www.youtube.com/user/huaxiong90/videos

Speaking of which, I need to crank out the video of Norton's boss style already.

Can you delete the dots (00) if you want?

Because I found this AI in dishonorable fight mission script:

/Global/DarbyAI....Act/AI/AI_DARBY_2_B.act....

Yours is shorter.

EDIT: YAY I got it working  ;D

I didn't delete all the unnecessary dots.
« Last Edit: August 23, 2012, 07:19:58 PM by Saikyo-ryu »

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Need a pedstats file
« Reply #8 on: August 23, 2012, 08:41:34 PM »
How it's written in lua and how it's written in default.idb is different.

In lua form, it looks like this:

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

Note: idDarby is a local I used for Derby's model. That's not how he's actually named in the game.

Offline eellliioottt123

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Need a pedstats file
« Reply #9 on: August 25, 2012, 10:55:18 AM »
I can't get this working. It just keeps crashing, no matter what I delete. Is there an ide with it available for download anywhere?

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Need a pedstats file
« Reply #10 on: August 25, 2012, 01:59:49 PM »
Well, as I'm sure you know, the file's memory can't be changed...it has to remain the same. But, I'm not the best with ide editing, so deadpoolXYZ (Saiko) will have to help you here.

deadpoolXYZ

  • Guest
Re: Need a pedstats file
« Reply #11 on: August 25, 2012, 02:08:59 PM »
At the momment I added the AI of russell, gary, darby and norton.

Norton doesn't spawn with his sledgehammer so I replaced the arcade machine script with "the rumble". There he always spawns with his weapon.


Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Need a pedstats file
« Reply #12 on: August 25, 2012, 02:33:25 PM »
deadpool, can you tell him which parts you deleted in order to enter Derby's AI?

deadpoolXYZ

  • Guest
Re: Need a pedstats file
« Reply #13 on: August 25, 2012, 02:56:41 PM »
PRlead_Darby....
PRlead_Darby_W..
....Large...PREP
PY..STAT_P_BOXIN
G...F_DARBY.Evad
e_Duck..P_Darby.
Boxing....../Glo
bal/BOSS_Darby..
Act/Anim/BOSS_Da
rby.act./Global/                      /Global/AI..Act
DarbyAI.Act/AI/A                                       /AI/AI.act...
I_DARBY_2_B.act.

N_Darby.

The green AI is the default one and the red one is darby AI.

Darby AI is 40 characters long and the default AI is 28 characters long. So if you replace the AI there will be 12 extra characters in the ide.

Copy null.... in jimmy fighting style and paste it over "unnecessary" codes (ej: P_Striker... , Straf_Prep.. etc) so you can get rid of 12 characters.

Offline eellliioottt123

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Need a pedstats file
« Reply #14 on: August 25, 2012, 03:45:14 PM »
PRlead_Darby....
PRlead_Darby_W..
....Large...PREP
PY..STAT_P_BOXIN
G...F_DARBY.Evad
e_Duck..P_Darby.
Boxing....../Glo
bal/BOSS_Darby..
Act/Anim/BOSS_Da
rby.act./Global/                      /Global/AI..Act
DarbyAI.Act/AI/A                                       /AI/AI.act...
I_DARBY_2_B.act.

N_Darby.

The green AI is the default one and the red one is darby AI.

Darby AI is 40 characters long and the default AI is 28 characters long. So if you replace the AI there will be 12 extra characters in the ide.

Copy null.... in jimmy fighting style and paste it over "unnecessary" codes (ej: P_Striker... , Straf_Prep.. etc) so you can get rid of 12 characters.

I have it exacly like this. The file size is the same and everything. It still crashes. Can someone just upload the ide or print screen it please?