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

    1. GTANet.com

    1. GTA Online

      1. The Cayo Perico Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    1. Announcements

    2. Support

      1. Court House
    3. Suggestions

[GTA IV|EFLC|REL] Scocl


Alexander Blade

Recommended Posts

 

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
Link to post
Share on other sites

 

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
Link to post
Share on other sites
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.

Link to post
Share on other sites
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);

 

Link to post
Share on other sites

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
Link to post
Share on other sites

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
Link to post
Share on other sites

 

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
Link to post
Share on other sites
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 ??

Link to post
Share on other sites

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);

 

Link to post
Share on other sites

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?

Link to post
Share on other sites
  • 2 weeks later...

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 !

Link to post
Share on other sites

 

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
Link to post
Share on other sites
  • 2 weeks later...

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.

Link to post
Share on other sites

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

Link to post
Share on other sites
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.

Link to post
Share on other sites

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.

Link to post
Share on other sites

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
Link to post
Share on other sites
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

Link to post
Share on other sites
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

Link to post
Share on other sites

 

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
Link to post
Share on other sites
  • 3 weeks later...

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

×
×
  • Create New...

Important Information

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