Quantcast

Jump to content

» «
Photo

[Question]How to add more parked cars to freemode?

6 replies to this topic
Zibulaatio
  • Zibulaatio

    Player Hater

  • Members
  • Joined: 22 Jul 2013
  • None

#1

Posted 24 July 2013 - 11:27 AM

For TBoGT, how to add more parked car spawns?
\EFLC\TBoGT\common\data\cdimages\Script_network.img\e2_freemode.sco
This is the code for APC to spawn in alqonquin police station.
PushF 69,52
PushF 1248,32
PushF 15,01
PushF 0,9962
PushF 0,0805
NegF
PushF 3
Push 0x2189D250
PushD -1
PushD -1
PushD -1
PushD -1
PushD 1
PushS 75
PushS 75
PushS 48
Var
CallNative CREATE_CAR_GENERATOR 15 0

When i copy paste this code over this same code and change cordinates my own car will appear on the map BUT ONE OF THE OTHER PARKED CARS DISAPPEAR! (i think caddy)
how to add more slots for the game so i can put my own parked car spawn where ever i want and other cars wont disappear?

Thank you

Skorpro
  • Skorpro

    GTAholic

  • Members
  • Joined: 19 Jul 2009
  • Germany

#2

Posted 25 July 2013 - 02:45 AM

In this case it's better to use...
CODE
// SCO script
uint hash = 1063483177; // COMET
float x = 100.0, y = 100.0, z = 10.0; // Put your own coords;)
Vehicle veh;
CREATE_CAR(1063483177, x, y, z, &veh, 1);
SET_CAR_ON_GROUND_PROPERLY(veh);

...


Zibulaatio
  • Zibulaatio

    Player Hater

  • Members
  • Joined: 22 Jul 2013
  • None

#3

Posted 25 July 2013 - 09:29 AM Edited by Zibulaatio, 25 July 2013 - 06:57 PM.

QUOTE (Skorpro @ Thursday, Jul 25 2013, 02:45)
In this case it's better to use...
CODE
// SCO script
uint hash = 1063483177; // COMET
float x = 100.0, y = 100.0, z = 10.0; // Put your own coords;)
Vehicle veh;
CREATE_CAR(1063483177, x, y, z, &veh, 1);
SET_CAR_ON_GROUND_PROPERLY(veh);

...

hey man, im very happy that you answered but because im not very good at modding, where should i put this code? (how to install) you know.

Thanks smile.gif

EDIT: i cant get your parked cars v1.3 work, even if i have all the files in main folder, c++ and all those programs updated :S dunno whats the reason.

Skorpro
  • Skorpro

    GTAholic

  • Members
  • Joined: 19 Jul 2009
  • Germany

#4

Posted 26 July 2013 - 07:21 AM

QUOTE (Zibulaatio @ Thursday, Jul 25 2013, 09:29)
hey man, im very happy that you answered but because im not very good at modding, where should i put this code? (how to install) you know.

Thanks smile.gif

Hi,
you're welcome smile.gif

Read this SCO topic!

OR

try this:
CODE
Push 0x2189D250
PushF 69,52
PushF 1248,32
PushF 15,01
PushS 48
Var
PushD 1
CallNative CREATE_CAR 6 0

Note: Var48 is already in use.


QUOTE
EDIT: i cant get your parked cars v1.3 work, even if i have all the files in main folder, c++ and all those programs updated :S dunno whats the reason.

Please post your " asilog.txt " HERE

Zibulaatio
  • Zibulaatio

    Player Hater

  • Members
  • Joined: 22 Jul 2013
  • None

#5

Posted 26 July 2013 - 09:10 AM

QUOTE
try this:
CODE
Push 0x2189D250
PushF 69,52
PushF 1248,32
PushF 15,01
PushS 48
Var
PushD 1
CallNative CREATE_CAR 6 0

Note: Var48 is already in use.




Thanks for replying but.. where should i copy that code on e2_freemode? smile.gif like what line i put the code if i use sco toolbox advanced mode.

Skorpro
  • Skorpro

    GTAholic

  • Members
  • Joined: 19 Jul 2009
  • Germany

#6

Posted 26 July 2013 - 10:28 AM

