Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Alexander Blade

[GTA IV|EFLC|REL] Scocl

Recommended Posts

Terreur69

 

new for compatible old natives ???

Patch 1.0.7.0 is better don't do patch 1.0.7.0

can be, but i and everyone is not playing on 1.0.7.0 turn.gif

 

and it means on

 *pblip 

 

 

of

 

ADD_BLIP_FOR_COORD(float x, float y, float z, Blip *pBlip);

 

 

I try it,

ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, BLIP_HOSPITAL); 

but i have eror .

Edited by terreur69

Share this post


Link to post
Share on other sites
ShakingASS

 

new for compatible old natives ???

Patch 1.0.7.0 is better don't do patch 1.0.7.0

can be, but i and everyone is not playing on 1.0.7.0 turn.gif

 

and it means on

 *pblip 

 

 

of

 

ADD_BLIP_FOR_COORD(float x, float y, float z, Blip *pBlip);

 

 

I try it,

ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, BLIP_HOSPITAL); 

but i have eror .

True but 1.0.7.0 has new features.

To me they think patch 1.0.4.0 beast.That's not true rockstar made patch 1.0.7.0 to give better graphics.

Edited by ShakingASS

Share this post


Link to post
Share on other sites
Frank.s

Could someone please tell me what is the native function that creates the mission arrows?

 

user posted image

Bump for answer. smile.gif

Share this post


Link to post
Share on other sites
ShakingASS
Could someone please tell me what is the native function that creates the mission arrows?

 

user posted image

Bump for answer. smile.gif

We don't know much yet will take time if someone made in game script that tells functions in game it be easier.

Share this post


Link to post
Share on other sites
DK22Pac
new for compatible old natives ???

Patch 1.0.7.0 is better don't do patch 1.0.7.0

can be, but i and everyone is not playing on 1.0.7.0 turn.gif

 

and it means on

 *pblip 

 

 

of

 

ADD_BLIP_FOR_COORD(float x, float y, float z, Blip *pBlip);

 

 

I try it,

ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, BLIP_HOSPITAL); 

but i have eror .

 

long Blip;ADD_BLIP_FOR_COORD(fX, fY, fZ, &Blip);

 

Share this post


Link to post
Share on other sites
Terreur69

thx but ,this does not help me, i want to know that you it to be a place of

 

 

*pblip 

 

 

of

 

 

ADD_BLIP_FOR_COORD(float x, float y, float z, Blip *pBlip);

 

Edited by terreur69

Share this post


Link to post
Share on other sites
DK22Pac

4th param is a pointer to blip's handle (A place, where this handle will store).

 

Could someone please tell me what is the native function that creates the mission arrows?

The first method is

 

ADD_BLIP_FOR_CONTACT(float x, float y, float z, Blip *pBlip);

 

But created marker is too big, I dont know how to resize it.

The second is

 

DRAW_COLOURED_CYLINDER(float x, float y, float z, float, float, int r, int g, int b, int a);

 

But that one must be created in a loop.

 

while (true) {   WAIT(0);   DRAW_COLOURED_CYLINDER(fX, fY, fZ, 1.0, 1.0, 255, 200, 0, 255);}

 

Edited by DK22Pac

Share this post


Link to post
Share on other sites
LostDerp

Does anyone know how to add 2 strings together? "derp"+"herp" doesn't work, but there is an opcode to add strings I think.

Share this post


Link to post
Share on other sites
Frank.s

 

Information.

Thank you very much, gonna try the second one as i had the same oversize problem.

Edit: It works. Just what i was looking for. cookie.gif

Edited by Frank.s

Share this post


Link to post
Share on other sites
Terreur69
4th param is a pointer to blip's handle (A place, where this handle will store).

 

Sorry if i hurt myself understood, i have it,

 

 

ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, BLIP_HOSPITAL); 

 

 

what's wrong ??

Share this post


Link to post
Share on other sites
DK22Pac

Why don't you just use my example? What is BLIP_HOSPITAL? How did you declare it?

 

long BLIP_HOSPITAL;ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, &BLIP_HOSPITAL);

 

Share this post


Link to post
Share on other sites
Terreur69

its good thank you very much wink.gif

 

Share this post


Link to post
Share on other sites
LostDerp

Could you add support for adding strings in scocl? Like herp = "derp"+"derpina";

 

