:
Destination Time
:
Present Time
:
Last Time Departed
peter

K.A.T.T Mod update thread

Recommended Posts

Like I said, I am not a good enough coder to actually "Remove" all references to the flying delorean from this script. Maybe uokka or somebody else can help.

Share this post


Link to post
Share on other sites

Woah!

IIRC, There aren't that many references but I edited the provided plain source code (.txt), not decompiled SCM gibberish.

And only after long time reading the scripts and getting an idea of where it loops and why.

Sorry but I hate editing SCM. It's worse than coding in batch (which is still way more eye friendly).

Share this post


Link to post
Share on other sites

epic cuz then now I can use that addon with del88mp's mod on the time circuits where it gives me flying mode etc etc, its pretty cool

Share this post


Link to post
Share on other sites

@peter

it's ok. You may copy my delorean88mp code.

(Remember green.wormhole to regwormhole). :thumbs:

Share this post


Link to post
Share on other sites

Thanks Delorean88MP, I'll give credit to everyone who's helped and who's code I use etc etc

  • Like 1

Share this post


Link to post
Share on other sites

OK I had a look but didn't test and I wouldn't be suprised if more is needed. Anyway, it's a start for you.

Remove or comment out this line:

gosub @TIME_3860

In plain source code this gosub is called :Fly. ;)

And change this:

:TIME_6253
gosub @TIME_3672 
if 
25@ == 469
else_jump @TIME_6294 
0AB4: 24@ = var 904
jump @TIME_6321 

:TIME_6294
if 
25@ == 541
else_jump @TIME_6321 
0AB4: 24@ = var 905 

:TIME_6321
Audiostream.PerformAction(24@, PAUSE)
gosub @TIME_583 
if 
25@ == 469
else_jump @TIME_6369 
0AB4: 24@ = var 904
jump @TIME_6396 

:TIME_6369
if 
25@ == 541
else_jump @TIME_6396 
0AB4: 24@ = var 905 

:TIME_6396
Audiostream.PerformAction(24@, RESUME)
return 

... to this:

:TIME_6253
gosub @TIME_3672 // @Effects
gosub @TIME_583 // @TimeTravel
return 

:FlyTravelCheck ;)

Messing around with decomppiled code has several disadvantages.

Use plain source whenever possible.

Share this post


Link to post
Share on other sites

hey thanks man it works, now I can do a few more things :P

I actually need one more bit of help and its to do with models...I put a new model into GTA and the game crashes regardless of which vehicle I set the model and texture as

I got the Idea from Delorean88MP's post earlier on about doctor who so I thought I'd try something

  • Like 1

Share this post


Link to post
Share on other sites

Maybe corrupted download or wrong/missing vehicle lines.

Also I'd highly recommend Mod Loader for replacing vehicles so you mess with .IMGs as little as possible; IMG editing tools can break things.

Share this post


Link to post
Share on other sites

haaa I found that out the hard way in 2010 when I had to re-do and re-edit the original texture for KATT...yuuuup his original design was all blue coils, the knight industries on the front grill and the knight industries logo on Mr fusion along with Knight Automated Time Traveler written onto the rear bumper

I'll try again with that stuff, the models spawn BUT when I get into the vehicle the game crashes

Share this post


Link to post
Share on other sites

Much likely a coding issue then rather than a model issue.

Share this post


Link to post
Share on other sites

I used SAMI to install it and now it works fine...its down to the handling, vehicle ID's etc etc

Well Hopefully I can release KATT as a standalone thing without the other DeLoreans soon and get people to beta test and report back with bugs, errors etc

Share this post


Link to post
Share on other sites

Did I already mention that Mod Loader is super awesome?

It can read vehicle lines from txt files.

GTASA\modloader\MyCAR\mycar.dff
GTASA\modloader\MyCAR\mycar.txd
GTASA\modloader\MyCAR\data\carcol.txt
GTASA\modloader\MyCAR\data\carmods.txt
GTASA\modloader\MyCAR\data\handling.txt
GTASA\modloader\MyCAR\data\vehicle.txt

Share this post


Link to post
Share on other sites

mwahaha yeah, also I'll have links to the mod on my skydrive :3 because awesome

Share this post


Link to post
Share on other sites

it was going to be yellow and purple sparks but I couldn't figure out the effects, they wouldn't work

  • Like 1

Share this post


Link to post
Share on other sites

The sparks are made up of two effects: the spark core, and the spark. The orange ones are called REGSPARKCORE and REGSPARK. The blue ones are BLUESPARKCORE and BLUESPARK. Find them in effects.fxp. Find FX_INFO_COLOUR_DATA in the spark effects and change the RGB values.

  • Like 2

Share this post


Link to post
Share on other sites

yeah I did all that but it never worked for me, I dunno why but anyways I'm happy with what I have so its all good :)

Share this post


Link to post
Share on other sites

hey thanks, once I look over everything I will release K.A.T.T only on here

Share this post


Link to post
Share on other sites

Nice update! Although some of your video was black screen with sound only.

Could you send me your KITT laser script?

I also have an all proof car script that activates automatically when entering a car. It makes the car impervious to everything, including when upside-down. The only things that reverse the all proof car script are refueling the Mr. Fusion and getting busted or wasted. I could send it to you.

Share this post


Link to post
Share on other sites

sure no problem also the black screen is my fault its something that happened in my editing software

  • Like 1

Share this post


Link to post
Share on other sites