Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

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

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    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. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. 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. 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
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

deltaCJ

[SA] Map Problem

Recommended Posts

deltaCJ

I made new map in 3ds Max.

 

Everything went fine, the DFF was exported nice, the COL was fine, surface edited and everything.

(I made new terrain...)

 

I made IDE and IPL and they are correct to where the are at and the correct dff and txd.

 

But it keeps crashing!

 

What is the problem???

 

 

IDE:

#IDE file generated from Kam's GTA Map IO
objs
14904, Plane01, land, 0, 299, 1
14906, land3, land, 0, 299, 1
14910, Plane03, land, 0, 299, 1
14905, sphincter, sphincter, 0, 299, 1
14914, profess_a, profess_a, 0, 299, 1
14906, sphincter2, sphincter, 0, 299, 1
14908, land, land, 0, 299, 1
14905, land2, land, 0, 299, 1
14907, land4, land, 0, 299, 1
14909, land5, land, 0, 299, 1
14912, Box01, box01, 0, 299, 1
14913, Box02, box01, 0, 299, 1
end
tobj
end
path
end
2dfx
end
IPL:
#IPL file generated from Kam's GTA Map IO
inst
14904, Plane01, 0, 0.684708, -5.59685, 2.36448, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0
14906, land3, 0, -53.4136, -124.506, 4.83674, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0
14910, Plane03, 0, 6.16264, -66.5094, 7.00025, 1.0, 1.0, 1.0, 0.0, -0.014689, 0.0, 0.999892
14905, sphincter, 0, -35.599, -28.179, 28.3753, 0.340873, 0.243807, 0.243807, 0.0, 0.0, 0.707732, 0.706481
14914, profess_a, 0, -98.6243, -226.533, 13.0584, 0.103013, 0.103013, 0.466404, 0.0, 0.0, 0.0, 1.0
14906, sphincter2, 0, 31.5863, -29.0409, 28.2772, 0.340873, 0.243807, 0.243807, 0.0, 0.0, -0.70169, 0.712482
14908, land, 0, 45.7689, -221.381, 6.25489, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0
14905, land2, 0, 58.4679, -99.0131, 3.73954, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0
14907, land4, 0, 58.476, -155.098, 7.19824, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0
14909, land5, 0, -65.5768, -226.479, 3.95808, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0
14912, Box01, 0, -60.2526, -104.522, 14.7724, 0.181218, 0.181218, 0.181218, 0.0178527, 0.0619154, -0.761413, 0.645057
14913, Box02, 0, 86.4855, -155.398, 14.5002, 0.181218, 0.181218, 0.181218, 0.052295, 0.0471619, 0.677124, 0.732492
end
cull
end
path
end
pick
end
GTA.DAT;
#
# Generated by SA Map Cleaner 0.5
#
#
# Load IDEs first, then the models and after that the IPLs
#
#IMG DATA\PATHS\CARREC.IMG
#IMG DATA\SCRIPT\SCRIPT.IMG
#IMG MODELS\CUTSCENE.IMG
IMG DATA\MAPS\basic\basicmap.IMG
IMG DATA\MAPS\basic\land.IMG
#SPLASH loadsc2
#
# Object types
#
IDE DATA\MAPS\generic\vegepart.IDE
IDE DATA\MAPS\generic\barriers.IDE
IDE DATA\MAPS\generic\dynamic.IDE
IDE DATA\MAPS\generic\dynamic2.IDE
IDE DATA\MAPS\generic\multiobj.IDE
IDE DATA\MAPS\generic\procobj.IDE
#IDE DATA\MAPS\LA\LAn.IDE
#IDE DATA\MAPS\LA\LAn2.IDE
#IDE DATA\MAPS\LA\LAs.IDE
#IDE DATA\MAPS\LA\LAs2.IDE
#IDE DATA\MAPS\LA\LAe.IDE
#IDE DATA\MAPS\LA\LAe2.IDE
#IDE DATA\MAPS\LA\LAw2.IDE
#IDE DATA\MAPS\LA\LAw.IDE
#IDE DATA\MAPS\LA\LAwn.IDE
#IDE DATA\MAPS\LA\LAhills.IDE
#IDE DATA\MAPS\LA\LAxref.IDE
#IDE DATA\MAPS\SF\SFn.IDE
#IDE DATA\MAPS\SF\SFs.IDE
#IDE DATA\MAPS\SF\SFse.IDE
#IDE DATA\MAPS\SF\SFe.IDE
#IDE DATA\MAPS\SF\SFw.IDE
#IDE DATA\MAPS\SF\SFxref.IDE
#IDE DATA\MAPS\vegas\vegasN.IDE
#IDE DATA\MAPS\vegas\vegasS.IDE
#IDE DATA\MAPS\vegas\vegasE.IDE
#IDE DATA\MAPS\vegas\vegasW.IDE
#IDE DATA\MAPS\vegas\vegaxref.IDE
#IDE DATA\MAPS\country\countryN.IDE
#IDE DATA\MAPS\country\countN2.IDE
#IDE DATA\MAPS\country\countryS.IDE
#IDE DATA\MAPS\country\countryE.IDE
#IDE DATA\MAPS\country\countryW.IDE
#IDE DATA\MAPS\country\counxref.IDE
#IDE DATA\MAPS\interior\int_LA.IDE
#IDE DATA\MAPS\interior\int_SF.IDE
#IDE DATA\MAPS\interior\int_veg.IDE
#IDE DATA\MAPS\interior\int_cont.IDE
#IDE DATA\MAPS\leveldes\levelmap.IDE
IDE DATA\MAPS\leveldes\levelxre.IDE
#IDE DATA\MAPS\interior\gen_int1.IDE
#IDE DATA\MAPS\interior\gen_int2.IDE
#IDE DATA\MAPS\interior\gen_intb.IDE
#IDE DATA\MAPS\interior\gen_int3.IDE
#IDE DATA\MAPS\interior\gen_int4.IDE
#IDE DATA\MAPS\interior\gen_int5.IDE
#IDE DATA\MAPS\interior\savehous.IDE
#IDE DATA\MAPS\interior\stadint.IDE
#IDE DATA\MAPS\leveldes\seabed.IDE
IDE DATA\MAPS\basic\basicmap.IDE
IDE DATA\MAPS\basic\land.IDE
# interiors
#IDE DATA\MAPS\interior\props.IDE
#IDE DATA\MAPS\interior\props2.IDE
#IDE DATA\MAPS\interior\propext.IDE
# vehicle upgrade models
IDE DATA\MAPS\veh_mods\veh_mods.IDE
# txd parents
IDE DATA\TXDCUT.IDE
# have to load map.zon before any of the IPLs
IPL DATA\MAP.ZON
# IPL DATA\NAVIG.ZON
IPL DATA\INFO.ZON
#
# Scene information
#
#SPLASH loadsc2
#IPL DATA\MAPS\LA\LAn.IPL
#IPL DATA\MAPS\LA\LAn2.IPL
#IPL DATA\MAPS\LA\LAs.IPL
#IPL DATA\MAPS\LA\LAs2.IPL
#IPL DATA\MAPS\LA\LAe.IPL
#IPL DATA\MAPS\LA\LAe2.IPL
#IPL DATA\MAPS\LA\LAw.IPL
#IPL DATA\MAPS\LA\LAwn.IPL
#IPL DATA\MAPS\LA\LAw2.IPL
#IPL DATA\MAPS\LA\LAhills.IPL
#IPL DATA\MAPS\SF\SFn.IPL
#IPL DATA\MAPS\SF\SFs.IPL
#IPL DATA\MAPS\SF\SFse.IPL
#IPL DATA\MAPS\SF\SFe.IPL
#IPL DATA\MAPS\SF\SFw.IPL
#IPL DATA\MAPS\vegas\vegasN.IPL
#IPL DATA\MAPS\vegas\vegasS.IPL
#IPL DATA\MAPS\vegas\vegasE.IPL
#IPL DATA\MAPS\vegas\vegasW.IPL
#IPL DATA\MAPS\country\countryN.IPL
#IPL DATA\MAPS\country\countN2.IPL
#IPL DATA\MAPS\country\countrys.IPL
#IPL DATA\MAPS\country\countryE.IPL
#IPL DATA\MAPS\country\countryW.IPL
IPL DATA\MAPS\basic\basicmap.IPL
IPL DATA\MAPS\basic\land.IPL
# interiors
#IPL DATA\MAPS\interior\int_LA.IPL
#IPL DATA\MAPS\interior\int_SF.IPL
#IPL DATA\MAPS\interior\int_veg.IPL
#IPL DATA\MAPS\interior\int_cont.IPL
#IPL DATA\MAPS\interior\gen_int1.IPL
#IPL DATA\MAPS\interior\gen_int2.IPL
#IPL DATA\MAPS\interior\gen_intb.IPL
#IPL DATA\MAPS\interior\gen_int3.IPL
#IPL DATA\MAPS\interior\gen_int4.IPL
#IPL DATA\MAPS\interior\gen_int5.IPL
#IPL DATA\MAPS\interior\stadint.IPL
#IPL DATA\MAPS\interior\savehous.IPL
# level design
#IPL DATA\MAPS\leveldes\levelmap.IPL
#IPL DATA\MAPS\leveldes\seabed.IPL
#IPL DATA\MAPS\paths.ipl
#IPL DATA\MAPS\paths2.ipl
#IPL DATA\MAPS\paths3.ipl
#IPL DATA\MAPS\paths4.ipl
#IPL DATA\MAPS\paths5.ipl
#IPL DATA\MAPS\cull.ipl
#IPL DATA\MAPS\tunnels.ipl
#IPL DATA\MAPS\occluSF.ipl
#IPL DATA\MAPS\occluveg.ipl
#IPL DATA\MAPS\occluLA.ipl
#IPL DATA\MAPS\occluint.ipl
#IPL DATA\MAPS\audiozon.ipl
#
# Interiors
#
#SPLASH loadsc4
HELLLLPPPPP PLSSSS :((

 

Share this post


Link to post
Share on other sites
ZAZ

Ipl looks invalid, last value of ipl line should be -1, unless it should link to a LOD, but never a float

Share this post


Link to post
Share on other sites
deltaCJ

Ipl looks invalid, last value of ipl line should be -1, unless it should link to a LOD, but never a float

ok ill try it out

Share this post


Link to post
Share on other sites
ZAZ

Also it seems to have too much parameter, like vc ipl

Share this post


Link to post
Share on other sites
deltaCJ

Also it seems to have too much parameter, like vc ipl

 

Yeah, turns out that I exported the ipl in VC format. Going to fix that.

Share this post


Link to post
Share on other sites
deltaCJ

Also it seems to have too much parameter, like vc ipl

 

So i changed the IPL but it still crashes?

Share this post


Link to post
Share on other sites
ZAZ

ide format is also invalid

Share this post


Link to post
Share on other sites
deltaCJ

ide format is also invalid

Whats wrong with it?

Share this post


Link to post
Share on other sites
ZAZ

 

did you never look into existing ide?

 

yours:

 

14904, Plane01, land, 0, 299, 1
existing sa object:

 

1581, keycard, dyn_keycard, 40, 128
basic map object:

 

5000, gplane, basicmain, 300, 0

Share this post


Link to post
Share on other sites
deltaCJ

did you never look into existing ide?

 

yours:

14904, Plane01, land, 0, 299, 1
existing sa object:

 

1581, keycard, dyn_keycard, 40, 128
basic map object:

 

5000, gplane, basicmain, 300, 0

 

I'm sorry im still trying to map.

I'll try this out.

Share this post


Link to post
Share on other sites
deltaCJ

Okay, New problem.

 

I have map in game, but TXD or Col don't work!

 

It's just white land model in game!

Edited by deltaCJ

Share this post


Link to post
Share on other sites
ZAZ

TXD or Col?

white model indicates txd not allocated

if col failure, either game crashs or you can walk through or check it ingame

 

use MEd, render the scene and select the object

then there should be green hooks at "idenifier" and "dff"

then click the tab IDE, that opens ide window for selected object

there should also be green hooks at "model name" and "texture name"

then click to button "COL" inside the ide window

it should show the col model

 

check also if the col model have correct position:

the selected object have a red border of a virtual cube that indicates the border of the col model

 

If everthing is ok, then it can have two reasons for white model

1. the texture name inside the txd archiv is wrong

2. img failure because you didn't run "rebuild archiv"

Share this post


Link to post
Share on other sites
deltaCJ

TXD or Col?

white model indicates txd not allocated

if col failure, either game crashs or you can walk through or check it ingame

 

use MEd, render the scene and select the object

then there should be green hooks at "idenifier" and "dff"

then click the tab IDE, that opens ide window for selected object

there should also be green hooks at "model name" and "texture name"

then click to button "COL" inside the ide window

it should show the col model

 

check also if the col model have correct position:

the selected object have a red border of a virtual cube that indicates the border of the col model

 

If everthing is ok, then it can have two reasons for white model

1. the texture name inside the txd archiv is wrong

2. img failure because you didn't run "rebuild archiv"

 

 

Okay, I was able to get Coll to work, but now TXD is doesn't connect.

 

I went in MEd and it has green hooks on DFF model and TXD

 

What should the txd be called?

 

5000, plane, plane, 300, 0

 

dff and txd are both named correctly.

Share this post


Link to post
Share on other sites
ZAZ

it needs to open dff with 3d editor, 3dmax or zmodeler and check the texture name that is allocated

it must be same name as in properties of each texture inside txd archiv

Share this post


Link to post
Share on other sites
deltaCJ

it needs to open dff with 3d editor, 3dmax or zmodeler and check the texture name that is allocated

it must be same name as in properties of each texture inside txd archiv

Okay, So I have one texture one it

 

WoodPlanksDirty01.png

 

I opened Magic.TXD and placed it in there, same name.

 

Still won't show up?

Edited by deltaCJ

Share this post


Link to post
Share on other sites
ZAZ

Okay, So I have one texture one it

 

WoodPlanksDirty01.png

where do you have one texture on it?

In 3dMax?

If yes, is the texture shown there on the model?

Edited by ZAZ

Share this post


Link to post
Share on other sites
deltaCJ

 

Okay, So I have one texture one it

 

WoodPlanksDirty01.png

where do you have one texture on it?

In 3dMax?

If yes, is the texture shown there on the model?

 

 

Yes, it shows.

Share this post


Link to post
Share on other sites
ZAZ

Did you tried to install this object with modloader on another GTASA installation with stock map and where you have modloader?
Replace an unused object ide, 1246, line, for example inside of dynamic.ide

#1246, line, icons, 100, 1281246, plane, plane, 300, 0

put dff, txd and col into modloader folder

then add an ipl line anywhere or spawn it by cleo

 

Share this post


Link to post
Share on other sites
deltaCJ

Did you tried to install this object with modloader on another GTASA installation with stock map and where you have modloader?

Replace an unused object ide, 1246, line, for example inside of dynamic.ide

#1246, line, icons, 100, 1281246, plane, plane, 300, 0

put dff, txd and col into modloader folder

then add an ipl line anywhere or spawn it by cleo

 

 

 

Thank you! This worked.

 

I have another quesiton though

 

How do I make an Interior? With a script that has automatic doors open.

Share this post


Link to post
Share on other sites
ZAZ

Thank you! This worked.

so it seem that the img archiv is buggy

 

I have another quesiton though

How do I make an Interior?

just give the ipl line an inter number, bigger than 0

well, R* placed all interior file inside an extra img for better load performance

that's not required but it's better

 

 

With a script that has automatic doors open.

script or enex?

 

Interior doors are hardcoded and are working automaticly

take a look inside object.dat

these are the interior doors INSIDE of interiors (they're working also outside)

;***********interior doors*************Gen_doorEXT10,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT01,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT02,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT03,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT04,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT05,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		none

they are swinging when walking through, into bath room or bed room for example

 

they can also be placed by script and there are script codes to dis/enable

0107: [email protected] = create_object #GEN_DOORINT01 at 368.8954 161.5299 1013.274 0453: set_object [email protected] XY_rotation 0.0 0.0 angle 90.0 0905: set_door [email protected] openable 1

for the wardrobe is used an extra door which does an animation

075A: set_object $9811 animation "CLO_POSE_OUT_O" IFP_file "CLOTHES" 4.0 lockF 0 loop 1

back to object.dat

these are the exterior doors

;**********entry exit doors**********Gen_doorEXT01,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT02,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT03,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT04,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT05,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT06,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT07,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT08,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT09,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorSHOP01,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorSHOP02,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorSHOP3,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT11,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT12,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT14,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT15,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT17,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT18,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT19,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneCJ_WS_DOOR,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT7_11R,	5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT7_11L,	5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_wardrobe,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneADAM_V_DOOR,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		nonesl_dtdoor1,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		nonec*ntGIRLDOOR,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		none

they're working together with enex, you know, door open, CJ walk in animation and fade

position of enex in relation to door must be placed exactly and door must be placed by 0.0 , 90.0 , 180.0 , or 270.0 degree, otherwise it don't work

Share this post


Link to post
Share on other sites
deltaCJ

 

Thank you! This worked.

so it seem that the img archiv is buggy

 

I have another quesiton though

How do I make an Interior?

just give the ipl line an inter number, bigger than 0

well, R* placed all interior file inside an extra img for better load performance

that's not required but it's better

 

 

With a script that has automatic doors open.

script or enex?

 

Interior doors are hardcoded and are working automaticly

take a look inside object.dat

these are the interior doors INSIDE of interiors (they're working also outside)

;***********interior doors*************Gen_doorEXT10,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT01,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT02,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT03,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT04,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorINT05,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	6,	1, 	0,	0,	0.0, 0.0, 0.0,		none

they are swinging when walking through, into bath room or bed room for example

 

they can also be placed by script and there are script codes to dis/enable

0107: [email protected] = create_object #GEN_DOORINT01 at 368.8954 161.5299 1013.274 0453: set_object [email protected] XY_rotation 0.0 0.0 angle 90.0 0905: set_door [email protected] openable 1

for the wardrobe is used an extra door which does an animation

075A: set_object $9811 animation "CLO_POSE_OUT_O" IFP_file "CLOTHES" 4.0 lockF 0 loop 1

back to object.dat

these are the exterior doors

;**********entry exit doors**********Gen_doorEXT01,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT02,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT03,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT04,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT05,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT06,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT07,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT08,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT09,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorSHOP01,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorSHOP02,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorSHOP3,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT11,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT12,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT14,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT15,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT17,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT18,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT19,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneCJ_WS_DOOR,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT7_11R,	5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_doorEXT7_11L,	5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneGen_wardrobe,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		noneADAM_V_DOOR,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		nonesl_dtdoor1,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		nonec*ntGIRLDOOR,		5.0,		5.0		0.98,		0.1,		50.0,		0.0,  	1.0,	0,	7,	1, 	0,	0,	0.0, 0.0, 0.0,		none

they're working together with enex, you know, door open, CJ walk in animation and fade

position of enex in relation to door must be placed exactly and door must be placed by 0.0 , 90.0 , 180.0 , or 270.0 degree, otherwise it don't work

 

 

Script

 

I want to make a pod where the player can go into to sleep or save the game.

Share this post


Link to post
Share on other sites
ZAZ

a teleport script and a a save script you mean?

can you find in the tutorial

Share this post


Link to post
Share on other sites
deltaCJ

a teleport script and a a save script you mean?

can you find in the tutorial

 

No, I know how to make a script to save, I mean I just want to make the door automatically open when you go near it.

Share this post


Link to post
Share on other sites
ZAZ

I just want to make the door automatically open when you go near it.

Aha, good to know that

and where's the problem? did you already made a script? if yes then post it

Share this post


Link to post
Share on other sites
deltaCJ

No I just want to know how I can do that.

 

Example:

 

 

 

 

The automatic doors

Edited by deltaCJ

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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