Quantcast

Jump to content

» «
Photo

car compnent x,y,z

6 replies to this topic
HeresOtis
  • HeresOtis

    The SCM Undergrad

  • Members
  • Joined: 29 Apr 2011
  • United-States

#1

Posted 13 February 2012 - 04:33 PM

I don't understand this
CODE
0811: 0@ = actor $PLAYER_ACTOR car_nosave
0A97: 1@ = car 0@ struct
0AC7: 2@ = var 2@ offset
0AA6: call_method 0x6A2210 struct 1@ num_params 2 pop 0 var_pointer 2@ component_ID 8
// 2@, 3@ and 4@ contain the coordinates



And can you get coordinates of the different ELM parts of ELM-enabled vehicles?

Deji
  • Deji

    Coding like a Rockstar!

  • Feroci Racing
  • Joined: 24 Dec 2007
  • None

#2

Posted 13 February 2012 - 06:54 PM

ELM?

HeresOtis
  • HeresOtis

    The SCM Undergrad

  • Members
  • Joined: 29 Apr 2011
  • United-States

#3

Posted 13 February 2012 - 07:12 PM

QUOTE (Deji @ Monday, Feb 13 2012, 18:54)
ELM?

user posted image

You see the red and blue police lights, can you get the coordinates of those?

And how do you use the above code in first post to make 27@, 28@, 29@ the xyz coordinates?

Michael.Knight1
  • Michael.Knight1

    Knight Rider

  • BUSTED!
  • Joined: 15 Dec 2011

#4

Posted 13 February 2012 - 07:22 PM

QUOTE (HeresOtis @ Monday, Feb 13 2012, 19:12)
QUOTE (Deji @ Monday, Feb 13 2012, 18:54)
ELM?

user posted image

You see the red and blue police lights, can you get the coordinates of those?

And how do you use the above code in first post to make 27@, 28@, 29@ the xyz coordinates?

Oh man do You Must Learn English So that you can use Opcode lol.gif

Use 3ds Max In order to get coordinate : sly.gif



HeresOtis
  • HeresOtis

    The SCM Undergrad

  • Members
  • Joined: 29 Apr 2011
  • United-States

#5

Posted 13 February 2012 - 07:25 PM

QUOTE (Michael.Knight1 @ Monday, Feb 13 2012, 19:22)
Oh man do You Must Learn English So that you can use Opcode lol.gif

Use 3ds Max In order to get coordinate : sly.gif

I know english sir. How do you use the code from the first post?

HeresOtis
  • HeresOtis

    The SCM Undergrad

  • Members
  • Joined: 29 Apr 2011
  • United-States

#6

Posted 14 February 2012 - 10:23 PM

How do I make this code return 27@, 28@, 29@ as offset coordinates?


CODE
0811: 0@ = actor $PLAYER_ACTOR car_nosave
0A97: 1@ = car 0@ struct
0AC7: 2@ = var 2@ offset
0AA6: call_method 0x6A2210 struct 1@ num_params 2 pop 0 var_pointer 2@ component_ID 8
// 2@, 3@ and 4@ contain the coordinates

Deji
  • Deji

    Coding like a Rockstar!

  • Feroci Racing
  • Joined: 24 Dec 2007
  • None

#7

Posted 15 February 2012 - 12:03 AM

CODE
0811: 0@ = actor $PLAYER_ACTOR car_nosave
0A97: 1@ = car 0@ struct
0AC7: 2@ = var 27@ offset
0AA6: call_method 0x6A2210 struct 1@ num_params 2 pop 0 var_pointer 2@ component_ID 8
// 27@, 28@ and 29@ contain the coordinates




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users