QUOTE (Zibulaatio @ Friday, Jul 26 2013, 09:10)
Thanks for replying but.. where should i copy that code on e2_freemode? smile.gif like what line i put the code if i use sco toolbox advanced mode.

Good question... tounge2.gif
In fact I have no experience with SCO Toolbox! But I would try this:

Search...
CODE
PushF 69,52
PushF 1248,32
PushF 15,01
PushF 0,9962
PushF 0,0805
NegF
PushF 3
Push 0x2189D250
PushD -1
PushD -1
PushD -1
PushD -1
PushD 1
PushS 75
PushS 75
PushS 48
Var
CallNative CREATE_CAR_GENERATOR 15 0
PushS 48
Var
RefGet
PushS 101
CallNative SWITCH_CAR_GENERATOR 2 0

...and replace it with...
CODE
PushF 69,52
PushF 1248,32
PushF 15,01
PushF 0,9962
PushF 0,0805
NegF
PushF 3
Push 0x2189D250
PushD -1
PushD -1
PushD -1
PushD -1
PushD 1
PushS 75
PushS 75
PushS 48
Var
CallNative CREATE_CAR_GENERATOR 15 0
PushS 48
Var
RefGet
PushS 101
CallNative SWITCH_CAR_GENERATOR 2 0
PushF 86,168
PushF 1241,06
PushF 15,5f
PushF 10,77
PushF 0,0805
NegF
PushF 3
Push 0x3F637729
PushD -1
PushD -1
PushD -1
PushD -1
PushD 1
PushS 75
PushS 75
PushS 999
Var
CallNative CREATE_CAR_GENERATOR 15 0
PushS 999
Var
RefGet
PushS 101
CallNative SWITCH_CAR_GENERATOR 2 0


It spawns a COMET. It's the same like (high level SCO):
CODE
CREATE_CAR_GENERATOR( 69.52, 1248.32, 15.01, 0.9962, -0.0805, 3.0, 0x2189D250, -1, -1, -1, -1, 1, 75, 75, &Var48 );
SWITCH_CAR_GENERATOR( Var48, 101 );
CREATE_CAR_GENERATOR( 86.168, 1241.06, 15.5, 10.77, -0.0805, 3.0, 0x3F637729, -1, -1, -1, -1, 1, 75, 75, &Var999 );
SWITCH_CAR_GENERATOR( Var999, 101 );

I can't guarantee anything... Maybe another modder can do that smile.gif

Good luck!

Zibulaatio
  • Zibulaatio

    Player Hater

  • Members
  • Joined: 22 Jul 2013
  • None

#7

Posted 26 July 2013 - 01:39 PM

QUOTE (Skorpro @ Friday, Jul 26 2013, 10:28)
QUOTE
Search...
CODE
PushF 69,52
PushF 1248,32
PushF 15,01
PushF 0,9962
PushF 0,0805
NegF
PushF 3
Push 0x2189D250
PushD -1
PushD -1
PushD -1
PushD -1
PushD 1
PushS 75
PushS 75
PushS 48
Var
CallNative CREATE_CAR_GENERATOR 15 0
PushS 48
Var
RefGet
PushS 101
CallNative SWITCH_CAR_GENERATOR 2 0

...and replace it with...
CODE
PushF 69,52
PushF 1248,32
PushF 15,01
PushF 0,9962
PushF 0,0805
NegF
PushF 3
Push 0x2189D250
PushD -1
PushD -1
PushD -1
PushD -1
PushD 1
PushS 75
PushS 75
PushS 48
Var
CallNative CREATE_CAR_GENERATOR 15 0
PushS 48
Var
RefGet
PushS 101
CallNative SWITCH_CAR_GENERATOR 2 0
PushF 86,168
PushF 1241,06
PushF 15,5f
PushF 10,77
PushF 0,0805
NegF
PushF 3
Push 0x3F637729
PushD -1
PushD -1
PushD -1
PushD -1
PushD 1
PushS 75
PushS 75
PushS 999
Var
CallNative CREATE_CAR_GENERATOR 15 0
PushS 999
Var
RefGet
PushS 101
CallNative SWITCH_CAR_GENERATOR 2 0



it didnt dont nothing but atleast game didnt crash so i think u were close to get it right smile.gif




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users