:
Destination Time
:
Present Time
:
Last Time Departed
Sign in to follow this  
TWG

Coils v2

Recommended Posts

Ok, so here we go.

I opened the main.scm....

Did a Ctrl F search for R1, and all i got was......

$R1 = 11 // integer values 

$G1 = 213 // integer values 

$B1 = 0 // integer values 

$R2 = 11 // integer values 

$G2 = 213 // integer values 

$B2 = 0 // integer values

Those are my changed values, to a sort of an emerald green. ANYWAY, thats all i got for RGB wise, and when i looked in the other topic, it seemed to me that what oyu had to change was those variables and your coils would change. If I'm wrong here (which i probably am) someone tell me the correct thing to do, please.

Thanks!

Share this post


Link to post
Share on other sites

yea, i failboated XP.

I ended up changing the Flying Del's headlights and brake lights, the time train's flux glow, the time train's headlights and STILL didn't get the coils right. XP.

Ok ill do what edfake said.

Share this post


Link to post
Share on other sites

some at the top

$R1 = 64 // integer values 

$G1 = 128 // integer values 

$B1 = 255 // integer values 

$R2 = 64 // integer values 

$G2 = 128 // integer values 

$B2 = 255 // integer values 

$TR = 145 // integer values 

$TG = 135 // integer values 

$TB = 235 // integer values 

$04R = 50 // integer values 

$04G = 75 // integer values 

$04B = 150 // integer values
then this bunch near where ed says
:Coil2

02E3: 1@ = car 0@ speed 

0209: $RAND = random_int 0 3 

if or

   not Car.Model(0@) == #BANSHEE

  1@ > 37.0 // floating-point values 

  $RAND == 0 // integer values 

jf @Coil2A 

$R1 = 64 // integer values 

$G1 = 128 // integer values 

$B1 = 255 // integer values 

$R2 = 64 // integer values 

$G2 = 128 // integer values 

$B2 = 255 // integer values 

jump @Coil2D 



:Coil2A

if 

  $RAND == 1 // integer values 

jf @Coil2B 

$R1 = 64 // integer values 

$G1 = 128 // integer values 

$B1 = 255 // integer values 

$R2 = 1 // integer values 

$G2 = 1 // integer values 

$B2 = 1 // integer values 

jump @Coil2D 



:Coil2B

$R1 = 1 // integer values 

$G1 = 1 // integer values 

$B1 = 1 // integer values 

$R2 = 1 // integer values 

$G2 = 1 // integer values 

$B2 = 1 // integer values

Share this post


Link to post
Share on other sites

no, sorry blue, its not called coil anymore. its:

:TIME_2828

02E3: 1@ = car 0@ speed 

0209: $RAND = random_int 0 3 

if or

   not Car.Model(0@) == #BANSHEE

  1@ > 47.0 // floating-point values 

  $RAND == 0 // integer values 

else_jump @TIME_2934 

$R1 = 64 // integer values 

$G1 = 128 // integer values 

$B1 = 255 // integer values 

$R2 = 64 // integer values 

$G2 = 128 // integer values 

$B2 = 255 // integer values 

jump @TIME_3045 



:TIME_2934

if 

  $RAND == 1 // integer values 

else_jump @TIME_3003 

$R1 = 64 // integer values 

$G1 = 128 // integer values 

$B1 = 255 // integer values 

$R2 = 1 // integer values 

$G2 = 1 // integer values 

$B2 = 1 // integer values 

jump @TIME_3045 



:TIME_3003

$R1 = 1 // integer values 

$G1 = 1 // integer values 

$B1 = 1 // integer values 

$R2 = 1 // integer values 

$G2 = 1 // integer values 

$B2 = 1 // integer values

Share this post


Link to post
Share on other sites

i'm not that dumb >.<

i just don't want to download 0.2e and open it. Thats why I said where you said it was <.<

i'm just showing what it looks like label names not withstanding.

Share this post


Link to post
Share on other sites
i'm not that dumb >.<

i just don't want to download 0.2e and open it. Thats why I said where you said it was <.<

i'm just showing what it looks like label names not withstanding.

oh, sorry

Share this post


Link to post
Share on other sites

kept the same as up top, edited the values that were up here.

TIME_2828

02E3: 1@ = car 0@ speed 

0209: $RAND = random_int 0 3 

if or

   not Car.Model(0@) == #BANSHEE

  1@ > 47.0 // floating-point values 

  $RAND == 0 // integer values 

else_jump @TIME_2934 

$R1 = 11 // integer values 

$G1 = 213 // integer values 

$B1 = 0 // integer values 

$R2 = 11 // integer values 

$G2 = 213 // integer values 

$B2 = 0 // integer values 

jump @TIME_3045 



:TIME_2934

if 

  $RAND == 1 // integer values 

else_jump @TIME_3003 

$R1 = 11 // integer values 

$G1 = 213 // integer values 

$B1 = 0 // integer values 

$R2 = 1 // integer values 

$G2 = 1 // integer values 

$B2 = 1 // integer values 

jump @TIME_3045 



:TIME_3003

$R1 = 1 // integer values 

$G1 = 1 // integer values 

$B1 = 1 // integer values 

$R2 = 1 // integer values 

$G2 = 1 // integer values 

$B2 = 1 // integer values 



:TIME_3045

if 

   Car.Model(0@) == #BANSHEE

else_jump @TIME_3850 

gosub @TIME_12347 

1@ += 2.05 // floating-point values 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.9 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset 0.9 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R1 $G1 $B1 

gosub @TIME_12347 

1@ += 2.25 // floating-point values 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.9 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset 0.9 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R1 $G1 $B1 

gosub @TIME_12347 

1@ += 2.45 // floating-point values 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.8 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.6 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.4 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.2 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset 0.0 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset 0.2 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R2 $G2 $B2 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset 0.4 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R1 $G1 $B1 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset 0.6 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R1 $G1 $B1 

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset 0.8 1@ -0.025 

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB $R1 $G1 $B1 

jump @TIME_5434

something else i need to edit im guessing? Somewhere?

Edited by TWG

Share this post


Link to post
Share on other sites

Thanks ed, you were correct once again. Keep up the coding! If only I knew how to do the "Rainbow" coils I've seen before... Looks like I'm off to play with the scm again, muhahaha!

Share this post


Link to post
Share on other sites

instead of assigning the variables as colors, just give it plain old numbers. For each and every corona. Like for a two police type coronas

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.8 1@ -0.025

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB 255 0 0

0407: create_coordinate 2@ 3@ 4@ from_car 0@ offset -0.6 1@ -0.025

04D5: create_corona_at 2@ 3@ 4@ radius 0.25 type 1 flare 0 RGB 0 0 255

the first one will be red, the second blue.

Share this post


Link to post
Share on other sites
Sign in to follow this