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

Post mod/code requests in the Mod Requests topic

Post mod releases in the Mod Showroom

Read the Modding Rules BEFORE posting!

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)


Pages: (9) « First ... 2 3 [4] 5 6 ... Last »  ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 [GTA IV|EFLC|REL] Scocl

 High level *.sco script compiler
 
terreur69  
Posted: Monday, Dec 12 2011, 10:19
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX



QUOTE (ShakingASS @ Monday, Dec 12 2011, 05:15)
QUOTE (terreur69 @ Sunday, Dec 11 2011, 17:31)
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
CODE
*pblip


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


I try it,
CODE
ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, BLIP_HOSPITAL);
but i have eror .

This post has been edited by terreur69 on Monday, Dec 12 2011, 11:06
Users WebsitePMMSN
  Top
 

 
ShakingASS  
Posted: Tuesday, Dec 13 2011, 05:44
Quote Post


Rollin Clufs
Group Icon
Group: BUSTED!
Joined: Sep 11, 2011

us.gif

XXXXX



QUOTE (terreur69 @ Monday, Dec 12 2011, 10:19)
QUOTE (ShakingASS @ Monday, Dec 12 2011, 05:15)
QUOTE (terreur69 @ Sunday, Dec 11 2011, 17:31)
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
CODE
*pblip


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


I try it,
CODE
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.

This post has been edited by ShakingASS on Tuesday, Dec 13 2011, 07:12
PM
  Top
 

 
Frank.s  
Posted: Tuesday, Dec 13 2011, 12:25
Quote Post


IV Scripter, Modeler.
Group Icon
Group: Members
Joined: Apr 15, 2008

en.gif

Member Award




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

user posted image
Bump for answer. smile.gif
PM
  Top
 

 
ShakingASS  
Posted: Thursday, Dec 15 2011, 04:22
Quote Post


Rollin Clufs
Group Icon
Group: BUSTED!
Joined: Sep 11, 2011

us.gif

XXXXX



QUOTE (Frank.s @ Tuesday, Dec 13 2011, 12:25)
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.
PM
  Top
 

 
DK22Pac  
Posted: Thursday, Dec 15 2011, 16:22
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



QUOTE (terreur69 @ Monday, Dec 12 2011, 13:49)
QUOTE (ShakingASS @ Monday, Dec 12 2011, 05:15)
QUOTE (terreur69 @ Sunday, Dec 11 2011, 17:31)
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
CODE
*pblip


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


I try it,
CODE
ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, BLIP_HOSPITAL);
but i have eror .

CODE
long Blip;
ADD_BLIP_FOR_COORD(fX, fY, fZ, &Blip);
Users WebsitePM
  Top
 

 
terreur69  
Posted: Thursday, Dec 15 2011, 16:31
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX



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

CODE
*pblip


of

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


This post has been edited by terreur69 on Thursday, Dec 15 2011, 16:46
Users WebsitePMMSN
  Top
 

 
DK22Pac  
Posted: Thursday, Dec 15 2011, 18:09
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



4th param is a pointer to blip's handle (A place, where this handle will store).
QUOTE (Frank.s)
Could someone please tell me what is the native function that creates the mission arrows?

The first method is
CODE
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
CODE
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.
CODE
while (true)
{
   WAIT(0);
   DRAW_COLOURED_CYLINDER(fX, fY, fZ, 1.0, 1.0, 255, 200, 0, 255);
}


This post has been edited by DK22Pac on Thursday, Dec 15 2011, 18:20
Users WebsitePM
  Top
 

 
LostDerp  
Posted: Thursday, Dec 15 2011, 18:16
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Nov 27, 2011

XXXXX



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

 
Frank.s  
Posted: Thursday, Dec 15 2011, 18:33
Quote Post


IV Scripter, Modeler.
Group Icon
Group: Members
Joined: Apr 15, 2008

en.gif

Member Award




QUOTE (DK22Pac @ Thursday, Dec 15 2011, 18:09)
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

This post has been edited by Frank.s on Thursday, Dec 15 2011, 18:41
PM
  Top
 

 
terreur69  
Posted: Thursday, Dec 15 2011, 19:13
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX



QUOTE (DK22Pac @ Thursday, Dec 15 2011, 20:09)
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,

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


what's wrong ??
Users WebsitePMMSN
  Top
 

 
DK22Pac  
Posted: Thursday, Dec 15 2011, 19:19
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



Why don't you just use my example? What is BLIP_HOSPITAL? How did you declare it?
CODE
long BLIP_HOSPITAL;
ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, &BLIP_HOSPITAL);
Users WebsitePM
  Top
 

 
terreur69  
Posted: Thursday, Dec 15 2011, 19:28
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX



its good thank you very much wink.gif
Users WebsitePMMSN
  Top
 

 
LostDerp  
Posted: Friday, Dec 16 2011, 00:31
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Nov 27, 2011

XXXXX



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

Also if I compile:

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


It compiles to:

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


Also:

CODE
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?
PM
  Top
 

 
terreur69  
Posted: Monday, Dec 26 2011, 17:21
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX



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

CODE
SET_CAM_FOV(Camera camera, float fov);


if so ,what should be put in place of

CODE
Camera camera


thx !
Users WebsitePMMSN
  Top
 

 
DK22Pac  
Posted: Monday, Dec 26 2011, 22:43
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



@terreur69
Try this
CODE
long Camera;
CREATE_CAM(14. &Camera);
SET_CAM_FOV(Camera, 50.0);
Users WebsitePM
  Top
 

 
terreur69  
Posted: Tuesday, Dec 27 2011, 08:55
Quote Post


C2C - Down The Road
Group Icon
Group: Members
Joined: Dec 27, 2010

fr.gif

XXXXX




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 .

This post has been edited by terreur69 on Wednesday, Dec 28 2011, 12:00
Users WebsitePMMSN
  Top
 

 
GTARandom  
Posted: Thursday, Jan 5 2012, 15:37
Quote Post


GTA player since 2001
Group Icon
Group: Members
Joined: Jun 15, 2009

cw.gif

Member Award




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

 
Fantaseb  
Posted: Sunday, Jan 8 2012, 01:07
Quote Post


One Nation, One Love, But Who? ;)
Group Icon
Group: BUSTED!
Joined: Oct 17, 2011

uk.gif

XXXXX



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.
PM
  Top
 

 
Johnix1  
Posted: Sunday, Jan 15 2012, 14:28
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Jul 31, 2006

ru.gif

XXXXX



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
PMPlayStation Network
  Top
 

 
MOrdecki  
Posted: Friday, Jan 20 2012, 12:00
Quote Post


Scripter
Group Icon
Group: Members
Joined: Jul 10, 2006

pl.gif

XXXXX



QUOTE (Alexander Blade @ Monday, Nov 7 2011, 17:36)
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.
Users WebsitePMMSNXbox Live
  Top
 

 

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

0 Members:

Pages: (9) « First ... 2 3 [4] 5 6 ... Last »

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



 
IMG IMG