- This topic has 281 replies, 39 voices, and was last updated 13 years, 8 months ago by .
Free Ride for DLC Joe’s Adventures v2.0
i have already and more of pastebin.ÃâÃÂ
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>
Hey exsistenz maybe you can help me with this.
I want to set a checkpoint on the map which triggers when the player passes it in a vehicle.
Like Costa had in his script after you drive away from the Mansion.
Any idea how to do that?
it’s fonction math.abs
but in car it all depends on the speed – walk is still Ok
and it poses a problem for mansion.
Here are different test and for verify it removes the hat of Vito.
for i=1,1 do — entre 41 plus de chapeau
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<4 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 game.game:GetActivePlayer():ShowHat(false)end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>1 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)>1 and testw==0 then testw=1 end
end
for i=1,1 do — de infini a >1Ãâàplus de chapeau
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<4 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>1 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)>1 and testw==0 then testw=1 game.game:GetActivePlayer():ShowHat(false)end
end
for i=1,1 do — Couloir de 1 et de 4 plus de chapeau
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<4 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 game.game:GetActivePlayer():ShowHat(false)end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>1 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)>1 and testw==0 then testw=1 end
end
for i=1,1 do — Bizzare comme un couloir
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<4 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>1 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)>1 and testw==0 then testw=1 game.game:GetActivePlayer():ShowHat(false)end
end
for i=1,1 do — de infini a >4 et de 1< a 0 plus de chapeau
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>4 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 game.game:GetActivePlayer():ShowHat(false)end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<1 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)<1 and testw==0 then testw=1 end
end
for i=1,1 do — de 0 a >1Ãâàplus de chapeau
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>4 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<1 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)<1 and testw==0 then testw=1 game.game:GetActivePlayer():ShowHat(false)end
end
for i=1,1 do — Couloir
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>4 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 game.game:GetActivePlayer():ShowHat(false)end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<1 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)<1 and testw==0 then testw=1 end
end
for i=1,1 do — Couloir
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)>4 and math.abs(game.game:GetActivePlayer():GetPos().y-testy)<4 and testw==1 then testw=0 end
if math.abs(game.game:GetActivePlayer():GetPos().x-testx)<1 or math.abs(game.game:GetActivePlayer():GetPos().y-testy)<1 and testw==0 then testw
Checkout these video’s, if you can eXistenZ34, it would be an awesome idea to implement what these video’s have in your next FR.Ãâà
Video of MrSergey1940 but MrSergey1940=zahar999 on http://www.playground.ru/files/47468/
LOOK
eXistenZ34
01.09.11 16:42 zahar999
? ?? ??? ?????, ?? ??? ?? : ENABLESHOOTPROMCAR
in English : Enable Shoot From Car : ??? ????? ??? ????? ?? ??? ???????
Find on MafiaScene.com :
I spend a few hours searching for this ….but finally I found everything you need to shoot out of car.
First you need a…driver
then you need to run this in the injector or change it in the costa free ride
if game.game:GetActivePlayer():GetControlStyleStr()~=”CS_ENABLESHOOTFROMCAR” then game.game:GetActivePlayer():SetControlStyleStr(“CS_ENABLESHOOTFROMCAR”)end
and if you need a weapon
game.game:GetActivePlayer():InventoryAddWeapon(12,250)
Thats all…unfortunately the first thing is hard to get…but in multiplayer mode this will be easy and fun.
Some things you need to know: Doesn’t work in a car without a roof or in a truck (because of the lack of animations)
img814.imageshack.us/img814/1857/shootcar1.jpg
img64.imageshack.us/img64/6172/1223bf.jpg
Oh, nice.
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″> is it possible to shoot from the car without using LUA injectors?
Also about the bus, is that possible, or is it a fake vid?
Btw, If I have offended you at all by posting the vids above, I sincerely apologize, I did not mean to upset anyone.
Many thanks existenz.Ãâà
Mike, what is shown in that video is possible the problem is you will have to wait a while for a bus to come by.
Oh?
I had no-clue, stupid me.Ãâà:-[
As always though I will say, thank you guys so much for everything you do, it means alot to all Mafia fans.
bus is not manageable
too near the driver, he stopped the bus
too far back you died
Always follow the movement of bus
you can stay one hour at a bus stop without seeing a bus : and I tested
You must use the bus to the prison, civilian bus have no interior. it’s simple just rename “parry_prison.sds” to “parry_bus.sds”.
Shoot From Car is possible
he must disable the police, for get into a police car and have a chauffeur
ai.police:IgnorePerson(game.game:GetActivePlayer():GetGuid(), true)
ai.police:ClearKnownCars(game.game:GetActivePlayer():GetGuid(), true)
ai.police eactivateOffence(game.game:GetActivePlayer():GetGuid(), true)
but must disable the police, just when you get into the police car. it’s pretty easy to manage.
and in my script change
if game.game:GetActivePlayer():GetControlStyleStr()~=”CS_NORMAL” then game.game:GetActivePlayer():SetControlStyleStr(“CS_NORMAL”)end
by
if game.game:GetActivePlayer():GetControlStyleStr()~=”CS_ENABLESHOOTFROMCAR” then game.game:GetActivePlayer():SetControlStyleStr(“CS_ENABLESHOOTFROMCAR”)end
Oh, yeah I was just sat at a bus stop for this time, saw no bus! LOL. I will replace with the Police bus.
Is it possible to enable shooting from car in your next FR? If possible, maybe make it where you can sit as passenger in any car around, and you shoot from the car. Kinda like the original Mafia.
you need a driver for to be a passenger.
the Civil run off when you get in their car.
Only the police still in their cars.
with our current knowledge it is not very interesting.
especially since it is one thing that you did not know
it’s the limit of file size “freeraid_main”
>
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/sad@2x.png 2x” width=”20″ height=”20″>
I’ll break the atmosphere
“freeraid_main.sds” > 20Ko = game crash
18Ko < FR M2 v3.0 <19Ko ---- without the addition of the enemy
“dlc_freeraid_main.sds” > 15Ko = game crash
FR JA v2.0 = 12.7Ko
Merci 2K GameÃâà>
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/sad@2x.png 2x” width=”20″ height=”20″>
Oh, sorry for asking apparently dumb questions and or requests.Ãâà:-[
Thanks eXistenZ34 as always for everything.
You’re not asking dumb questions Mike.
Anyways existenz is right we are limited by file size restrictions.
2K really made this game a pain to mod.
- You must be logged in to reply to this topic.
