GTA Modification Forums
map vehicles spawning slots (like sultanrs)
 |
|
 |
| |
Prof_Farnsworth  |
Posted: Thursday, Jul 12 2012, 22:35
|
Ambient Modder

Group: Members
Joined: Feb 25, 2011

|
| QUOTE (jpm1 @ Thursday, Jul 12 2012, 07:23) | | QUOTE (Prof_Farnsworth @ Thursday, Jul 12 2012, 01:21) | | I am not sure if you've figured this out jpm1, but adding specific cars (which are already in the game) around the map can be done with a very simple script. |
i'm not speaking of spawning with a trainer . i just want to add vehicles on map like the sultanrs near the abandonned manor , you know . i want a marquis at the meat quarter and a 560 SEC on the parking which is in front . concerning the ways to do so the i don't care , just give me a link | Yeah, that's what I mean. I have boats spawn at the boatyard, and an ambulance at the hospital, so far. In order to write it, you need to get the locations and headings of where you want the vehicles to spawn (i.e. X,Y,Z, Heading) using a position tool.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
jpm1  |
|
Vice city citizen

Group: Members
Joined: Sep 26, 2005


|
| QUOTE (Prof_Farnsworth @ Thursday, Jul 12 2012, 23:35) | | QUOTE (jpm1 @ Thursday, Jul 12 2012, 07:23) | | QUOTE (Prof_Farnsworth @ Thursday, Jul 12 2012, 01:21) | | I am not sure if you've figured this out jpm1, but adding specific cars (which are already in the game) around the map can be done with a very simple script. |
i'm not speaking of spawning with a trainer . i just want to add vehicles on map like the sultanrs near the abandonned manor , you know . i want a marquis at the meat quarter and a 560 SEC on the parking which is in front . concerning the ways to do so the i don't care , just give me a link |
Yeah, that's what I mean. I have boats spawn at the boatyard, and an ambulance at the hospital, so far. In order to write it, you need to get the locations and headings of where you want the vehicles to spawn (i.e. X,Y,Z, Heading) using a position tool. | i would prefer a simple line in the XPL myself  . too much scripts running at the same time , i just don't like that
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
jpm1  |
Posted: Wednesday, Jul 25 2012, 18:07
|
Vice city citizen

Group: Members
Joined: Sep 26, 2005


|
editedi found . i don't know why people talk of xpl . i used a wpl an it seems to work great so far . here's what to do ok as i found a better way of editing i rework the whole post . so , only thing you'll need is Open IV soft . i guess you know the wpl you want to edit already . export it (right click) with Open IV in opl format . your wpl (now opl) can now be edited with any text editor . open your opl with notepad for example . you'll see lot of lines , search for the cars section . it should look like this | CODE | cars -2169.55, 151.399, 11.834, -7, 0, 3, hash:0, -1, -1, -1, -1, 1640, 0, 0 -2167.32, 145.071, 11.834, -7, 0, 3, hash:0, -1, -1, -1, -1, 1640, 0, 0 -2129.38, 159.964, 11.834, 0, 7, 3, hash:0, -1, -1, -1, -1, 1640, 0, 0 -2114.339, 168.944, 12.05, -10, 10, 0, ambulance, -1, -1, -1, -1, 1632, 0, 0 end |
in the above example i was trying to add an ambulance at the Fire depot in Berchem . you see 4 lines that means these are 4 vehicles spawning slots . there are 14 values by line value 1 : vehicle X position . x higher value means the object will be placed closer to the east value 2 : vehicle Y position . y higher value means the object will be placed closer to the north value 3 : vehicle height . 0 is sea level . boats while placed on water should always be set on 0 value 4, 5, 6 : still under investigation . seems to be linked to a kind rotation . let's jump to next step value 7 : vehicle hash . with open IV opl format now you just have to enter vehicle in game name and you're done . when you let hash:0 or 0 the game will randomly spawn a vehicle of the vehicles family you set , see value 12 values 8, 9, 10, 11 : under investigation value 12 : vehicle family . there are different groups of vehicles . these groups can be static but it seems they can be dynamic too and spawn according to several parameters like the traffic around for example (see below) value 13 : unknown value 14 : when set on 200 , vehicle is protection free here's what i found concerning the groups . there are pretty much of them . here i'll enumerate only the ones i'm pretty sure about -1879046431 : with a marquis the spawning probabilty is around 99 % (not absolutly sure but seems to be a boats group) 1636,1637,1639,1796,1892,1893,1895 : police groups . seems to spawn police (patrol , cruiser) only . as there are several groups for the same cars i believe the frequencies are different ? 1640, 1643 : fire truck groups . spawns fire trucks only 1632 : seems to be a global group . seems perfect for helicopters . spawn regularly but not too much . with cars it seems to spawn normally 1 over 2 , 2 over 3 . but with trucks , it seems to spawn rarely . i set a truck to spawn at the docks , and the spawning was something like 2 over 10 , 3 over 10 . when vehicle hash is set on 0 it seems spawned car type will be made according to the traffic around . if vehicle hash not set and the group is choosen for a water slot then it will spawn anything there included cars . that group can be subject to scenarios . i saw persons arrive , jump into a boat or an helo and go away with it . it happens rarely but it happens 1633 : same with 1632 but with a bit higher spawning frequency 1905 : when used with boats the spawning frequency is very high around 99% . seems to be a global group (can spawn anything) 1879046304 : good spawning frequency with boats 1 over 2 , 2 over 3 i have to admit there is quite still a lot of unknown but i wanted to edit for the release of lastest Open IV . i'll update if i find more the result  i finally did it  This post has been edited by jpm1 on Thursday, Sep 6 2012, 07:48
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|