Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

[HELP] Mapping Help


Spyboii
 Share

Recommended Posts

Hello! I've been mapping and on an RP server I've been looking into buying a warehouse and I'd like to do the mapping myself and make it so one of the garage doors opens and closes with a command - anyways, that's besides the point. Whilst mapping it looks like one of the garage doors is cleared (As it's the only operating one) but while in game it looks well.. there's a door in the way. I've looked through the code but haven't found anything and I know it isn't something that I've put there because it's raw. If I am correct it isn't there in one of the story missions but now it is here - I was wondering if anybody knew on how to remove this door. Thanks!

 

SS 1 - Whilst Mapping

SS 2 - In Game

 

Oh by the way this is located in White Wood Estates - Coordinates are

1024.2578, 2110.6953, 16.7422

 

any help is appreciated!

Thank-you!

 

Link to comment
Share on other sites

It's shutter_vegas
defined in levelxre.ide

2938, shutter_vegas, shutter_veg, 100, 0

only used for Mission "You've Had Your Chips"

DEFINE MISSION 86 AT @CASINO3          // You've Had Your Chips


Placed in Mission 0

DEFINE MISSION 0 AT @INITIAL           // Initial 1
029B: $2664 = init_object #SHUTTER_VEGAS at 1055.629 2087.67 12.469 01C7: remove_object_from_mission_cleanup_list $2664

The global var $2664 is used then in the Mission "You've Had Your Chips" to put the door more below

:CASINO3_29210001: wait 0 ms 00D6: if 03CA:   object $2664 exists 004D: jump_if_false @CASINO3_2961 01BC: put_object $2664 at 1055.629 2087.67 0.299

and back when the mission is finished

00D6: if 03CA:   object $2664 exists 004D: jump_if_false @CASINO3_14380 01BC: put_object $2664 at 1055.629 2087.67 12.469
Link to comment
Share on other sites

the right way would be by editing main.scm

changes of mission 0 needs to start new game because this mission codes run at gamestart

changes of CASINO3 will be executed when playing this mission

i don't know in which way your RP server is working, if it's SA-MP then the door shouldn't be there anyway because sa-mp use a stripped main

about mta, i don't know

Another easy way would be to change the door model with an "empty" model

Edited by ZAZ
Link to comment
Share on other sites

the dff don't need a change, the textur must be a transparent, a black alpha textur

but the collisions file is important

shutter_vegas coll model should be inside of levelxre.col, delete the faces and only the borders will stay

have a look for the coll model of shark inside of multobject.col

 

Link to comment
Share on other sites

Is there any way you can put it into terms where I can understand? Because I'm really confused about this whole thing... I don't know much but all I use is like the MEd so I don't even know...

Link to comment
Share on other sites

Ok, first lesson: Make an empty collisions model that allows walking through the door

 

- read about collisions files at gtamodding (dff and txd is only visual but col models makes the contact, collision)

 

- download Collisions File Editor II

 

- open gta3.img and export levelxre.col

levelxre.col is an archive that contains collisions models

the collisions model must have the same name as the assigned dff model

the collisions file is always an archive, you can extract a single collisions model and add it to img but then will it also be an archive that contains the model

example: extract shutter_vegas from levelxre.col and you will get a shutter_vegas.col that contains the shutter_vegas collisions model

 

- start Collisions File Editor II and open levelxre.col

- find and select shutter_vegas

- change to edit mode (click on Edit button)

- select Box (click on Box Tab)

- select the Box model (click to the model in the 3d model window)

- delete it (press delete key)

- save the file ( don't forget to make a backup first)

- replace levelxre.col inside of gta3.img with the modified levelxre.col

test it ingame, you can walk now through the door

 

---

 

start Collisions File Editor II and open levelxre.col

28mmwed.jpg

find and select shutter_vegas, change to edit mode

r7svwk.jpg

select Box (click on Box Tab)

25pldz4.jpg

select the Box model (click to the model in the 3d model window)

2cs7uc7.jpg

delete it, the model inside the model is removed then, only the borders remain

rhkf2p.jpg

 

save the file, replace levelxre.col, you can walk now through the door but the visual door is still there

to make the door unvisible requires either to edit the dff model with a 3d editor (3dMax) or to make an Alpha textur with grafic editor (Adobe Photoshop)

or just extract an propper Alpha textur from game and replace the existing one of shutter_veg.txd

Edited by ZAZ
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.