IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (10) « First ... 5 6 [7] 8 9 ... Last »  ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 [SA|DOC] IPL Definitions

 item placement files
 
pdescobar  
Posted: Monday, Jun 19 2006, 21:57
Quote Post


Conformist Scum Panda
Group Icon
Group: Members
Joined: Jul 19, 2005

Member Award




QUOTE (Timpo @ Jun 19 2006, 10:37)
how can you edit binary and *stream* ipl's?
they don't show up normal in notepad.

Notepad is only useful for text files. For binary files like the binary IPLs you want to use what's commonly called a "hex editor." Earlier in the topic, you can see an example of using such an editor with binary IPLs in a post by DiCanio. I use a very old DOS-based hex editor called HEX by Jonathan Durward (written in 1995) when I need to do a quick edit on a binary file but I'm sure you can find a newer Windows-based utility fairly easily. For larger-scale editing or data extraction, I generally write simple C or perl programs to do it.

If you do intend to manually edit the binary IPLs, it would be a tremendous help to have some basic familiarity with hexadecimal numbers, standard data types, and data storage conventions.
Users WebsitePMMSN
  Top
 

 
HiddenMyst  
Posted: Saturday, Jun 24 2006, 05:53
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 13, 2005

XXXXX



Hey, I was wondering. Do tou need to start a new game with binary IPL vehicle spawns???
Also can someone tell me the adress of an easy to use Hex editor?
PM
  Top
 

 
pdescobar  
Posted: Saturday, Jun 24 2006, 17:02
Quote Post


Conformist Scum Panda
Group Icon
Group: Members
Joined: Jul 19, 2005

Member Award




QUOTE (HiddenMyst @ Jun 24 2006, 01:53)
Hey, I was wondering. Do tou need to start a new game with binary IPL vehicle spawns???
Also can someone tell me the adress of an easy to use Hex editor?

You should not need to start a new game to see car generator additions or changes in binary IPLs; only the ones added to text IPLs seem to have that caveat.

There are links to a couple of free hex editors on the wiki page I linked in my last reply.
Users WebsitePMMSN
  Top
 

 
HiddenMyst  
Posted: Monday, Jun 26 2006, 01:56
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 13, 2005

XXXXX



Thanks for clarifying that.
Now i just need to know how to add vehicle spawns in binary ipl's.
PM
  Top
 

 
kiwidesign  
Posted: Thursday, Aug 10 2006, 22:04
Quote Post


GTA:LC kiwi :)
Group Icon
Group: Members
Joined: Jul 1, 2006

it.gif

XXXXX



QUOTE (DiCanio @ Sep 6 2005, 05:54)
Binary IPL Vehicles:

...

01. X position
02. Y position
03. Z position (-100 is occasionally used)
04. Angle (these are Radian angles)
05. Vehicle ID (-1 = Random)
06. Primary color (-1 = Random)
07. Secondary Color  (-1 = Random)
08. Unknown (mostly 0 - see NOTE 1 below)
09. Alarm ON Chance (0 to 100, the higher the value the more chance of being on)
10. Door Lock Chance (0 to 100, the higher the value the more chance of being locked)
11. Unknown (normally -1)
12. Unknown (normally  -1)

...

========================

Car Entries In Map IPL Files:

You can use normal map IPL files for spawning vehicles, just like binary IPLs.
The set up is basically the same. The 'cars' entry in IPL  files looks like this.


# IPL generated from Max file countrys.max
inst
11431, des_tepeoff02, 0, -478.3069, -557.8972, 26.0597, 0, 0, 0.707107, -0.707107, -1
end
cull
end
path
end
grge
end
enex
end
pick
end
cars
-44.6548, -1152.026, 2.653, 120, 406, 51, 44, 0, 0, 0, -1, -1
end
jump
end
tcyc
end
auzo
end
mult
end


The above car entry follows the layout of binary IPLs with the exception
that they use degrees for the angle and not Radians.

-44.6548, -1152.026, 2.653, 120, 406, 51, 44, 0, 0, 0, -1, -1

X = -44.6548
Y = -1152.026
Z = 2.653
Angle = 120
Vehicle ID = 406
Primary Color = 51
Secondary color = 44
Unknown Entry = 0
Alarm Chance = 0
Door Lock Chance = 0
Unknown Entry = -1
Unknown entry = -1


You can use 120 or 120.0 etc in the angle entry.
I've had 20 cars entries in an IPL without any problems but there maybe
some limitations with some heavily modified games. It's pretty much an
untested genre at present.
...

