Let the streets run red with blood!

Post Reply
User avatar
Sektor
Boss
Boss
Posts: 1426
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Let the streets run red with blood!

Post by Sektor »

User avatar
elypter
Immortal
Posts: 1120
Joined: 26 Dec 2009, 23:53
GH nick: elypter

Re: Let the streets run red with blood!

Post by elypter »

does this only kill peds or also players2
yur sa'nok ngeyä
User avatar
Sektor
Boss
Boss
Posts: 1426
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: Let the streets run red with blood!

Post by Sektor »

You can change it so it doesn't kill players. In the video, I got ran over because it killed the gangcar driver and the car just kept going :)

[mis]
PLAYER_PED p1 = ( 149.0 , 195.0 , 255.0 ) 22 0

COUNTER true = 1
COUNTER charpointer = 0 // If you don't want to kill player 2-6, set to 3960 ( 6 x 660 )
CHAR_DATA c

LEVELSTART

WHILE_EXEC ( true = 1 )

SET charpointer = ( charpointer + 660 )
SET c = ( p1 + charpointer )
KILL_CHAR ( c ) // Kills peds
DELETE_ITEM ( c ) // Makes peds vanish, speeds up recycling, so more blood

IF ( charpointer > 6600 ) // 10 x 660 (each character has a struct of 660 bytes)
SET charpointer = 0 // If you don't want to kill player 2-6, set to 3960 ( 6 x 660 )
ENDIF

ENDWHILE

LEVELEND
[/mis]
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: Let the streets run red with blood!

Post by T.M. »

Can you make them electrocuted instead? (with that animation on ground).

How about making them on fire?
User avatar
Sektor
Boss
Boss
Posts: 1426
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: Let the streets run red with blood!

Post by Sektor »

Electrocution was crashing for some reason (maybe I need to make sure they aren't in a car) but you can make every tile electric with STY tool, I did that on a Tron map and it was stable. I did make everyone I punch do that electrocution animation for a different script.

I haven't found out how to give a ped the burning animation yet. I found a way to make them lose health like they are on fire and if they are a player, it will say toasted but it doesn't show any flames because that must be at a different address.
User avatar
T.M.
Immortal
Posts: 960
Joined: 29 Jan 2010, 15:00
Location: F21B3EED

Re: Let the streets run red with blood!

Post by T.M. »

Sektor wrote:I haven't found out how to give a ped the burning animation yet. I found a way to make them lose health like they are on fire and if they are a player, it will say toasted but it doesn't show any flames because that must be at a different address.
I guess its not even possible, the game probably needs another command to add the fire animation, and that cannot be accessed by simply SET command hacks.

Though, Vike could make it possible ;)
Post Reply