Add new objects to SAMP.IMG and custom.img
#1

Hi
I want to add new objects to SAMP.img - billboard with logo of my server
I have this tools:

Notepad++ - for edit IDE
IMG Tools - for unpack IMG
TXD Workshop - for edit textures
MEd - for edit SA map
PS CS3 - Photoshop for edit texture

1. First I open Las Venturas W map in MEd and find billboard, I found name of model file .dff, texture .txd, and collision map .col
Image ---> http://cs5706.vk.com/u4537983/128131390/z_070e0d55.jpg
2. Unpack IMG gta3.img - and extract 3 files: vgwestbillbrd15.dff, vgwestabats.txd and vegasw_8.col
3. Edit texture, and save it
4. Add this 3 files in custom.img in directory /SAMP/
Files in custom.img:
Код:
vgwestbillbrd15.dff
vgwestabats.txd
vegasw_8.col
5. In directory /SAMP/ there are empty custom.ide. I edit this:
Код:
objs
19999, vgwestbillbrd15, vgwestabats, 299, 0
end
tobj
end
path
end
2dfx
end
anim
end
txdp
end
6. I Save all, restart client, run my GM and connect to server. When I try to add object, I see this:
Код:
Warning(opcode 0x107): Exception 0xC0000005 at 0x59F8B4
- - - - -
Please tell me, how to add new objects?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)