hi dudes, i tried to spawn a NGR500 in front of CJ's house, but the bike doesn't spawn confused.gif

I created carspawn.ipl in data\maps with this line in cars section:
QUOTE
# IPL generated by Kiwi, dehiho...
inst
end
cull
end
path
end
grge
end
enex
end
pick
end
cars
2492.828, -1668.052, 13.344, 0, 522, 87, 45, -1, 0, 0, -1, -1
end
jump
end
tcyc
end
auzo
end
mult
end


and in gta.dat, under # level design section in a first try, than under # Scene information section, I added the line
IPL DATA\MAPS\carspawn.ipl

I didn't put the car spawn in the map IPL file because in LAe2.ipl (where CJ's house is) there is not "cars" section suicidal.gif


can you help me wise men?

(maybe the car/bike must have a color couple that is in carcols.dat? sarcasm.gif)
PMMSN
  Top
 

 
pdescobar  
Posted: Thursday, Aug 10 2006, 22:30
Quote Post


Conformist Scum Panda
Group Icon
Group: Members
Joined: Jul 19, 2005

Member Award




Are you starting a new game or loading a previous game? Car spawns added to a text IPL file such as you have done will only show up in a new game. In fact, they will persist in the save afterwards as well even if it is played on an unmodified system.

At a glance, the line you used looks fine to me. Note that when I have played with car spawns, I also did so in a new IPL which I added to gta.dat at almost the very end (after all the level design stuff but before the final SPLASH line). I don't think it much matters where you put it, but that's what has worked for me.
Users WebsitePMMSN
  Top
 

 
kiwidesign  
Posted: Friday, Aug 11 2006, 11:30
Quote Post


GTA:LC kiwi :)
Group Icon
Group: Members
Joined: Jul 1, 2006

it.gif

XXXXX



you're right, starting a new game it works... like with IPL weapon picks sad.gif

so there is no way with a previous saved game? suicidal.gif




btw thanks, and... damn, the gtanet is so slow user posted image
PMMSN
  Top
 

 
pdescobar  
Posted: Friday, Aug 11 2006, 19:00
Quote Post


Conformist Scum Panda
Group Icon
Group: Members
Joined: Jul 19, 2005

Member Award




QUOTE (kiwidesign @ Aug 11 2006, 07:30)
you're right, starting a new game it works... like with IPL weapon picks sad.gif

so there is no way with a previous saved game? suicidal.gif

You can add a parked car spawn point that works on in-progress games by adding it to a binary IPL; DiCanio went over that briefly earlier in the topic. Of course, that's a lot more work since you have to do it via a hex editor and work with the IMG archive.

You can also edit the spawn points in the save file directly but that currently requires using a hex editor as well.
Users WebsitePMMSN
  Top
 

 
kiwidesign  
Posted: Friday, Aug 11 2006, 23:28
Quote Post


GTA:LC kiwi :)
Group Icon
Group: Members
Joined: Jul 1, 2006

it.gif

XXXXX



QUOTE (pdescobar @ Aug 11 2006, 19:00)
You can add a parked car spawn point that works on in-progress games by adding it to a binary IPL; DiCanio went over that briefly earlier in the topic. Of course, that's a lot more work since you have to do it via a hex editor and work with the IMG archive.

damn... il looks bit difficult confused.gif

anyway thanks, when I'll have more time and will, I'll try to do this icon14.gif
PMMSN
  Top
 

 
pdescobar  
Posted: Sunday, Aug 20 2006, 01:15
Quote Post


Conformist Scum Panda
Group Icon
Group: Members
Joined: Jul 19, 2005

Member Award




Updated list of PICK ids. Since I couldn't figure out where the ammo amounts were defined for these pickups, I went through and tested them all again so I could at least have a list of the ammo numbers. During my test, four of the IDs under 10 that didn't work for Fireman worked for me and spawned previously "missing" items. Additionally, I found that the IDs previously listed were off by 1 for the Flamethrower through Necklace Box (inclusive). So here's a corrected table with the default ammo values listed where applicable. Since I retested all the IDs from -100 to 399, it still appears that there is no Armour, Health, or Sawnoff Shotgun, though.

Note that as with text IPL cars entries, changes only seem to take effect on a completely new game.

