Saber Trails mod -1 reply

Please wait...

Jnightmare

Slightly cooler than a n00b

50 XP

14th May 2008

0 Uploads

53 Posts

0 Threads

#1 9 years ago

Does anyone know how to make saber trails longer?

Like in jka when u do a special attack.

Thanks =]




angen

Why so serious?

50 XP

24th July 2008

0 Uploads

26 Posts

0 Threads

#2 9 years ago

This would be a very nice mod to do, and also i would like a mod where the blaster point marks do not disappear after time flys, because me and my friends were trying to write with them and it was difficult to do this. I would also like to see someone purpose like that! :naughty:




Raz0r

Worse than most terrible

50 XP

27th September 2006

0 Uploads

6,737 Posts

0 Threads

#3 9 years ago

Both require coding.

In JKA, Saber trails are handled in cg_players.c, and I'm not sure how you'd change the time decals stay there...it's probably engine side.

And I'm not sure any coders are still working on JK2...Maybe that Phanto guy could help.




Jnightmare

Slightly cooler than a n00b

50 XP

14th May 2008

0 Uploads

53 Posts

0 Threads

#4 9 years ago

Ive already posted on phantos forums and they said they could not find anything

But thanks for your help

Can anyone else help?




Phanto

I don't spend enough time here

50 XP

29th September 2005

0 Uploads

29 Posts

0 Threads

#5 9 years ago

I know how it can be done, but its not easy. There are several checks which are used to limit the saber trail. Dissable the checks and you can change how long the trail will last. I don't have the source code with me but im pretty sure it made these checks.

Is the player attacking? Is the player using force speed? Has the trail been active for longer than a certain time?

I tried changing the time, i could dissable the saber trail shorter or remove it but i couldnt make it last longer. I think its because when the attack finishes so does the trail. I guess this would all be easier done in 1.04, in 1.02 it was kinda tricky modifying the jk2mp.exe




Jnightmare

Slightly cooler than a n00b

50 XP

14th May 2008

0 Uploads

53 Posts

0 Threads

#6 9 years ago

Thankyou very much phanto for your input i didnt know how ifficult it would be thanks for looking into it