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

 Is there a CLEO opcode that hide models?

 
jackusCTB  
Posted: Monday, Sep 17 2012, 14:47
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



An opcode that hide but keeps the functionality of the model?
PM
  Top
 

 
SilentPL  
Posted: Monday, Sep 17 2012, 14:54
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




Can't you use SET_OBJECT_VISIBLE (if you're asking about SA)? I believe it does the thing you need.
Users WebsitePMMSNXbox Live
  Top
 

 
jackusCTB  
Posted: Monday, Sep 17 2012, 14:59
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



Yes, I'm using San Andreas and thanks for the help smile.gif
PM
  Top
 

 
jackusCTB  
Posted: Tuesday, Sep 18 2012, 15:14
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



Ok, I needed this opcode because I wanted to edit Ryosuke's heliarm.cs script so, when activated, it hide five models. I tried to put the opcode line under the Load Requested Models opcode line but the game crashes. After i tried to put the opcode under the Object Create opcode line but also this time the game crashes. Now I don't know where can I put this line so if you can help me I would be very happy. Before making bad comment, be advised: I tried by myself but I wasn't able to make it works. Thanks for the attention =) If you would like to help me,THAT's the Pastebin link with the decompiled code.
PM
  Top
 

 
SilentPL  
Posted: Tuesday, Sep 18 2012, 16:03
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




I think that this code cannot be decompiled, just like most of Ryosuke's scripts.
Users WebsitePMMSNXbox Live
  Top
 

 
jackusCTB  
Posted: Tuesday, Sep 18 2012, 16:24
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



Hi SilentPL, thanks for the reply. How can this be if I decompiled it? (Pastebin link).
PM
  Top
 

 
Link2012  
Posted: Tuesday, Sep 18 2012, 16:44
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX



QUOTE (jackusCTB @ Tuesday, Sep 18 2012, 13:24)
Hi SilentPL, thanks for the reply. How can this be if I decompiled it? (Pastebin link).

He meant that the script would be damaged when recompiled.
PMMSN
  Top
 

 
jackusCTB  
Posted: Tuesday, Sep 18 2012, 16:53
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



You clarified that, Link2012. So it's impossible to edit the script so those models reamain hidden?
PM
  Top
 

 
SilentPL  
Posted: Tuesday, Sep 18 2012, 17:17
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




Unfortunately not.
Users WebsitePMMSNXbox Live
  Top
 

 
jackusCTB  
Posted: Tuesday, Sep 18 2012, 17:48
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



Thanks for the help smile.gif
PM
  Top
 

 
jackusCTB  
Posted: Sunday, Sep 23 2012, 10:56
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



QUOTE
I think that this code cannot be decompiled, just like most of Ryosuke's scripts.

QUOTE
He meant that the script would be damaged when recompiled.


You were wrong because you said that if you edit Ryosuke's scripts you'll get a non-functional script (damaged). That's the proof it's not true. I replaced the line where the script loads minigun, rocket launcher and heatseeker with ...a bat!

user posted image

As you can see the script WORKS but it shoots bats. So, now we know that the script can be edited without damage it, could you edit it so it hides the models near the helicopter (These 6 Bat, that are 4 rocketlauncher and 2 miniguns)?? Thanks hope i get some help!! tounge.gif
PM
  Top
 

 
Bad.boy!  
Posted: Sunday, Sep 23 2012, 11:27
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



They are right, you can edit a number but you can't add/remove anything.
PM
  Top
 

 
jackusCTB  
Posted: Sunday, Sep 23 2012, 11:39
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



QUOTE (Bad.boy! @ Sunday, Sep 23 2012, 11:27)
They are right, you can edit a number but you can't add/remove anything.

You misunderstood me. I DON'T WANT to delete the minigun, rocket launcher and heatseek, i just want to HIDE those models using a cleo script (0750). OK?
PM
  Top
 

 
SilentPL  
Posted: Sunday, Sep 23 2012, 13:18
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




Actually YOU misunderstood him. He means that the script will still work when you change the model, because you don't change offsets (file size). Adding 0750 will make the file bigger, thus changing offsets.
Users WebsitePMMSNXbox Live
  Top
 

 
jackusCTB  
Posted: Sunday, Sep 23 2012, 14:56
Quote Post


Mark Chump
Group Icon
Group: Members
Joined: Jun 29, 2012

eu.gif

XXXXX



Ok, now I know it's impossible, is there a way to make a "create_M4_shot_from" that create an RPG or Heatseeker shot?
PM
  Top
 

 

0 User(s) are reading this topic (0 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