|
 |
|
|
|
|
|
Attention:
|
The Mod Showroom is only for posting previews/downloads of completed or near finished mods. All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
|
|
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials
|
Taxi mod Yes, it's real
 |
|
 |
| |
BReal  |
Posted: Thursday, May 29 2008, 10:46
|
Rat

Group: Members
Joined: Dec 17, 2007


|
| QUOTE (james227uk @ May 29 2008, 13:27) | | QUOTE (boop @ May 29 2008, 09:35) | great mod just one question:
can i use the taxi driver mod even in a mission? or will the game crash? |
Nope,will not work in missions because I used this:
That means if the player is on mission, the script won't work |
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
james227uk  |
Posted: Thursday, May 29 2008, 12:45
|
One Spartan Army

Group: Andolini Mafia Family
Joined: Feb 5, 2008


|
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
oCain  |
|
Crackhead

Group: Members
Joined: Oct 2, 2005


|
First of all...Nice Mod! I've got just some suggestions... If you like to check if the radar marker was set... | CODE | 0A8D: 30@ = read_memory 0xBA831A size 1 virtual_protect 0 00D6: if 8039: not 30@ == 0 004D: jump_if_false @TAXI_11 |
For the payment calc you can use the distance between the start and destination point... | CODE | | 050A: 29@ = distance_between_XYZ 11@ 12@ 13@ and_XYZ 5@ 6@ 7@ |
Maybe you can use a random traffic behaviour or just set it to '5'... | CODE | 0209: 28@ = random_int_in_ranges 0 5 00AE: set_car 0@ traffic_behaviour_to 28@ //without 00AE Stop at Trafficlights / Stop 4 everything // 1=ignoreTrafficlights / Stop 4 peds // 2=ignoreTrafficlights / don't Stop 4 peds/cars/objs // 3=same as 2??? // 4=ignoreTrafficlights / Stop 4 peds/cars/objs // 5=stop at Trafficlights / don't Stop 4 peds/cars/objs 02C2: car 0@ drive_to 5@ 6@ 7@ |
If you like to spawn the taxi some gta-meters away you should use... | CODE | 04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 -80.0 0.0 02C1: store_to 11@ 12@ 13@ car_path_coords_closest_to 11@ 12@ 13@ |
...to make sure that the taxi is not blocked or something else. And just to make the script a lil bit more crash-save. Don't use 32@ or 33@ as a handler for peds(or something else)...these are local timer. Maybe you also should check if the taxidriver is still alive and the taxi is not wrecked. That's all...I think  Greetz'n'keep on strong!
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(9) 1 2 [3] 4 5 ... Last »
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.
| |
 |
|
 |
|
|
|
|