IDWeapon NameAmmo
4 Brass Knuckles-
5 Nightstick-
6 Knife-
7 *Nothing*-
8 *Nothing*-
9 Golf Club-
10 Bat-
11 Shovel-
12 Pool Cue-
13 Katana-
14 Chainsaw-
15 Molotov8
16 Grenades8
17 Satchels5
18 9mm Pistol30
19 Silenced 9mm10
20 Desert Eagle10
21 Shotgun15
22 SPAS Shotgun10
23 Tec 960
24 Micro SMG60
25 MP560
26 AK4780
27 M480
28 Country Rifle20
29 Sniper Rifle10
30 *Nothing*-
31 Flamethrower100
32 Minigun500
33 Large Purple Dildo-
34 Small White Dildo-
35 Large White Vibrator-
36 Small Black Vibrator-
37 Flowers-
38 Cane-
39 Ringbox-
40 Necklace Box-
41 Cellphone-
42 *Nothing*-
43 Teargas8
44 Minigun (Duplicate)500
45 SPAS Shotgun (Duplicate)10
46 Rocket Launcher4
47 Heat Seeking Rocket Launcher3
48 Detonator-
49 Spray can500
50 Fire Extinguisher500
51 Camera36
52 Nightvision Goggles-
53 Infrared Goggles-
54 Jetpack-
55 Parachute-
Users WebsitePMMSN
  Top
 

 
HiddenMyst  
Posted: Monday, Aug 21 2006, 05:30
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 13, 2005

XXXXX



Hey Guys,
It's been a while and i'v tried binary ipl's but they dont work.
I am using the latest version of Hex Workshop but they only spawn in a completely new game.
I have even tested the binary ipl with programs that convert it from binary to normal and vise versa.
Please help as my Andromeda mod is nearly complete.
PM
  Top
 

 
DiCanio  
Posted: Monday, Aug 21 2006, 16:21
Quote Post


Foot Soldier
Group Icon
Group: Members
Joined: Jul 22, 2002

XXXXX



Hiddenmyst

Altered Binary IPL files do work but they need very careful attention
to detail. Double/treble check your work.


Nice work on the Picks, Pdescobar smile.gif
PM
  Top
 

 
ryan1371  
Posted: Thursday, Aug 24 2006, 20:39
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 23, 2006

XXXXX



How do you find the coordinates of something. I've made another garage in S.A. and want to make it functional. I've copied the garage code to the lAe2.ipl file, which is where i want the garage. But I am having a hard time figuring out the coordinates. Could you explain to me how to figure out the coordinates, because I want to create more than one garage.


P.S. I didn't actually 'create' the garage. I just used the model for the garage from the Johnson House.
PM
  Top
 

 
Fireman  
Posted: Friday, Aug 25 2006, 16:53
Quote Post


Cunning Stunter
Group Icon
Group: Members
Joined: Mar 25, 2005

nl.gif

XXXXX



QUOTE (pdescobar @ Aug 20 2006, 01:15)
Updated list of PICK ids. Since I couldn't figure out where the ammo amounts were defined for these pickups, I went through and tested them all again so I could at least have a list of the ammo numbers. During my test, four of the IDs under 10 that didn't work for Fireman worked for me and spawned previously "missing" items. Additionally, I found that the IDs previously listed were off by 1 for the  Flamethrower through Necklace Box (inclusive). So here's a corrected table with the default ammo values listed where applicable. Since I retested all the IDs from -100 to 399, it still appears that there is no Armour, Health, or Sawnoff Shotgun, though.

Note that as with text IPL cars entries, changes only seem to take effect on a completely new game.

IDWeapon NameAmmo
4 Brass Knuckles-
5 Nightstick-
6 Knife-
7 *Nothing*-
8 *Nothing*-
9 Golf Club-
10 Bat-
11 Shovel-
12 Pool Cue-
13 Katana-
14 Chainsaw-
15 Molotov8
16 Grenades8
17 Satchels5
18 9mm Pistol30
19 Silenced 9mm10
20 Desert Eagle10
21 Shotgun15
22 SPAS Shotgun10
23 Tec 960
24 Micro SMG60
25 MP560
26 AK4780
27 M480
28 Country Rifle20
29 Sniper Rifle10
30 *Nothing*-
31 Flamethrower100
32 Minigun500
33 Large Purple Dildo-
34 Small White Dildo-
35 Large White Vibrator-
36 Small Black Vibrator-
37 Flowers-
38 Cane-
39 Ringbox-
40 Necklace Box-
41 Cellphone-
42 *Nothing*-
43 Teargas8
44 Minigun (Duplicate)500
45 SPAS Shotgun (Duplicate)10
46 Rocket Launcher4
47 Heat Seeking Rocket Launcher3
48 Detonator-
49 Spray can500
50 Fire Extinguisher500
51 Camera36
52 Nightvision Goggles-
53 Infrared Goggles-
54 Jetpack-
55 Parachute-

