Search found 1411 matches

by Sektor
25 Mar 2018, 06:38
Forum: Modding forum
Topic: MISI
Replies: 95
Views: 188317

Re: MISI

If I run gta2manager.exe, I get a popup saying "unable to load misi.asi", it still loads gta2manager after I click ok, so only a small annoyance. Previous version had the same bug but I forgot to report it. It seems to use the same thread as GTA2 which makes it blocking and any delays in t...
by Sektor
24 Mar 2018, 22:00
Forum: Modding forum
Topic: MISI
Replies: 95
Views: 188317

Re: MISI

Thanks, I'm excited to try it.
by Sektor
20 Mar 2018, 18:42
Forum: Modding forum
Topic: MISI
Replies: 95
Views: 188317

Re: MISI

That's cool, construction mode. I always wanted a portable ramp.
by Sektor
16 Mar 2018, 23:14
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 312078

Re: GTA2 memory addresses

I tested trying to move without creating a new object but it doesn't move x and y, I don't know why.
by Sektor
16 Mar 2018, 23:04
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 312078

Re: GTA2 memory addresses

My script creates new phone at the same coordinates and then moves that phone.
by Sektor
16 Mar 2018, 22:56
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 312078

Re: GTA2 memory addresses

Changing x and y works in an SCR script, even on a phone. http://gtamp.com/images/phone.jpg [mis] PLAYER_PED p1 = (136.50, 149.50, 2.00) 25 0 OBJ_DATA object1 OBJ_DATA object2 COUNTER in COUNTER out COUNTER true = 1 COUNTER x COUNTER x2 COUNTER y COUNTER z LEVELSTART object1 = CREATE_OBJ (137.5, 149...
by Sektor
16 Mar 2018, 22:35
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 297976

Re: New GTA2 Script Compiler

I have been busy with my personal life and i was i ski vacation in Slovakia tatras for 1 week with gf. My first time serious mountain skiing. This is way more fun and important than GTA2. But is your p1car declared already in game? When you write this line into game memory? Yes the car would need t...
by Sektor
16 Mar 2018, 22:22
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 297976

Re: New GTA2 Script Compiler

It works fine on official compiler, so it's just a bug/unsupported feature in B-$hep's compiler.
by Sektor
16 Mar 2018, 22:00
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 312078

Re: GTA2 memory addresses

They're not read only but maybe something else has to change to trigger the game to redraw. If you try with an animated object like a rocket, it should update instantly.
by Sektor
12 Mar 2018, 11:56
Forum: Site and forum discussion
Topic: Forum question
Replies: 19
Views: 42535

Re: Forum question

Code: Select all

http://www.youtube.com/watch?v=R490yqQn2ZM
by Sektor
12 Mar 2018, 11:36
Forum: Site and forum discussion
Topic: Forum question
Replies: 19
Views: 42535

Re: Forum question

That tag needs the full link and only works with http, not HTTPS. There are some other tags for the short link but I don't know if they work. I definitely need to update this forum sometime and add much smarter YouTube link support. If you look at tooltip text next to the tags at the top, it should ...
by Sektor
08 Mar 2018, 20:25
Forum: Modding forum
Topic: MISI
Replies: 95
Views: 188317

Re: MISI

Nice, you figured out car spawn! I’m excited to test it and see how it works.
by Sektor
23 Feb 2018, 02:53
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 312078

Re: GTA2 memory addresses

No, I haven't found the arrows pointing location. I looked for it since it would be useful in GTA2 Radar but no luck.
by Sektor
22 Feb 2018, 11:59
Forum: Modding forum
Topic: Epic GTA2 Script Decompiler (AKA SCR Decompiler)
Replies: 156
Views: 388363

Re: Epic GTA2 Script Decompiler (AKA SCR Decompiler)

It was already set to that. It’s not crashing, it’s returning an error code when trying to read the SCR. Probably some IO works different on VS2013.
by Sektor
21 Feb 2018, 21:52
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 297976

Re: New GTA2 Script Compiler

Could you make a 1 line compiler? I want to be able to enter something like p1car = CREATE_CAR (118.0,133.5,1.0) 35 270 TAXI END and get the hex version, it doesn't need the header or footer since I'm going to be writing it into GTA2 RAM, not loading an SCR. Splitting an existing SCR into each hex l...
by Sektor
21 Feb 2018, 21:23
Forum: Modding forum
Topic: Epic GTA2 Script Decompiler (AKA SCR Decompiler)
Replies: 156
Views: 388363

Re: Epic GTA2 Script Decompiler (AKA SCR Decompiler)

I tried compiling this in VS2013. I needed to add #include <functional> to get it to compile. When I tried to use it in Epic Map Editor, I got "Error: File not found or cannot be read". Does the map editor use a different version of the decompiler or did VS2013 break something? I mostly ju...
by Sektor
21 Feb 2018, 13:06
Forum: Modding forum
Topic: Spawning Cars
Replies: 3
Views: 11501

Re: Spawning Cars

GTA2 loads the SCR file into memory, so you can edit that part of the memory and change the script commands while it's running. I would prefer a direct way of executing existing commands but I don't know how to do that yet. The SCR file is stored around here: GTA2.EXE+0x2744BC, offset 35C I tried si...
by Sektor
16 Feb 2018, 03:19
Forum: Modding forum
Topic: MISI
Replies: 95
Views: 188317

Re: MISI

When I first started reading this topic, I was hoping Logofero had figured out how to call the native GTA2 functions because I don’t know how to do that. Recreating existing code by writing memory isn’t very efficient.
by Sektor
15 Feb 2018, 11:34
Forum: Modding forum
Topic: GTA2Mispad. Just edit COUNTER bot_deaths - assertion failure
Replies: 7
Views: 13704

Re: GTA2Mispad. Just edit COUNTER bot_deaths - assertion fai

Can you compile the umodified mis file?

Can you post the modified one?