|
|
|
|
Would you like to get all the new info from
PSX-Scene in your email each day?
Want to learn more about the team keeping you up to date with the latest scene news?
Read about them now! Check out our Developer bios, too! | ||
|
|
Last edited by HuN; 02-19-2012 at 10:26 AM.
Feel sticky all of a sudden. Great work everyone BTW.
![]()
alright , im stuck and its very stupîd ...
compile(d)bat in Scocomplier cant find path to Myscript.c , i used path example given in 1st post for " files(d)txt " and tryed several other path and i always get " path cant be found " message when i use it ...
- im on win 7
- Scocompliler is on root of C:
- path in files(d)txt is " C:\ScoCompiler\ScoCompiler\Sources\Myscript(d)c "
- used notepad++ to create Myscript(d)c and properly saved it to " C:\ScoCompiler\ScoCompiler\Sources "
what the hell i do wrong ? ... seems i miss " GTAIVModdingTools\setup(d)msi " is it the reason why it fail ? ... it wasnt in filepack download , do i need to get it elsewhere ?
note: (d) are dots , forums think they are links .
Last edited by HuN; 02-26-2012 at 05:45 AM.
you may just have a few things out of place. follow these steps:
make sure your compler is in C:\ScoCompiler\ScoCompiler\Compiler\
make sure compile.bat is in C:\ScoCompiler\ScoCompiler\
check if compile.bat"s code is the same as below (you can check by right click and edit)
make sure files.txt is in C:\ScoCompiler\ScoCompiler\Code:@ECHO OFF :loop CLS FOR /F %%G IN (Files.txt) DO Compiler\scocl.exe GTAIV "%%G" "C:\ScoCompiler\ScoCompiler\Output\" @ECHO Compiling Completed. @ECHO Press Enter To Recompile. PAUSE goto loop
check files.txt
for your sco you should have C:\ScoCompiler\ScoCompiler\Sources\Myscript.c
it works ! code within compile(d)bat was wrong on 4th line ...here how it was :
note : (d) are dotsFOR /F %%G IN (Files(d)txt) DO Sources\Compiler\scocl(d)exe GTAIV "%%G" "C:\ScoCompiler\ScoCompiler\Output\"
so i removed " Sources\ " and saved , then i was able to compile Myscript(d)c ... moving on to next step .
thanks alot
![]()
Last edited by JDMAlex; 02-26-2012 at 02:04 PM.
my bad .. Ill fix it later
btw.. I didn't edit your post.. i keep replying inside peoples posts![]()
UPDATE:
added offline trainer C++ source code with credits inside file
well I think there is a size limit on the script.img @arount 14.44mb cus at 14.45mb I get a loading loop... and when I used the same new code minus old code.. it works again..
heres what I have been working on.. ped switching for main char (some models cause freezing like MODEL_SUPERLOD) ..
NOTE: not sure if Wait(100) is needed.. and it seems that I have to press all 3 buttons to activate.. if you take out "if (IS_BUTTON_PRESSED(0,X)) " then its just 2 buttons.. what I was trying to do is let the user select what option and use "X" as the activator..
Im still learing C++ (I am no way a coder yet)
here's my code for ped switching.. needs to be in GeneralInput.c
Code:boolean listnumber = 0; void PlayerchangeOpen(void) { if((IS_BUTTON_PRESSED(0,DPAD_LEFT)) && (IS_BUTTON_PRESSED(0,CIRCLE)) ) { if (listnumber == 0) { Print("NIKKO"); WAIT(100); if (IS_BUTTON_PRESSED(0,X)) { ChangePlayerModel(MODEL_PLAYER); } listnumber = 1; } else if(listnumber == 1) { Print("Male MULTIPLAYER"); WAIT(100); if (IS_BUTTON_PRESSED(0,X)) { ChangePlayerModel(MODEL_M_Y_MULTIPLAYER); } listnumber = 2; } else if(listnumber == 2) { Print("Female MULTIPLAYER"); WAIT(100); if (IS_BUTTON_PRESSED(0,X)) { ChangePlayerModel(MODEL_F_Y_MULTIPLAYER); } listnumber = 3; } else if(listnumber == 3) { Print("GRACIE"); WAIT(100); if (IS_BUTTON_PRESSED(0,X)) { ChangePlayerModel(MODEL_IG_GRACIE); } listnumber = 0; } //} //} } }
| « Previous Thread | Next Thread » |