you can check if bit X is set by (var mod 2^x)/2^x and add/remove it by adding/substracting 2^x if it is set/not set.
mod can be implemented by x-((var/x)*x)
so, yeah, its a big fuckery. it works because gta throws away the remainder because all variables are ints.
Search found 1120 matches
- 27 Jun 2017, 13:29
- Forum: Maps
- Topic: Tiny San Andreas? MP map I started from scratch today (WIP)
- Replies: 39
- Views: 79256
- 26 Jun 2017, 16:54
- Forum: Maps
- Topic: Tiny San Andreas? MP map I started from scratch today (WIP)
- Replies: 39
- Views: 79256
Re: Tiny San Andreas? MP map I started from scratch today (W
you can use TMs Epic Map Editor for this. it looks much nicer
- 24 Jun 2017, 11:17
- Forum: Maps
- Topic: Tiny San Andreas? MP map I started from scratch today (WIP)
- Replies: 39
- Views: 79256
Re: Tiny San Andreas? MP map I started from scratch today (W
i made it possible to get on every building in tiny face off army too. there are quite some hidden and visible paths
- 24 Jun 2017, 11:09
- Forum: Modding forum
- Topic: vike's GTA2 update patch enhancement upgrade fix v11.44
- Replies: 400
- Views: 925048
Re: vike's GTA2 update patch enhancement upgrade fix v11.44
i thought vehiicle macine gun in residential is mid air? technically it should work but maybe the height range is very narrow. add a few floating on top of each other or try falling through one
- 24 Jun 2017, 00:38
- Forum: Maps
- Topic: Tiny San Andreas? MP map I started from scratch today (WIP)
- Replies: 39
- Views: 79256
Re: Tiny San Andreas? MP map I started from scratch today (W
i dont know but it was is the last thint to do. it didnt quite work out for me but maybe it can help
- 23 Jun 2017, 12:33
- Forum: Maps
- Topic: Tiny San Andreas? MP map I started from scratch today (WIP)
- Replies: 39
- Views: 79256
Re: Tiny San Andreas? MP map I started from scratch today (W
btw, if you find the exact block that causes the crashes then maybe vike can fix it.
- 23 Jun 2017, 02:54
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: Pistol & Shotgun Redesign
- Replies: 45
- Views: 90879
Re: Pistol & Shotgun Redesign
I also figured out how to edit the weapon values so a pistol would shoot Molotovs when selected instead of the normal pistol round. thats cool. could you share the addresses you have to modify or can you wirte a little test script? it would be quite useful if you could lay mines on foot or car stop...
- 23 Jun 2017, 02:46
- Forum: Maps
- Topic: Tiny San Andreas? MP map I started from scratch today (WIP)
- Replies: 39
- Views: 79256
Re: Tiny San Andreas? MP map I started from scratch today (W
i have this problem with some of my maps too. i dont know if its fixable but i suggest to fix it rather early than later. nobody knows the exact reason but it could have to do with walls or slopes that are not one block away from a road, especially corners. remove everything suspicious and see if it...
- 22 Jun 2017, 11:07
- Forum: Maps
- Topic: Tiny San Andreas? MP map I started from scratch today (WIP)
- Replies: 39
- Views: 79256
Re: Tiny San Andreas? MP map I started from scratch today (W
cool concept and nice to see more maps with alternative textures
- 22 Jun 2017, 00:38
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: Pistol & Shotgun Redesign
- Replies: 45
- Views: 90879
Re: Pistol & Shotgun Redesign
you could try to use cheat engine to rip the watercannon of a firetruck off and remote control it. if you figure that out it should be possible to do the same with pointer magic in the mission script
- 20 Jun 2017, 19:04
- Forum: Modding forum
- Topic: Scripting command questions
- Replies: 23
- Views: 47889
Re: Scripting command questions
i created a scripted wanted level 7 and 8 for tinytinytown army. this included suicide bombing army vehicles. i dont remember how i did it. it didnt hit every time but that was ok since i didnt want to make it too hard
- 19 Jun 2017, 23:30
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: Grenade Trick
- Replies: 2
- Views: 8642
Re: Grenade Trick
cool, it only happened a few times on accident for me. this makes them more useful
- 19 Jun 2017, 23:26
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: Pistol & Shotgun Redesign
- Replies: 45
- Views: 90879
Re: Pistol & Shotgun Redesign
they might even be more powerful if the hitboxes are based on sprites
- 19 Jun 2017, 18:04
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: NPC Suicide
- Replies: 19
- Views: 38172
Re: NPC Suicide
the naked zone if those are converted normal peds and the usage of special weapons.
maybe hes floating because he has fallen too deep and the game killed him in flight just above the ground
maybe hes floating because he has fallen too deep and the game killed him in flight just above the ground
- 19 Jun 2017, 14:58
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: NPC Suicide
- Replies: 19
- Views: 38172
Re: NPC Suicide
nice, there is a lot that can be done with this. a nice zombie coop mode like the ones in call of duty could work really nice
- 18 Jun 2017, 23:47
- Forum: Modding forum
- Topic: Scripting command questions
- Replies: 23
- Views: 47889
Re: Scripting command questions
there is a thread discussing zombie maps. http://gtamp.com/forum/viewtopic.php?f=19&t=596 and a project thread http://gtamp.com/forum/viewtopic.php?f=5&t=171 what made it fail for me was mostly time and the problem with the gang zone method. it wast very challenging and didnt have a zombie f...
- 17 Jun 2017, 14:13
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: NPC Suicide
- Replies: 19
- Views: 38172
Re: NPC Suicide
if bullet objects can be deleted you could make a light saber with it. that would be sespicially cool if you could deflect projectiles with it and use it as a secondary weapon powerup
- 17 Jun 2017, 12:27
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: NPC Suicide
- Replies: 19
- Views: 38172
Re: NPC Suicide
to make a laser waepon you would need the address of the bullet speed
- 17 Jun 2017, 03:14
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: NPC Suicide
- Replies: 19
- Views: 38172
Re: NPC Suicide
i think to remember that the water bullet didnt work. killing a falling char works. i did that on high land
- 17 Jun 2017, 01:08
- Forum: GTA1/GTA2 movies, audio, images and replays
- Topic: NPC Suicide
- Replies: 19
- Views: 38172
Re: NPC Suicide
I imagine you could script an invisible block & then delete it as soon as he steps onto it to make him fall but that's a bit more complex than just commanding him to jump off a building. that was my first idea as well. conveyor belts cannot be turned off and explosions wouldnt make sense except...