SA-MP Forums Archive
Custom IMG Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Custom IMG Help (/showthread.php?tid=434173)



Custom IMG Help - Alex Magaсa - 01.05.2013

Hello im trying to add some objects inside CUSTOM.img & CUSTOM.ide!!
Well when go to Map Editor (to add the object i've made) nothing happends.
Here's the codesCustom.ide)
Код:
#####################################
# Counter Strike 1.6: Official IMG  #
#         Version: 1.0              #
# Combine Mod: Alex Magana          #
#     CS 1.6 & GTA Roleplay Team    #
#####################################
#              OBJECTS              #
#####################################
# ------------------------------------------------------
# ------------------------------------------------------
objs
# ------------------------------------------------------
# Counter Strike 1.6
# -----------------------------------
19401, cs_survivor, cs_survivor, 299, 2097152
19402, cs_estate, cs_estate, 299, 2097152
19403, cs_havana, cs_havana, 299, 2097152
19404, cs_italy, cs_italy, 299, 2097152
19405, cs_militia, cs_militia, 299, 2097152
19406, de_cbble, de_cbble, 299, 2097152
19407, de_dust, de_dust, 299, 2097152
19408, de_storm, de_storm, 299, 2097152
19409, de_nuke, de_nuke, 299, 2097152
19410, de_train, de_train, 299, 2097152
19411, cs_1943, cs_1943, 299, 2097152
19412, cs_16fighter, cs_16fighter, 299, 2097152
#--------------------------------------------------------
end
tobj
end
path
end
2dfx
end
Any solutions to fix it? did i made mistake? (neeed help)!


Re: Custom IMG Help - Alex Magaсa - 01.05.2013

Anyone? (+ sorry if this wrong place.)


Re: Custom IMG Help - Babul - 01.05.2013

i never tried to use custom img files with the editor, but.. did you actually try to spawn some of those objects in-game? like a /createobj <id> <x> <y> <z> command?
for me, this worked when i added the GX's custom file, with my editor ingame.
your .ide looks good...

btw: dont hurry it, some experts might see this thread, and give you a proper answer. if this topic gets removed, then it was the wrong section. ask in the editors topic is the best thing you can do. or better: read it entirely o.O


Re: Custom IMG Help - Alex Magaсa - 01.05.2013

the truth is (GamerX objects works perfect) i tried mine too (all objects not working.) :/
i don't really understand those 299, 0 are this the collissions numbers. i don't really understand. :/!
Edit: im using Jernej's Map Editor.

Re-Edit: so weird. i added the objects in GamerX Custom IMG and works perfect.
I think (Solved)


Re: Custom IMG Help - Alex Magaсa - 01.05.2013

Bumb.

I can't fix it.. I really need someone to help me..!
The Objects i am trying to add doesn't work.!
(what should i do with files such as Example: cs_estate.dff,cs_estate & cs_estate.col? )


Re: Custom IMG Help - Babul - 01.05.2013

as far as i know, those .dff and .col files belong to each other, so place all of the 2 or 3 files per object into the .img file. dont forget to rebuild the archive after you modded it, it should go fast, since you are not modding the gta3.img
after you built the .img file freshly (it grows up in size of course), also add the new objects to the .ide file, so the engine can associate an ID to them. you already figured out to do that, so maybe most of the stuff i mentioned is irrelevant.
compare the GX img file with yours, and the .ide, maybe you find some differences (an id missing in your ide? .col and .dff added and rebuilt?)

btw, only real nerds spend may 1st at the PC, have patience, and fucking WAIT for an answer. dont expect it today. all i can give, are some regular hints - i didnt touch the img for years, should do that again, there are some "hell race" objects :P


Re: Custom IMG Help - Alex Magaсa - 01.05.2013

I also figure out that only cs_survivor (works and other are like corrupted) nvm.! I will use only this...!
Also ain't nerd waiting for reply..! im doing diffirent stuffs in samp ;p!

: I Wonder Where's The Experienced On It :