View Single Post
Re: Anybody here to continue E[POD]bot?
Old
  (#5)
MarD
Waypointer/Moderator
 
MarD's Avatar
 
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
Default Re: Anybody here to continue E[POD]bot? - 10-09-2004

Heyyo,

Well, I know Pearl programming language cause that's apparently the programming language of BW's Mission Builder for the GTA series.

It looks like this:
Code:
:Bodyguard4FollowW
00D6: if 0 
00DF: actor $Bodyguard4_For_Player driving
004D: jump if false ££Bodyguard4FollowPlCarStart
0005: $Bodyguard4_OffbikeTimer = 0.0 \\ floating-point values
0170: $Bodyguard4_Z_Angle = player $PLAYER_CHAR z_angle 
00D6: if 0 
0030: $Bodyguard4_Z_Angle >= 67.5 \\ floating-point values 
004D: jump if false ££Bodyguard4FollowSW
00D6: if 0 
0032: 112.5 >= $Bodyguard4_Z_Angle \\ floating-point values 
004D: jump if false ££Bodyguard4FollowSW
0054: store player $PLAYER_CHAR position to $Bodyguard4_X_Pos $Bodyguard4_Y_Pos $Bodyguard4_Z_Pos
0009: $Bodyguard4_X_Pos += 1.6 \\ floating-point values 
0009: $Bodyguard4_Y_Pos += -1.0 \\ floating-point values 
00A7: car $Bodyguard4_Bike drive_to $Bodyguard4_X_Pos $Bodyguard4_Y_Pos $Bodyguard4_Z_Pos 
0002: jump ££Bodyguard4FollowSpeed0
That part of my bikerbodyguard code makes the biker bodyguard figure out if it should follow the player who's facing (vaguely) West, and what offset he should use.

[EDIT]
Lol, oops, forgot to mention my next big modding project for GTA VC.. it's called: Gotham City. YEP! BATMAN! and not just that... but OLD SKOOL BATMAN! like, the 1960's batman. We've already acomplished quite a bit. Monty (Rober Yeomans) is our lead Texturer and mapper, and me (ThE_MarD) is the coder. We've also gotten help from an italian batfan who converted our batmobile from the game known as Mafia. here's a link to check out some pics n' stuff: http://www.thebatcave.8k.com/gotham_city.htm

I dunno PHP, n' the rest of those programming languages ... you mentioned..

I tried figuring out C++ by looking at it... right now to me it looks like a foreign language... I know it makes sence to people who know it, but I'm completely confused by it. I'm sure eventually I'll figure it out.


Later-a-much, and LONG LIVE THE D!,
(Link>>>MarD's Moddin' Site<<<Link) MarD

Rock Hound. (<Link)

Last edited by MarD; 10-09-2004 at 21:57..