Jump to content
Sign in to follow this  
llauma

Bis model replacement project

Recommended Posts

I just successfully replaced the BIS NVG's with Inq's NVG's and it's working in MP. I modified Keg's installer so now I know how to replace models without getting CTD's in MP.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">@echo off

cls

echo.

If exist newdata\*.p3d goto ok1

echo Installfiles not found.

goto end

:ok1

If not exist ..\res\dta\data.pbo echo ERROR data.pbo not found

If not exist ..\res\dta\data.pbo goto end

If not exist ..\res\dta\data3d.pbo echo ERROR data3d.pbo not found

If not exist ..\res\dta\data3d.pbo goto end

If not exist ..\res\dta\hwtl\data.pbo echo ERROR hwtl/data.pbo not found

If not exist ..\res\dta\hwtl\data.pbo goto end

If not exist ..\res\dta\hwtl\data3d.pbo echo ERROR hwtl/data3d.pbo not found

If not exist ..\res\dta\hwtl\data3d.pbo goto end

echo This will process datafiles to replace the models and textures.

echo None of the original OFP files will be modified.

echo.

echo Before proceeding, please make sure that you have

echo at least 400MB free space on this drive.

echo.

echo.

echo Press any key to continue or ctrl-c to abort.

pause >NUL

mkdir dta

mkdir dta\hwtl

mkdir temp

del /Q temp\*.* >NUL

cls

echo Processing dta\data.pbo...

echo.

bin\cpbo.exe -e ..\res\dta\data.pbo temp

copy /Y newdata\*.pa? temp\ >NUL

bin\cpbo.exe -p temp dta\data.pbo

del /Q temp\*.* >NUL

cls

echo Processing dta\hwtl\data.pbo...

echo.

bin\cpbo.exe -e ..\res\dta\hwtl\data.pbo temp

copy /Y newdata\*.pa? temp\ >NUL

bin\cpbo.exe -p temp dta\hwtl\data.pbo

del /Q temp\*.* >NUL

cls

echo Processing dta\data3d.pbo...

echo.

bin\cpbo.exe -e ..\res\dta\data3d.pbo temp

del /Q temp\model_name_1.p3d.srpc >NUL

del /Q temp\model_name_2.p3d.srpc >NUL

del /Q temp\model_name_3.p3d.srpc >NUL

copy /Y newdata\*.p3d temp\ >NUL

bin\cpbo.exe -p temp dta\data3d.pbo

del /Q temp\*.* >NUL

cls

echo Processing dta\hwtl\data3d.pbo...

echo.

bin\cpbo.exe -e ..\res\dta\hwtl\data3d.pbo temp

del /Q temp\model_name_1.p3d.srpc >NUL

del /Q temp\model_name_2.p3d.srpc >NUL

del /Q temp\model_name_3.p3d.srpc >NUL

copy /Y newdata\*.p3d temp\ >NUL

bin\cpbo.exe -p temp dta\hwtl\data3d.pbo

del /Q temp\*.* >NUL

cls

echo.

echo all done.

echo You can now run OFP with the new models by using -mod=model_mod parameter.

:end

pause

This is the install code. I don't know much so it might seem bad for pro's but it's working.

As you can see you need to delete the replaced model.p3d_srpc to avoid CTD's. You will need to add a line for each model you want to replace.

So this leads us to the question.. Which model should be in a replacement pack and can anyone make a pair of decent binocs?

Here's a sample for replacing the NVG's with Inq's NVG's

How to install:

Extract the archive to your Operation Flashpoint directory. Then go to the created model_mod directory and run the install.bat file. If the install goes well, you should be able to use the model_mod directory like a regular mod folder. (ie. add -mod=model_mod into your OFP:R shortcut link).

DO NOT use this if you don't knwo what you are doing. The sample installer should work fine as it does for me but use it on your own risk.

Share this post


Link to post
Share on other sites

What does Inq's NVGs actually looks like? Is it possible to post a screenie? Thanks!

Share this post


Link to post
Share on other sites

cool, ive been waiting for an installer for this for a while. thanks! works with no problems for me biggrin_o.gif

Share this post


Link to post
Share on other sites

Hi llauma.

Is it possible to work with your llauma sky pack?

I'd like to use both of 'em!

Share this post


Link to post
Share on other sites

One question, will the installer for your skies work under win9x/winME? The original Kegetys installer did not allow the skies to function properly under win9x/winME.

I really want those high-res stars and moon smile_o.gif

Share this post


Link to post
Share on other sites
One question, will the installer for your skies work under win9x/winME? The original Kegetys installer did not allow the skies to function properly under win9x/winME.

I really want those high-res stars and moon smile_o.gif

The installer is for Win2k/XP but I modified the installer NoRSu made for Win98/ME so it would install the stars too.

Get it here

Just replace the install.bat in the llaumax dir with the new one.

If you want to install the NVG's too just copy the NVG files to llaumax/newdata and use this installer for Win98/ME

Share this post


Link to post
Share on other sites
how about bino range finders

Sure it would be nice if you could do that tounge_o.gif Just a new pair of binocs would be a start.

Share this post


Link to post
Share on other sites

The only bug i have noticed is if you are looking at a dude who is wearing the NVG's and looking through his bino's the bino's are replaced with the NVG model so you can see four green dots peering at you ghostface.gif

