Quantcast

Jump to content

» «
Photo

How to make MEd objects not solid in GTA SA

7 replies to this topic
Tihomir
  • Tihomir

    Player Hater

  • Members
  • Joined: A week ago
  • Bulgaria

#1

Posted A week ago Edited by Tihomir, A week ago.

Can someone tell me, how am I able to turn the solid object from MEd (SAMP) into not solid one.


ZAZ
  • ZAZ

    Kernlochbohrer

  • Feroci
  • Joined: 10 Jan 2005
  • European-Union
  • Contribution Award [Mods]
    Helpfulness Awards [Mods]

#2

Posted 6 days ago

you can't do it by MEd
you can't do it for other users when playing samp

you can do it by script code (main.scm or cleo script)
you can do it by installing an "empty" coll model or "fake" coll model

use coll editor to make an "empty" coll model (look for the coll models of armour, health or bribe to find out what i mean)


Tihomir
  • Tihomir

    Player Hater

  • Members
  • Joined: A week ago
  • Bulgaria

#3

Posted 6 days ago

I mean, I see many people talking how their MEd objects are NOT solid, and ask how to turn them into solid ones. So I have the reverse problem, at least can you tell me how to import NOT solid objects into MEd?


Automan
  • Automan

    Grandfather Modder

  • Members
  • Joined: 13 Dec 2008
  • Italy

#4

Posted 6 days ago

Master ZAZ was clear.

All map objects must have a col in a .col file (new or existing), except LOD objects.

If the object is not solid, you must still have an empty collision with Coll Editor][.

For an existing .col, copy a col with a few polygons, delete they, and do not forget to call new col as the .dff/.txd file.


Tihomir
  • Tihomir

    Player Hater

  • Members
  • Joined: A week ago
  • Bulgaria

#5

Posted 6 days ago

Is there any tutorial about all that, I got a little confused.


Automan
  • Automan

    Grandfather Modder

  • Members
  • Joined: 13 Dec 2008
  • Italy

#6

Posted 5 days ago

We open the gta3.img file with IMG Tool or Alci's IMG Editor (not with Spark, and we'll see why).
We search the dynamic.col file and export it.
We open the dynamic.col file with CollEditor2, which warns us that there are some 3D collision files without data:
https://s26.postimg....dkp/colfig1.jpg
Let's go down and find the 3D collision 'Cylinder', which has no collision data:
https://s26.postimg....73t/colfig2.jpg
Copying Cylinder:
https://s26.postimg....ny1/colfig3.jpg
We rename 'Copy of Cylinder' with our map object, with the same name as the 3D file .dff and texture file .txd (ex. my3Dmap):
https://s26.postimg....t6h/colfig4.jpg
https://s26.postimg....ard/colfig5.jpg
We save dynamic.col and close:
https://s26.postimg....id5/colfig6.jpg
The .col files and .ipl files (binaries) in .img files can not be simply replaced, archive has to be rebuilt, and Spark does not have this (Rebuild Archive) as IMG Tool and Alci's IMG Editor.
We open the gta3.img file with IMG Tool:
(I did Misterix with it, so it sure is working!)
https://s26.postimg....xfd/colfig7.jpg
We try dynamic.col:
https://s26.postimg....dq1/colfig8.jpg
We replace it, without deleting it and adding it, but always and only by replacing it:
https://s26.postimg....i9l/colfig9.jpg
We rebuild the archive (for ever in ever!) And exit:
https://s26.postimg....jd/colfig10.jpg
Now our map object not has a solid collision... :)
(There is no file that has a map object in the .ide map object list to the corresponding collision file: the program loads all .col files of .img files and looks for matching.
If it want to know which .col file is our 3D collision, we need to use MEd (map editor)).


Tihomir
  • Tihomir

    Player Hater

  • Members
  • Joined: A week ago
  • Bulgaria

#7

Posted 5 days ago

Thanks a lot for the time spent to help me! <33


Automan
  • Automan

    Grandfather Modder

  • Members
  • Joined: 13 Dec 2008
  • Italy

#8

Posted 5 days ago

It is a pleasure! ;)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users