Search found 571 matches

by B-$hep
09 Feb 2016, 21:28
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Why you ask such question? If you know whats weird about it then inform me and others. If you dont know whats the point? Does it work in your decompiler? If yes, then you should know everything about it and instead of asking like that you should post the info. Otherwise you trying to be smart or som...
by B-$hep
07 Feb 2016, 14:57
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Its basically finished, just maybe 5 or even less commands to add. Make supporting of #IFDEF #ENDIF (actually its supported but ignores the PC/PSX "flags"). And finally multiscript support. NOT command needs to be figured out fully. I worked on it last year but left it for later. Because i...
by B-$hep
07 Feb 2016, 10:54
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Ok guys. One day i noticed big bug with BOOL commands like is_car_wrecked etc when they are used like: [mis]counter c1=1 counter c2=2 counter c3=2 counter c4=2 LEVELSTART IF ((((IS_CAR_WRECKED(c2) ) or ( c2=3 ) ) //ifjmp or (IS_CAR_WRECKED(c2))) //ifjmp or ( c2=3 ) ) do_nowt ENDIF IF (((IS_CAR_WRECK...
by B-$hep
28 Jan 2016, 16:41
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Obj_data is fixed. Today i will add some more commands. Crane powerup or something is not yet added. cranes work, also destructors but nothing is generated for car. Its easy command. The "name=create_car" and other create style commands i will implement very last. Also currently #ifdef #en...
by B-$hep
27 Jan 2016, 22:08
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

I fixed many things. I copy pasted basically half of the bil.mis and compiled and executed in Gta2. No crashes and weapons, tokens, parked cars etc are displayed and working. The OBJ_DATA command is the one that gives me trouble. Bad logic behind it. I must rethink and rewrite that command. Will con...
by B-$hep
26 Jan 2016, 18:48
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

I attached the compiler. Dont expect it to fully working and dont try to compile multiscripts. I have included readme file you should read. Its not final version, im sure it contains bugs and may even crash GTA2. You have been warned. Im constantly working on it. Every day. Currently i already notic...
by B-$hep
26 Jan 2016, 07:55
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Sorry for delay. I had some issues with it but now they are resolved. The "name = Create_something" style commands do not work yet. and maybe 5-8 commands more like phone and kill frenzy templates. But i will show it after i get home. Dont expect it to be fully working and final. Like i sa...
by B-$hep
26 Jan 2016, 07:05
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 301740

Re: Collection of gta scripting and map weirdness

I noticed in hex editor that miss2 puts silently "END" string into .scr file. After declaration like this: [mis]OBJ_DATA rocket1 = (88.0, 110.0) 0 COLLECT_02 15[/mis] Did you knew? Docs say that its used only for ex: [mis]name = CREATE_OBJ ( float X , float Y ) rotation model END[/mis] NEW...
by B-$hep
17 Jan 2016, 09:19
Forum: Modding forum
Topic: Command line tool for quickly compiling scripts
Replies: 2
Views: 13130

Re: Command line tool for quickly compiling scripts

I will do that.
If i understand correctly then there should be one pure console app instead of the pure GUI app.
And that console app will display all the stuff from miss2, like miss2 was the real console app.

Interesting idea.
by B-$hep
16 Jan 2016, 18:45
Forum: Modding forum
Topic: Command line tool for quickly compiling scripts
Replies: 2
Views: 13130

Command line tool for quickly compiling scripts

I attached the command line tool for quickly compiling scripts. You just extract the 1 folder and the exe to somewhere. Make a shortcut of the exe on your desktop. And now you can just drop the .mis file into that shortcut and it will compile it without any questions. In WIN7 and newer just make sur...
by B-$hep
13 Jan 2016, 23:30
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

So i pinpointed the location of the "bug" that caused crash of the compiler. It happened because i forgot to add simple line of code (symctr++;) to each of the commands that check the state of things in GTA2 and return either true or false (i call them "bool" commands). Some exam...
by B-$hep
11 Jan 2016, 11:45
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

I want you all know that i have been busy with my stuff around here. I bought a new better used laptop. Now i can test and compile stuff much much faster. I noticed some issues with compiler but nothing serious. It has to do more with generating compiler than the actual compiler. Im already working ...
by B-$hep
27 Dec 2015, 11:49
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Thats correct. I actually noticed duplicate items in the list. So i quickly created simple Delphi app to sort and remove duplicates (because Notepad2 doesnt do that): I updated the previous post. Seems that only commands to add are now: [mis]CHAR_DATA LOCATE_CHARACTER_ANY_MEANS LOCATE_CHARACTER_ON_F...
by B-$hep
26 Dec 2015, 12:00
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Currently here is updated list of supported commands atm. I added lots of them today. [mis]ADD_CHAR_TO_GANG ADD_EXISTING_CHAR_TO_GROUP ADD_LIVES ADD_MULTIPLIER ADD_ONSCREEN_COUNTER ADD_SCORE ADD_SCORE_NO_MULT ADD_TIME_TO_TIMER ALTER_WANTED_LEVEL ALTER_WANTED_LEVEL_NO_DROP AND/OR ARE_EMERG_LIGHTS_ON ...
by B-$hep
25 Dec 2015, 20:30
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

Yes it will be open source. Sektor what you mean with commands not inside decompiler? What commands exactly? Im not home atm to look at the decompiler source and too lazy to download it. I get home at the beginning of next week, i have a vacation atm. Then i can also upload the tool i made for miss2...
by B-$hep
24 Dec 2015, 09:28
Forum: Modding forum
Topic: GTA2 ScriptPad
Replies: 281
Views: 539081

Re: GTA2 ScriptPad

gta1-gta2-tool-source-code.7z\GTA2\mis Pad\dll wrapper its inside "dll wrapper" folder. Compiler.dpr has dll source. Compiling from command line.. I meant in very new compiler command line. In Scriptpad it just opens it, like you said. Because when i made this i didnt see the need for comp...
by B-$hep
23 Dec 2015, 10:47
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 301740

Re: Collection of gta scripting and map weirdness

Is it just me or this really makes miss2 crash because of the "CHECK_MULTIPLIER_GREATER" ??

[mis]player_ped p1 = ( 44.5 , 102.0 , 2.0 ) 25 0
LEVELSTART
CHECK_MULTIPLIER_GREATER ( p1 , 7 )
LEVELEND[/mis]
by B-$hep
22 Dec 2015, 19:36
Forum: Offtopic
Topic: It's snowing...
Replies: 10
Views: 31816

Re: It's snowing...

Lucky you, +32.
I wish here was 32
by B-$hep
21 Dec 2015, 14:02
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 299426

Re: New GTA2 Script Compiler

I dont know if its good to post here or make new clean topic. But anyways, here are the supported commands/operators that already work (in no particular order): IF ELSE ENDIF // no more ELSE bug! WHILE..ENDWHILE WHILE_EXEC..ENDWHILE DO..WHILE_TRUE AND/OR LIGHT name ARROW_DATA name TIMER_DATA name BO...
by B-$hep
21 Dec 2015, 13:01
Forum: Offtopic
Topic: It's snowing...
Replies: 10
Views: 31816

Re: It's snowing...

No snow in Estonia. Raining and +12 Celsius