o.O Those didn't work for me sad.gif

Good job on the table cookie.gif

@ DiCanio: </3 You never said I did a good job....

This post has been edited by Fireman on Friday, Aug 25 2006, 17:16
PM
  Top
 

 
Deniska  
Posted: Monday, Sep 18 2006, 09:08
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Feb 1, 2005

Member Award




About effect 1 in CULL. Mirrors.

CODE
cexter X, Y, Z, 0, Yradius, Zmin, Xradius, 0,  Zmax, Effect, Vx, Vy, Vz, Cm


All parameters until Vx... is mirrored space.

Vx Vy Vz - mirror direction (like [-1 0 0] or [0 1 0] or [0 0 -1])
Cm - mirror plane coordinate in direction axis.

for example Vxyz = [-1 0 0] if mirror have Xaxis direction then
Cm is Xmir_world_coordinate*Vx

here my tests
user posted image
user posted image
user posted image


PM
  Top
 

 
ChrisBenoit!  
Posted: Monday, Sep 18 2006, 12:00
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 27, 2005

gr.gif

XXXXX



Little Question!

Waht is in the IPL File "mult" ? dozingoff.gif
Users WebsitePMICQ
  Top
 

 
jarjar  
Posted: Monday, Sep 18 2006, 12:26
Quote Post


Boss
Group Icon
Group: BUSTED!
Joined: Aug 7, 2005

au.gif

XXXXX



QUOTE (ChrisBenoit! @ Sep 18 2006, 22:00)
Little Question!

Waht is in the IPL File "mult" ? dozingoff.gif

Well as you can see it's marked on the first page as "?". I'm guessing that means no one quiet knows what it's for, no.
Users WebsitePMMSNAOLYahooICQ
  Top
 

 
Rooftopper  
Posted: Thursday, Nov 9 2006, 08:59
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Nov 8, 2006

XXXXX



QUOTE (GT.Killer @ Jan 15 2006, 19:28)
QUOTE (Fireman @ Jan 15 2006, 20:34)
Yeh that was pretty strange, because my mouse sometimes goes into a everlasting spin so it went like: on off onoff onoffonoffonoff.

ya.. about that, have enyone discovered why IPL modificating affects to mouse configurations? because i havent found enything that would connect IPL files to mouse settings wow.gif
Known mouse bugs caused by IPL:

- everlasting spin
- Mouse sensitivity 0%
- Mouse sensitivity 100%
- Aiming sensitivity 100% + CJ looking 90 degrees right ( all ways right(?))
- Aiming sensitivity 100% + CJ looking normaly

Has anyone ever found a fix to the mouse problem?

I made an ipl file that uses the following auzo entry:

auzo
LASTONE, 67, 1, 2459.21, -1686.59, 15.20, 35
end

The music plays but whenever I aim a weapon CJ points to the right and toward the ground. To remedy the situation all I have to do is blank out the above auzo line. The music no longer plays (obviously) but CJ again aims normally.

I am working on a clean install with no other mods, and my mod only adds the one ipl file I made - which only uses in-game elements. The ipl file was created using the excellent MEd tool.

I've tried using the following type1 auzo configuration, and with it CJ's aim is fine, but no music plays:

auzo
LASTONE, 67, 1, 2459.21, -1921.04, 5.1, 2470.21, -1662.03, 30.03
end

There must be some sort of workaround for this because I have seen other mods use the auzo perameter, and the mouse doesn't screw up. Thanks!
PM
  Top
 

 
Cerbera  
Posted: Thursday, Nov 9 2006, 09:23
Quote Post


Ben "Cerbera" Millard
Group Icon
Group: Members
Joined: Jun 22, 2002

en.gif

Member Award




I get exactly the same mouse aiming problem in MISA 0.5.
Users WebsitePM
  Top
 

 
Rooftopper  
Posted: Thursday, Nov 9 2006, 10:17
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Nov 8, 2006

XXXXX



QUOTE (Cerbera @ Nov 9 2006, 09:23)
I get exactly the same mouse aiming problem in MISA 0.5.

The only thing I can figure is it may have something to do with what I used for a line name (ID). I read somewhere that the ID name you choose is only used for a visual reference when finding it in a long list of audio zones and not by the game, but after looking in the audiozon.ipl file I see multiple lines that use the same ID name. So maybe the ID name has some programing function I don't know about.
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Pages: (10) « First ... 5 6 [7] 8 9 ... Last »

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG