Home   Help Search Login Register  

Author Topic: Custom Scope Sights  (Read 2383 times)

0 Members and 1 Guest are viewing this topic.

1B1KSniper

  • Guest
Custom Scope Sights
« on: 22 Sep 2002, 13:41:24 »
How do I make 'em and what's the config.cpp line to put them on a weapon.

CrunchyFrog

  • Guest
Re:Custom Scope Sights
« Reply #1 on: 23 Sep 2002, 00:10:06 »
Quote
what's the config.cpp line to put them on a weapon.

modelOptics="XXX";

Offline Matthijs

  • Members
  • *
  • Qua Patet Orbis
    • The Chain of Command / mods.kmarns.net
Re:Custom Scope Sights
« Reply #2 on: 25 Sep 2002, 23:06:35 »
How do I make 'em
(...)

Use Oxygen

Wires

  • Guest
Re:Custom Scope Sights
« Reply #3 on: 26 Sep 2002, 06:01:43 »
Well you don't need to make your own .p3d. it's very simple to take an existing scopes textures and edit them the way you want. pretty much the same as editiong other textures only using Alpha channels.

Skaven

  • Guest
Re:Custom Scope Sights
« Reply #4 on: 26 Sep 2002, 10:58:37 »
Indeed, you defenetaly don't need O2 to make the new sights,
the sights are stored in some p3d files, like optika_M16.p3d and so on, all you need to do, is to get one of the this p3d files,or from an existing addon or from the data3d.pbo file, try choosing one near to the one you want cause it will be easier to serve as reference. Also if your getting the p3d file from the game use the DePbo Decryptor on the pbo file.
Than when you have the optika p3d file, use the swap utility in the p3d, and take the texture files mentioned in the utility out of the game, they should be in the data.pbo folder.
Use TextView in those texture files and change the .paa files into .tga ,opening the files with photoshop or paintshop you will than notice that the sight was made using Alpha Channels, using the same technic make your own sight, than do the oposed save the .tga with TextView into .paa, and than use the Swap Utility to replace the pbo nane path into your own addon name, and open a class in the cpp file like:
modeloptics= "mypbofilename\myp3dfilename.p3d", if everything goes as planned you should have the new optics in your weapon  ;)

1B1KSniper

  • Guest
Re:Custom Scope Sights
« Reply #5 on: 26 Sep 2002, 12:51:45 »
Alright, thanks, I'll give it a try.