Also if I compile:

 

 

void main(void){char* herp = "derp";}

 

 

It compiles to:

 

 

void main(){       string sVar2;       string sVar3;       sVar3 = "derp";       sVar2 = sVar3;       return;}

 

 

Also:

 

 

char* derp = "herp";derp[0] = 'd';

 

 

Doesn't work. Can you please reply and tell me why these occur and if you're going to be fixing them anytime soon?

Share this post


Link to post
Share on other sites
Terreur69

to add the FOV on gta 4, is what it is this function:

 

 

SET_CAM_FOV(Camera camera, float fov);

 

 

if so ,what should be put in place of

 

 

Camera camera

 

 

thx !

Share this post


Link to post
Share on other sites
DK22Pac

@terreur69

Try this

 

long Camera;CREATE_CAM(14. &Camera);SET_CAM_FOV(Camera, 50.0);

 

Share this post


Link to post
Share on other sites
Terreur69

 

edit : It's good, you put a "" . """ instead of a "" , "", but it changes nothing in the game, i want to add the filed of view .

Edited by terreur69

Share this post


Link to post
Share on other sites
EncryptedReality

 

Alexander: Please Pm me or come on ICQ sometime , i need to talk to you.

Share this post


Link to post
Share on other sites
Fantaseb

So once I have made a script in Visual C++ how do I compile it into .Sco file cause I cant seem to figure that part out, would anyone be able to help I created a whole new script could you message me as I dont want to post on public forums yet but I will soon.

Share this post


Link to post
Share on other sites
Johnix1

Hello my dear old friend Alexander! How do you do?

я надеюсь ты еще помнишь меня cookie.gif

короче у меня необычайно тупой вопрос по поводу scocl. мы тут с братюнями мутим мод для гта4, и я взял твой очищенный мейн и хотел поменять место появления игрока. так что я скачал microsoft visual C++ 2010, открыл main.sco, поменял значения координат и теперь не совсем понимаю как это скомпилить. через командную строку пробовал - он выдал мне файл outmain.sco, я поменял имя на main.sco и вставил в игру, и ниче не поменялось.

в общем было бы интересно узнать как все это делать поскольку мне не по глазам большая зеленая кнопка с надписью "скомпилить скрипт и сделать его заебись", а через командную строку каждый раз заебаться ж можно вводить =D

или возможно я что то не так сделал с командной строкой? я распаковал файлы из архива, указал в командной строке путь к scocl.exe ну и все параметры, и как я и сказал он выдал мне в итоге файл outmain.sco и если его вставить в игру то координаты не изменятся.

 

короче надеюсь на скорый ответ tounge2.gif

bye-bye!

 

that text in spoiler is not any kind of offence

Share this post


Link to post
Share on other sites
Mordecki
Plans for this week :

CLEO IV . The same thing as was for SA . Project is already started and it works fine with my EFLC , im planning to add support of all patches and publish cleo . Cleo IV suports script saving , like it was in Cleo 3 for SA , also the most incredible thing is that u can create ur own cleo missions without affecting original scripts and saves ! smile.gif

Are the scripts written with upcomming cleo also able to decompile ?

Is it possible for you to make some kind of lock, to prevent stealing sources ?

I have had this problem a lot of times back in SA.

Share this post


Link to post
Share on other sites
Fantaseb

I keep getting some stupid error, deleted all the files from Script.img and only replaced the ones Alexander gave, I think I used the scripts from projects/stripped. I replaced them in the Script.img > Rebuilt the archive, then I started GTA IV up and it never loaded and I was like wtf? Dont I need to delete the save game and start a new for them to work. I will report back if this does not work.

Share this post


Link to post
Share on other sites
LaV07

RU:

У меня проблема с компилятором и декомпилятором!!!! sad.gif

декомпилятор запускается но не сохраняет скрипты в разкомпилированном виде!!!

Что же касается компилятора Я запускаю приложение scocl.EXE появляется чёрное окно и тут-же исчезает!! В чем проблема????

Вот допустим Я хочу скомпилировать один из исходников прописываю в командной строке ;

 

C:\gta\scocl.exe GTAIV "c:\gta\scripts\startup.c" "c:\gta\scripts\out\" KEEPTEMP DEBUGOUTPUT

 

