[HELP] with porting BUIS system into private mod

Making or wanting help making your own asset? Check in here
Post Reply
Kingslayer
Posts: 14
Joined: 2009-05-02 16:59

[HELP] with porting BUIS system into private mod

Post by Kingslayer »

Hello everyone!!

I've been porting PR's weapons into other mods(for private use) since 0.96 and I've always managed to make them fully work, but it looks like this time I am at lost with a little something called "BUIS system" :p

I DID managed to port the BUIS system into AIX 2.0 with version 1.026 or something, at that time the BUIS worked using the command rose, but in the last version(1.10) it uses the "C" key button and here is where I'm clueless: Just what the hell I am supposed to be looking at for adding this new button functionality???

The files I've found related to the BUIS system are in the "TR" folder in "menu_server.zip\hud\hudsetup" and the "TR_Scripts" folder in "common_server.zip" and that's it, I remember that's all I needed to port it on the older version of PR(and some command rose files aswell but since it's not the case anymore...).

As of now the only weapon that I ported is the SMAW and everything works fine except for the BUIS, since the C button does absolutely nothing :-(

Sooooo can someone point me out on what should I be looking for?? What do I need to do in order to make this "C button" to work?? Maybe I'm missing some file/s?? Maybe it's all in there and I changed something that I shouldn't?? Maybe it's impossibru:cry :? ?


Thanks in advance for your help!! :D
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: [HELP] with porting BUIS system into private mod

Post by AncientMan »

BUIS requires PRLauncher to work properly. PRLauncher uses low-level memory modification in order to control BUIS, detect the C press, and toggle BUIS on/off by changing unused variables that the con scripts can read.

To do it without PRLauncher, you would probably need to use a button on the commorose to toggle on/off (have the button command run a con script which does stuff)
Image
Kingslayer
Posts: 14
Joined: 2009-05-02 16:59

Re: [HELP] with porting BUIS system into private mod

Post by Kingslayer »

[R-DEV]AncientMan wrote:BUIS requires PRLauncher to work properly. PRLauncher uses low-level memory modification in order to control BUIS, detect the C press, and toggle BUIS on/off by changing unused variables that the con scripts can read.
So it uses the PR launcher huh? Well... that's a shame Dx
[R-DEV]AncientMan wrote:To do it without PRLauncher, you would probably need to use a button on the commorose to toggle on/off (have the button command run a con script which does stuff)
So you're saying I should do it like the in the old version? Then I guess I'll just install PR1.0 and check the BUIS/commorose functionality and see if I can use it with PR 1.1 content.

Thanks for your answer!
Post Reply

Return to “PR:BF2 Community Modding”