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


Author Topic: Script hook?  (Read 5943 times)

0 Members and 2 Guests are viewing this topic.

Offline |CallMeBob|

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Script hook?
« on: December 16, 2011, 10:48:52 PM »
If you where to make a script kook for bully, would it be like a script hook for GTASA but with the coding tweaked?

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Script hook?
« Reply #1 on: December 17, 2011, 03:53:33 AM »
it would be the same basic principal yes. But bully is also quite different then gta on how a lot of it is coded.

It uses some leftover files from gta tho but that is really about it.

Offline King Cobra

  • Admin
  • I Live Here
  • *****
  • Posts: 15,501
  • Gender: Male
  • TGSWP
    • View Profile
Re: Script hook?
« Reply #2 on: December 17, 2011, 09:58:53 AM »
NOTE: I'm moving this topic to the "Questions/Help" board.
« Last Edit: June 27, 2012, 10:34:52 PM by King Cobra »

Offline |CallMeBob|

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Re: Script hook?
« Reply #3 on: December 17, 2011, 04:18:58 PM »
Ok thanks. i just recently got GTA:SA and i got the CLEO script hook. that what brought this question to my head. :P


Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Script hook?
« Reply #4 on: December 17, 2011, 04:35:14 PM »
I think cleo may be compatible with bully but not 100% sure on that. NTAuthority would really be the best person to answer that since he has created a scripthook specifically for bully. I actually wouldnt be surprised if his scripthook taps into the debug system built into bully to allow skin and model switching since I have been doing some serious digging along with bullyimod123 to figure that out.

We have made extremely slow progress on it tho but I will say that I don't think he or I will give up on that since we both are so close to getting it working. I had it working partially only once but never was able to duplicate it again and that must have been a fluke.

Offline |CallMeBob|

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Re: Script hook?
« Reply #5 on: December 17, 2011, 10:37:41 PM »
what was it like when you got it to work? was it like any other console or did it have special commands?

Offline |CallMeBob|

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Re: Script hook?
« Reply #6 on: December 18, 2011, 10:22:25 PM »
ok i tried editing the cleo.asi and replacing gta_sa.exe to Bully.exe meaning i searched and replace gta_sa.exe with bully.exe. it didnt work. any ideas?
« Last Edit: December 18, 2011, 10:30:22 PM by |CallMeBob| »

Offline |CallMeBob|

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Re: Script hook?
« Reply #7 on: December 18, 2011, 11:57:32 PM »
Anyone?

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Script hook?
« Reply #8 on: December 19, 2011, 12:04:07 AM »
It's a lot more complicated then that m8.

A scripthook ..namely the .asi files that are used with gta scripthooks are really just custom coded .dll files that have the .dll extension renamed to .asi. All of them are coded normally with c++ or sometimes c# and simply renaming the game .exe in a gta scripthook will not work.

I will be looking into a possible scripthook at some point...but unless someone knows how to get hold of ntauthority and see if hes willing to team up with someone here or distribute his sources to a trusted modder here for finishing while still leaving his credits intact....I doubt very highly anyone will make much headway anytime soon since he is the only one that has made a scripthook that functions for bully.

If anyone here is willing to try and get hold of ntauthority and hopefully is lucky to get him to reply....then maybe he will be willing to team up with someone here...myself prehaps....or someone else but somehow I think he will likely not trust anyone teaming up with him due to the fact that a lot of ppl on the net have ulterior motives and is likely afraid someone will try to steal his work.

Offline |CallMeBob|

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Re: Script hook?
« Reply #9 on: December 19, 2011, 12:49:45 AM »
Thanks mad. I was just trying it out. I would learn C++ but ive tried and its very complicated and hard to remember. Especially learning from a book.

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: Script hook?
« Reply #10 on: December 19, 2011, 10:38:35 PM »
best way to learn is just look up some tuts online that actually go into more detail then the book. Also easier to learn just by grabbing the sourcecode to a already free opensource project and just play around with it a little....thats one way to learn a bit about it.