Share this post


Link to post
Share on other sites
The only bug i have noticed is if you are looking at a dude who is wearing the NVG's and looking through his bino's the bino's are replaced with the NVG model so you can see four green dots peering at you ghostface.gif

What? The Binocs are the same as before unless you replaced them with NVG's.

Share this post


Link to post
Share on other sites

You know these installers haven't really worked, at least keg's one never did because it didn't install all the files.  

Is it ok if I just unpbo the data folders and data3d folders and just replace the pbos and textures?

Ok one other thing, i'm gonna download your new version of this system, but first...provide a picture will you please of the new rain?

Share this post


Link to post
Share on other sites
The only bug i have noticed is if you are looking at a dude who is wearing the NVG's and looking through his bino's the bino's are replaced with the NVG model so you can see four green dots peering at you ghostface.gif

What? The Binocs are the same as before unless you replaced them with NVG's.

I just tested it on a dedi with another guy and when you use NV and bins together the other guy can see 4 green dots.

I am using the Llaumax skies/water with the NVG files copied into newdata and i then ran the .bat you posted a link to a few posts up...

http://hem.bredband.net/jontuo/llaumax/install_LlauMax_and_NVG.zip

Share this post


Link to post
Share on other sites
You know these installers haven't really worked, at least keg's one never did because it didn't install all the files.  

Is it ok if I just unpbo the data folders and data3d folders and just replace the pbos and textures?

Ok one other thing, i'm gonna download your new version of this system, but first...provide a picture will you please of the new rain?

The installer works. It installs the files I tell it to install. If you wanna replace models you will need to add a line for each model to the .bat file.

If you unpbo the data3d the game will crash in MP because the unpbo messes up the strela model.

The sky pack doesn't have now rain but I did add Keg's rain to the LlauMax pack.

Share this post


Link to post
Share on other sites
The only bug i have noticed is if you are looking at a dude who is wearing the NVG's and looking through his bino's the bino's are replaced with the NVG model so you can see four green dots peering at you ghostface.gif

What? The Binocs are the same as before unless you replaced them with NVG's.

I just tested it on a dedi with another guy and when you use NV and bins together the other guy can see 4 green dots.

I am using the Llaumax skies/water with the NVG files copied into newdata and i then ran the .bat you posted a link to a few posts up...

http://hem.bredband.net/jontuo/llaumax/install_LlauMax_and_NVG.zip

Hmm I just tested without my pack and it seems like it's a OFP bug. The guy wearing NVG's picks up another pair of NVG's instead binocs in MP.

Share this post


Link to post
Share on other sites

would it be possible to make a binoc with which you can target an enemy unit or vehicle or any house and then the binoc shows you the exact distance, e.g. Enemy Officer 137m

Share this post


Link to post
Share on other sites
would it be possible to make a binoc with which you can target an enemy unit or vehicle or any house and then the binoc shows you the exact distance, e.g. Enemy Officer 137m

No idea.. I doubt it but never say never when it comes to OFP. With enough scripting it might be possible.

Share this post


Link to post
Share on other sites

The binoculars its a good idea, I would be happy ji the range finding was just a reticle like the ones in some of the tank comander binoculars or some other optics with range finding reticles. No laser technology used or anything, would be more like the reticle of a pso scope or something where you stimate distance by knowing the size of an object and comparing it to the marks in the reticle of your viewing device.

That would be nice, and if it work in multiplayer, it would be good for spoters, there you would have somebody playing as a spoter that would need to skill him/her selfe on range finding.

@CERO.

Share this post


Link to post
Share on other sites

Im a little confused about why some objects can be added easily enough, and some are quite tricky.  But no worries, i'll have a search and if I cant find the answer i'll come back.

But my reason for posting is to ask if the compass on the map screen can be changed?  Or indeed anything on the map screen, but it would probably be the compass that would benifit the most.  Im sure one of the big modifications achieved it but I can't find it right now...

Share this post


Link to post
Share on other sites
Im a little confused about why some objects can be added easily enough, and some are quite tricky.  But no worries, i'll have a search and if I cant find the answer i'll come back.

But my reason for posting is to ask if the compass on the map screen can be changed?  Or indeed anything on the map screen, but it would probably be the compass that would benifit the most.  Im sure one of the big modifications achieved it but I can't find it right now...

normal PBO compressor will just mess up some file in(missing some config most of the time) data.pbo or data3d.pbo

basicly you can change all model, texture and even config in the data pbo as long as all the files in the pbo is there and in correct from, and remember dont use different config for different mod.

Share this post


Link to post
Share on other sites

Sorry for bumping the topic. But can someone provide a download link for this program? The current links are all dead. If I read correctly, I run this program through the addon thats replacing a unit and it will prevent game crashes?

and yes i have tried contacting Llauma, but he is not responding to me. So could someone else provide a link. Please? help.gif

Share this post


Link to post
Share on other sites
The only bug i have noticed is if you are looking at a dude who is wearing the NVG's and looking through his bino's the bino's are replaced with the NVG model so you can see four green dots peering at you :ghostface:

What? The Binocs are the same as before unless you replaced them with NVG's.

Thats a common bug that affects the game anyway even if you have the default model AFAIK

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×