GTA Modification Forums
[GTA IV|EFLC|REL] Scocl High level *.sco script compiler
 |
|
 |
| |
Deluxe8900  |
Posted: Thursday, Jun 28 2012, 11:29
|
Player Hater

Group: Members
Joined: Jun 14, 2012

|
| QUOTE (Limiter @ Thursday, Jun 28 2012, 07:54) | | Hi, I want to know is it possible to alter the pool game such that Niko can play by himself as well. I want to use this as a base to learn sco. | Yes you can change it, just mod the original sco file. To be honest that is not the best place to learn, I would look at Skorpro SCO releases for this compiler in this section, towards the top. And look at them, and build onto what people have released.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Mainline421  |
Posted: Thursday, Jul 12 2012, 15:58
|

Group: Members
Joined: Mar 1, 2012


|
| QUOTE (Skorpro @ Sunday, Feb 26 2012, 06:04) | Yeeah, back home again... back to GTA... GTA addicted?!?
| QUOTE (jdmalex2) | By doing so I dont need puzzle and startup or remove game saves |
Wow sounds good! Maybe I'll try it
| QUOTE (terreur69) | it alters nothing in the games, i just want to add a filed of views of 70°, he is 50°, but nothing . |
Yesterday I've created a small mod. Like GTA 2 style.

Press left ALT + X to switch mod on/off!
| CODE |
#include <natives.h> #include <common.h> #include <strings.h> #include <types.h> #include <consts.h>
void main(void) { FORCE_LOADING_SCREEN(TRUE); THIS_SCRIPT_SHOULD_BE_SAVED(); SET_CAR_DENSITY_MULTIPLIER(1.0); SET_MAX_WANTED_LEVEL(6); SET_PLAYER_CONTROL(GetPlayerIndex(), TRUE); LOAD_SCENE(-420.245, 1137.605, 12.530); SET_CHAR_COORDINATES_NO_OFFSET(GetPlayerPed(), -420.245, 1137.605, 12.530); SET_CHAR_HEADING(GetPlayerPed(), 360.0); ADD_HOSPITAL_RESTART(1283, -966.899, 641.137, 6000.0, 0); ADD_POLICE_RESTART(1478.99, -1134.73, 607.902, 6000.0, 0); FORCE_TIME_OF_DAY(8, 0); RELEASE_TIME_OF_DAY(); RELEASE_WEATHER(); WAIT(2000); FORCE_LOADING_SCREEN(FALSE); DO_SCREEN_FADE_IN_UNHACKED(4000); Blip testBlip; ADD_BLIP_FOR_COORD(1283, -966.899, 641.137, &testBlip); // Your own x,y,z coords! CHANGE_BLIP_SPRITE(testBlip, BLIP_HOSPITAL); // OR this "CHANGE_BLIP_SPRITE(testBlip, BLIP_SAFEHOUSE);" ?? CHANGE_BLIP_COLOUR(testBlip, 0); // 0 = white CHANGE_BLIP_DISPLAY(testBlip, BLIP_DISPLAY_MAP_ONLY); // OR this "CHANGE_BLIP_DISPLAY(testBlip, 2);" CHANGE_BLIP_NAME_FROM_ASCII(testBlip, "New Hospital");
WAIT(2000); PRINT_STRING_WITH_LITERAL_STRING_NOW("string", "Scocl test!", 3000, 1); boolean start_var = 0; while (TRUE) { // IS_GAME_KEYBOARD_KEY_PRESSED if ( (IS_GAME_KEYBOARD_KEY_PRESSED(56)) && (IS_GAME_KEYBOARD_KEY_PRESSED(45)) ) // press left ALT + X { Camera testCam; Ped playerPed = GetPlayerPed(); if (start_var == 0) { PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "Mod ON!", 2000, 1); CREATE_CAM(14, &testCam); SET_CAM_ACTIVE(testCam, 1); SET_CAM_PROPAGATE(testCam, 1); ACTIVATE_SCRIPTED_CAMS(1, 1); ATTACH_CAM_TO_PED(testCam, playerPed); SET_CAM_ATTACH_OFFSET(testCam, 0.0, 0.0, 19.27); //SET_CAM_ATTACH_OFFSET_IS_RELATIVE(testCam, 1); POINT_CAM_AT_PED(testCam, playerPed); //SET_CAM_POINT_OFFSET(testCam, 0.0, 0.0, 10.0); //SET_CAM_POINT_OFFSET_IS_RELATIVE(testCam, 1); SET_CAM_FOV(testCam, 70.0); WAIT(500); start_var = 1; } else if (start_var == 1) { PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "Mod OFF!", 2000, 1); SET_CAM_ACTIVE(testCam, 0); SET_CAM_PROPAGATE(testCam, 0); ACTIVATE_SCRIPTED_CAMS(0, 0); if (DOES_CAM_EXIST(testCam)) { DESTROY_CAM(testCam); } WAIT(100); SET_CAM_BEHIND_PED(playerPed); start_var = 0; } } WAIT(0); } }
|
Now you have some cam natives to play around with it. Have fun 
So, need some sleep now, c ya... | How do I install this?
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
aoxsystems  |
|
www.xssed.com

Group: Members
Joined: Jan 31, 2008


|
Updated to 1.0.7.0: GOOD NEWS: Script works!!!! BAD NEWS: I know that only bcs of sound -.-,apparently unknown graphical issue in patch 7 made my screen black except for hud and radar. xD No problem i ll orient myself to Eflc,until this problem isnt' solved.. Thx Frank for helping out This post has been edited by aoxsystems on Monday, Jul 30 2012, 03:04
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
unknown modder  |
Posted: Wednesday, Aug 1 2012, 22:59
|
Player Hater

Group: Members
Joined: Jul 4, 2012

|
anyone able to shed light on this error on the compiler i have tried loads of methods to get it to work, but they just keep giving the same error, but i dont recieve this error when i try to input a file that doesnt exist | CODE | Process started >>> C:\Users\Nathan\modding\GTA_IV\compile\Compiler\scocl.exe GTAIV "WeaponMods.c" "C:\Users\Nathan\modding\GTA_IV\compile\WeapMod/" WeaponMods.c compile started WeaponMods.c compile failed, compiler internal error, check params first, using: scocl.exe <[s]globals version> <filein> <dirout> <options> globals version : GTAIV/TLAD/TBOGT options : GLOBALSEG, KEEPTEMP, DEBUGOUTPUT examples : normal script compiling : scocl.exe GTAIV "c:\gta\scripts\main.c" "c:\gta\scripts\out\" KEEPTEMP DEBUGOUTPUT compiling script with global seg (startup.sco): scocl.exe TLAD "c:\gta\scripts\startup.c" "c:\gta\scripts\out\" GLOBALSEG <<< Process finished. ================ READY ================ |
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
unknown modder  |
Posted: Thursday, Aug 2 2012, 09:07
|
Player Hater

Group: Members
Joined: Jul 4, 2012

|
| QUOTE (aoxsystems @ Wednesday, Aug 1 2012, 23:25) | I think u should put full path to you script.....not just "weaponmods.c"
Example:
"C:\Documents and Settings\Username\Desktop\Foldername\weaponmods.c" |
I have tried that and the error still came up, then i deleted scocl and the other files in the compiler folder, then put fresh ones in and now it says it was sucessful, but it wont make an output file, however it will update a file already made nevermind, i used ++ inside a struct This post has been edited by unknown modder on Thursday, Aug 2 2012, 11:25
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(9) « First ... 6 7 [8] 9
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|