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


Author Topic: C++ Scripthook for Bully SE  (Read 3468 times)

0 Members and 1 Guest are viewing this topic.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
C++ Scripthook for Bully SE
« on: February 07, 2015, 05:21:53 AM »
Does C++ Scripthook form GTA 4 work for Bully SE?  :-\

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: C++ Scripthook for Bully SE
« Reply #1 on: February 07, 2015, 06:29:43 AM »
No.

Gta IV was built on a different gaming engine from Bully so the same methods will not work.

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: C++ Scripthook for Bully SE
« Reply #2 on: February 07, 2015, 06:40:49 AM »
No.

Gta IV was built on a different gaming engine from Bully so the same methods will not work.
Hmmm... Didn't John Walker used some of that sort?

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: C++ Scripthook for Bully SE
« Reply #3 on: February 07, 2015, 06:42:57 AM »
ScriptHooks are possible. NTAutority Has done it before Lua modding for the very first Player Selector.

However he asked if the method was the same as Gta Iv and the answer is no.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Re: C++ Scripthook for Bully SE
« Reply #4 on: February 07, 2015, 09:10:01 AM »
Now how i make my own Player Selector  :(

deadpoolXYZ

  • Guest
Re: C++ Scripthook for Bully SE
« Reply #5 on: February 07, 2015, 10:47:49 AM »
Now how i make my own Player Selector  :(

Mmh... lua scripting?

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Re: C++ Scripthook for Bully SE
« Reply #6 on: February 07, 2015, 08:15:11 PM »
i know  :mellow:

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: C++ Scripthook for Bully SE
« Reply #7 on: February 07, 2015, 08:16:22 PM »
Then why'd you ask?

You can still make a scripthook too, it'll just be a bit different. All you gotta do, is hook into Bully's process...
http://en.wikipedia.org/wiki/Hooking

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: C++ Scripthook for Bully SE
« Reply #8 on: February 08, 2015, 03:07:35 PM »
Code: [Select]
TOTAL MEMORY USED:
--------
exe size 0
main heap 32484656
simple heap 70499712
total 102984368
--------
SOME SIZES
--------
sizeof CPed=7824
sizeof CColModel 64
sizeof CBaseModelInfo 32
sizeof ObjectButes 164
sizeof ProjectileButes 344
sizeof CStreamingInfo 16
--------
POOL USAGE:
--------
Name MaxNum UsedNum ElSize TotalSize
ms_simpleModelStore Pool 4100 3372 52 213200
ms_timeModelStore Pool 200 158 64 12800
ms_weaponModelStore Pool 150 146 88 13200
ms_accessoryModelStore Pool 21 21 84 1764
ms_clumpModelStore Pool 5 0 76 380
ms_vehicleModelStore Pool 32 27 480 15360
ms_pedModelStore Pool 291 289 212 61692
ms_2dEffectStore Pool 800 625 64 51200
ms_panimModelStore Pool 252 237 148 37296
ms_pclothModelStore Pool 1 1 76 76
CPools::GetPtrNodePool() Pool 15000 9591 4 60000
CPools::GetEntryInfoNodePool() Pool 2000 126 20 40000
CPools::GetVehiclePool() Pool 15 0 2240 33600
CPools::GetPedPool() Pool 24 16 8004 192096
CPools::GetObjectPool() Pool 275 16 556 152900
CPools::GetProjectilePool() Pool 35 12 588 20580
CPools::GetCutScenePool() Pool 30 0 828 24840
CPools::GetDummyPool() Pool 300 71 296 88800
CPools::GetPropAnimPool() Pool 220 142 952 209440
CPools::GetBuildingPool() Pool 2250 1327 288 648000
CPools::GetTreadablePool() Pool 1 0 288 288
CPools::GetAccessoryPool() Pool 48 5 744 35712
CPools::GetColModelPool() Pool 4150 3983 64 265600
CPools::GetStimulusPool() Pool 87 9 44 3828
CPools::GetEntityEffectKeeperPool() Pool 24 16 116 2784
CPools::GetAccessoryContainerPool() Pool 24 16 8 192
CPools::GetAttitudeSetPool() Pool 24 16 56 1344
CPools::GetPedActionTreePool() Pool 24 16 1472 35328
CPools::GetTargetingSystemPool() Pool 24 16 224 5376
CPools::GetWeaponAccessoryContainerPool() Pool 24 16 32 768
CPools::GetMotionControllerPool() Pool 24 16 512 12288
CPools::GetJointConstraintPool() Pool 48 4 28 1344
CPools::GetLuaScriptPool() Pool 8 3 11020 88160
--------------------------------