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

This section is for any editing topics that don't fit into any of the other forums, any questions on how to mod belong in Editing Discussion

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

 Unlimited Parachutes (San Andreas)

 Is there already a mod for this?
 
Graesholt  
Posted: Saturday, Jul 28 2012, 14:27
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jul 26, 2012

XXXXX



So I have googled for a little while and searched a few sites, including this one, and I found nothing.
Has anyone made a mod for this?
If not, then would anybody be willing to?
I don’t know if it’s a big project, but I figure that it would work something like a script assuring that whenever a parachute is lost/used, a new one is immediately placed in the player’s inventory, ready for use.
So the only way to lose one’s parachute is death or arrest, as with most other weapons (though these can run out of ammo too, of course).
I mean, why not?
It’s not like it takes up any space for other items, apart from the thermal and night vision goggles. Who in their right mind would choose any of those two over UNLIMITED PARACHUTES?

Anyway, does anyone know something about anything?
Thank you biggrin.gif
PM
  Top
 

 
NightFever  
Posted: Friday, Aug 24 2012, 13:39
Quote Post


Rat
Group Icon
Group: Members
Joined: Jul 25, 2011

pk.gif

XXXXX



Thats a nice mod idea.i've wanted this for so f****** long
PM
  Top
 

 
Deji  
Posted: Friday, Aug 24 2012, 15:05
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Mod requests go in a thread called the 'Request Mod Thread': http://www.gtaforums.com/index.php?showtopic=378015

But because this is such an easy request to fulfill and I'm feeling generous, I'll give you the code in SCR.
CODE
{$CLEO}
{$VERSION 3.0.1000}
0000:
WHILE TRUE
   WAIT 0
   IF IS_PLAYER_PLAYING player1
   THEN
       IF NOT HAS_CHAR_GOT_WEAPON WEAPONTYPE_PARACHUTE
       THEN
           GIVE_WEAPON_TO_CHAR scplayer WEAPONTYPE_PARACHUTE 1
       END
   END
END


This post has been edited by Deji on Friday, Aug 24 2012, 15:09
Users WebsitePM
  Top
 

 
Graesholt  
Posted: Saturday, Aug 25 2012, 15:05
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jul 26, 2012

XXXXX



Thank you so much Deji, for that script.
That was extremely nice of you, despite my ignorance as to where to post my inquiry.

However, the only mods I have ever made myself are ones that alter textures, so I do not have much experience with scripts. Therefore I do not have any Idea what to do with your amazing script.
I believe it is a CLEO scipt, yes? So I will have to put it in a .cs file, right?

Even though you have already been extremely helpful and generous, I am afraid that I require a little more assistance.
If you or anyone could only tell me how to make this script functional, II would be most grateful.

Thank you.
PM
  Top
 

 
arijitsen  
Posted: Saturday, Aug 25 2012, 15:28
Quote Post


Modder,Gamer & GFX Artist
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



1. Open Sanny builder
2. paste the code given by deji
3. Compile the script.

NOTE: make sure you have CLEO installed.
Users WebsitePM
  Top
 

 
Graesholt  
Posted: Saturday, Aug 25 2012, 16:06
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jul 26, 2012

XXXXX



Thank you very much for your swift reply, arijitsen, you are most helpful.

However, when I attempt to compile the script (using the action 'compile' located the 'run' dropdown menu), I get the error: "Unknown directive IS_PLAYER_PLAYING player1."

I suppose the program does not understand the line, but I also suppose that Deji is an accomplished modder.
So what should I make of this?

Thank you.
PM
  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