нажимаю выполнить а на выходе получаю пустой файл startup.s

что не так-то???? sad.gif

 

EN:

I have a problem with the compiler and decompiler!! : (

decompiler runs but does not save the scripts in the decompiled form!

As for compiler I run the application scocl.EXE appears a black screen and then disappears the same! What's the problem??

Here's say I want to compile one of the sources prescribe the command line;

 

C:\gta\scocl.exe GTAIV "c:\gta\scripts\startup.c" "c:\gta\scripts\out\" KEEPTEMP DEBUGOUTPUT

 

click run and get a blank output file startup.s

that not so?? : (

Edited by LaV07

Share this post


Link to post
Share on other sites
Fantaseb
RU:

У меня проблема с компилятором и декомпилятором!!!! sad.gif

декомпилятор запускается но не сохраняет скрипты в разкомпилированном виде!!!

Что же касается компилятора Я запускаю приложение scocl.EXE появляется чёрное окно и тут-же исчезает!! В чем проблема????

Вот допустим Я хочу скомпилировать один из исходников прописываю в командной строке ;

 

C:\gta\scocl.exe GTAIV "c:\gta\scripts\startup.c" "c:\gta\scripts\out\" KEEPTEMP DEBUGOUTPUT

 

нажимаю выполнить а на выходе получаю пустой файл startup.s

что не так-то???? sad.gif

 

EN:

I have a problem with the compiler and decompiler!! : (

decompiler runs but does not save the scripts in the decompiled form!

As for compiler I run the application scocl.EXE appears a black screen and then disappears the same! What's the problem??

Here's say I want to compile one of the sources prescribe the command line;

 

C:\gta\scocl.exe GTAIV "c:\gta\scripts\startup.c" "c:\gta\scripts\out\" KEEPTEMP DEBUGOUTPUT

 

click run and get a blank output file startup.s

that not so?? : (

I have same problem confused.gif

Share this post


Link to post
Share on other sites
LaV07
RU:

У меня проблема с компилятором и декомпилятором!!!! sad.gif

декомпилятор запускается но не сохраняет скрипты в разкомпилированном виде!!!

Что же касается компилятора Я запускаю приложение scocl.EXE появляется чёрное окно и тут-же исчезает!! В чем проблема????

Вот допустим Я хочу скомпилировать один из исходников прописываю в командной строке ;

 

C:\gta\scocl.exe GTAIV "c:\gta\scripts\startup.c" "c:\gta\scripts\out\" KEEPTEMP DEBUGOUTPUT

 

нажимаю выполнить а на выходе получаю пустой файл startup.s

что не так-то???? sad.gif

 

EN:

I have a problem with the compiler and decompiler!! : (

decompiler runs but does not save the scripts in the decompiled form!

As for compiler I run the application scocl.EXE appears a black screen and then disappears the same! What's the problem??

Here's say I want to compile one of the sources prescribe the command line;

 

C:\gta\scocl.exe GTAIV "c:\gta\scripts\startup.c" "c:\gta\scripts\out\" KEEPTEMP DEBUGOUTPUT

 

click run and get a blank output file startup.s

that not so?? : (

I have same problem confused.gif

I figured out the problem, now everything works! smile.gif

Thank terreur 69 for it! icon14.gif

Share this post


Link to post
Share on other sites
NaidRaida

None of the download links in the head post are working for me. Direct linking is not allowed comes as message.

 

Can you please provide working links?

 

Thank you icon14.gif

Share this post


Link to post
Share on other sites
jitsuin

 

1.0.4.0 is lame use new patch enb now support for 1.0.7.0

That's simply not true. ENB Series does not fully support 1.0.7.0. If you want all ENB features to be enabled, you have to use 1.0.4.0 or 1.0.3.0.

 

This anyone who says you should go to 1.0.7 for ENB does not know what they r talking about tounge.gif

 

Maybe im wrong, do u have a video of this magnificent ENB on 1.0.7 because i have seen nothing that can touch ice on 1.0.7...that is a fact

 

Just read the whole thread, time to code like a R*, lol...big thanks to The Blade!!

 

 

Edited by jitsuin

Share this post


Link to post
Share on other sites
Vintage88

ditto ^^ would love to know, thanks Alex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 1 User Currently Viewing
    0 Members, 0 Anonymous, 1 Guest

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.