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
#2

I think it's impossible to add your 3d model in SAMP.IMG. And nobody will see your billboard because their SAMP.IMG will be different from your.
P.s. I'm sorry for another language, but это нереально чувак, ибо вылет игры обеспечен
Reply
#3

Wow map editor but i dont like map editor i like mta san andreas because in sa-mp we can see all players the objects men!!!!!
Reply
#4

SDraw, players from my server will download my custom.img to see new textures and objects
PS: Не надо извиняться, я говорю по-русски )
Reply
#5

You need to rename your new objects to something else (e.g. myNewBillboard.dff) while still keeping the original object id (in your case: 7914) in the custom.ide. I learnt this the hard way. So it could look like this:

Код:
7914, myNewBillboard, billboardTexture, 300, 128
Reply
#6

The file name cannot be the same as the original GTA:SA files,
and some people here are NOT answering the questions and discussing another things lol...

EDIT:Oops there's a solution already
Reply
#7

Ok, I rename files in custom.img:
vgwestbillbrd15.dff to my_obj_off.dff
vgwestabats.txd to my_obj_off.txd
vegasw_8.col - I do not rename because .dff has link to this filename
Edit custom.ide:
Код:
objs
19500, my_obj_off, my_obj_off, 299, 0
end
but, nothing changes =(
Reply
#8

@OFFREAL

i have the same problem !!!
Reply
#9

Hi, I have the same problem too !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)