IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Missile mod

 
Rico_VC  
Posted: Monday, Aug 20 2012, 12:12
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Aug 19, 2012

XXXXX



I've made a mod that is soppoused to fire missiles but it's not working like i planned. I'm new here so i don't know many stuff.
Here's The Code:

create_thread @NONAME_16
create_thread @NONAME_17

/...........................
:NONAME_16
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @NONAME_16
if
00DE: player $PLAYER_CHAR driving_vehicle_type #SKIMMER
else_jump @NONAME_16
03C1: $1336 = player $PLAYER_CHAR car

:NONAME_16_47
wait 0
if
00E1: key_pressed 0 4
else_jump @NONAME_16_47
$1337 = Object.Init(#RCBOMB, -1109.615, 1330.097, 20.372)
035C: place_object $1337 relative_to_car $1336 offset 0.0 30.0 0.0

:NONAME_16_114
wait 0
Object.CollisionDetection($1337) = True
Object.ToggleInMovingList($1337) = True
Object.StorePos($1337, $1338, $1339, $1340)
02CE: $1341 = ground_z $1338 $1339 $1340
0086: $1342 = $1339 // floating-point values only
0061: $1342 -= $1341 // floating-point values
if
not $1342 > 0.5 // floating-point values
else_jump @NONAME_16_114
Object.RemoveReferences($1337)
020C: create_explosion_with_radius 7 at $1338 $1339 $1340
020C: create_explosion_with_radius 7 at $1338 $1339 $1340
0565: create_temporary_explosion_fire $1338 $1339 $1340 2
0565: create_temporary_explosion_fire $1338 $1339 $1340 1
0565: create_temporary_explosion_fire $1338 $1339 $1340 1
020C: create_explosion_with_radius 7 at $1338 $1339 $1340
020C: create_explosion_with_radius 7 at $1338 $1339 $1340
0565: create_temporary_explosion_fire $1338 $1339 $1340 2
0565: create_temporary_explosion_fire $1338 $1339 $1340 1
0565: create_temporary_explosion_fire $1338 $1339 $1340 1
0503: create_rappel_at $1338 $1339 $1340
0503: create_rappel_at $1338 $1339 $1340
0503: create_rappel_at $1338 $1339 $1340
Object.Destroy($1337)
jump @NONAME_16

:NONAME_17
if
80DC: not player $PLAYER_CHAR driving $1336
else_jump @NONAME_17_30
wait 0
jump @NONAME_17

:NONAME_17_30
Marker.Disable($1343)
wait 500
jump @NONAME_17
end_thread
PM
  Top
 

 
Omarilzz  
Posted: Friday, Aug 24 2012, 11:09
Quote Post


Omarilixed
Group Icon
Group: Members
Joined: Sep 13, 2011

eg.gif

XXXXX



can you tell me 2 things
1-what is this mod about?
2-who taught you to program vc
PMMSN
  Top
 

 
arijitsen  
Posted: Friday, Aug 24 2012, 11:24
Quote Post


It's show time
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



What exactly you are trying to do with the mod , I suppose when you are driving a skimmer you can drop a RC bomb .
Is something stuff like that ??
Users WebsitePM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG