Jump to content

CJ F1 Animation.


Sobii

Recommended Posts

Hi coder/modders, A normal player from GTA SA Android here. 

 

  My issue here it goes like there's certain cars with certain CJ animation to enter a car. Normal vehicle is just you can choose both side doors to get CJ in. But, I found cars like Feltzer/Comet with convertible, CJ immediately jump into the car but able for left door only and player can start to drive. 

 

  As my big title said, F1 : a No roof, No doors, No passenger car. I've found a perfect entry animation for CJ which is from Feltzer handling.cfg the last number(which is 19). As I said, Feltzer/Comet jump entry animation can be done it from the left only. Well, I mean I want it both side jump animation for the F1. Yea, this is my first issue. 

 

  Well, here's the handling.cfg I applied to the F1, take a glance, guys : 1400.0 2725.3 1.5 0.0 0.0 -0.15 75 0.65 0.9 0.5 5 1000.0 60.0 1.0 4 P 7.0 0.52 0 30.0 1.1 0.09 0.0 0.30 -0.10 0.5 0.3 0.25 0.0001 95000 40002800 0 1 2 19. This is from Feltzer + Hotring. I changed the weight, turnmass, velocity, acceleration, drivetrain, and semi-bulletproof only. The last number 19 is Feltzer jumping animation from left door. So how can I make CJ able to jump both side to get into the F1 cockpit?? Waiting for Pro Coder answering......(1)

 

  Next issue is get out from the cockpit. CJ get out from F1 but with opening door animation is making me skin crawl. SO, how can CJ be like leaving from the Kart?? Ummm, someone discussion forum said this is vehicles.ide related, Is it? I don't have a clue? For me, vehicles.ide is changing wheel size, car class and car frequency. I put it ignore cuz I only drive OP modded dff txd cars. Back to the issue, how can I make CJ get out from a F1 with a F1 way instead of there's a invisible car door to let CJ happen the door opening animation?? Waiting for Elite Coder answering...... (2)

 

  PS : Sorry for the bad grammar, I'm not a English speaker. Feel free to answer. 

 

Imgur image : https://imgur.com/gallery/CG6MRnK

Edited by Sobii
Link to comment
Share on other sites

Do you know cerberas handling tutorial ? If not, check it out.

I assume you know that the 19 of feltzer belongs to the anim group of the handling anim section, when scrolling down

; '^' identifies this line as vehicle anim group data for reading
;	A - group id     
;	B - group id of one of the two anim groups making up the anim group
;	C - group id of the other of the two anim groups making up the anim group
;	D-T - choose 0 to use group first group id and choose 1 to use second group id for each specific anim
;	T-W - times to start/stop z blend
;	X-f - times to start/stop opening door
;     g - special flags 
;     1=dont close door after getting out, 
;     2=don't close door after getting in,
;     4=use kart drive anims
;     8=use truck drive anims
;     16=use hover drive anims
;     32=run special locked door
;     64=don't open door when getting in
;	A		B		C		D		E		F		G		H		I		J		K		L		M		O		P		Q		R		S		T		U		V		W    		X		Y		Z		a		b		c		d		e		f		g		h		i				
;
;	ID				2nd group		OpenOutF		GetInF			Jack			CloseInsR		GetOutF			BeJacked		CloseOutR		CloseRoll		OpenLocked		JumpOutTime			JkdOutTime	FallTime			OpenOutStop		CloseInStop			OpenInStop				CloseOutStop
;			1st group		Align			OpenOutR		GetInR			CloseInsF		Shuffle			GetOutR			CloseOutF		JumpOut			FallDie			GetInTime		GetOutTime						OpenOutStart		CloseInStart		OpenInStart				CloseOutStart		SpecialFlag
^	0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.20	0.43		0
^	1		1		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		1		0		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.20	0.43		0
^	2		2		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.03		0.23		0.20	0.43		40
^	3		3		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	4		4		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	5		5		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	6		6		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	7		7		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	8		8		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	9		9		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	10		10		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	11		11		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	12		12		3		1		0		0		0		0		1		0		0		0		0		0		0		0		0		0		0		1		0		0.5		0.0		-0.5		-0.3		0.3		0.0			0.0		0.0		0.0			0.0			0.0			0.0		0.0			0
^	13		13		0		1		1		0		1		0		1		1		0		1		1		0		1		1		1		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.20	0.43		0
^	14		14		0		0		0		1		0		1		1		0		1		1		0		1		1		1		1		1		0		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		1
^	15		15		0		1		0		1		0		1		1		1		1		1		0		1		1		1		1		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.20	0.43		2
^	16		16		0		1		0		1		0		1		0		0		1		1		0		1		0		1		1		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		2
^	17		17		0		0		1		1		0		0		0		1		1		1		0		0		0		1		1		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		8
^	18		18		0		1		1		1		0		1		1		1		1		1		0		1		1		1		1		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		4
^	19		19		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.43		0
^	20		20		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		1		1		1		1		11.5	0.0		-0.8		-0.3		0.3		0.41		0.8		0.3		0.45		0.03		0.23		0.1		0.23		41
^	21		21		0		1		0		1		0		1		1		1		1		1		0		1		1		1		1		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		66
^	22		22		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		-0.3	0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.20	0.43		0
^	23		23		0		1		1		1		0		1		1		1		1		1		0		1		1		1		1		1		1		1		1		0.5 	0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		4
^	24		24		0		0		0		1		0		1		1		0		1		1		0		1		1		1		1		1		1		1		0		0.25	0.0		-0.75		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		1
^	25		25		0		1		1		1		0		1		1		1		1		1		0		1		1		1		1		1		1		1		1		0.25	0.0		-0.75		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.43		0
^	26		26		0		0		0		1		0		1		1		1		1		1		0		1		1		1		1		1		1		1		1		0.25	0.0		-0.75		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		3
^	27		27		0		1		0		1		0		1		1		0		1		1		0		1		1		1		1		1		0		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.1		0.23		1
^	28		28		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.20	0.43		8
^	29		29		0		1		1		1		0		1		1		1		1		1		0		1		1		1		1		1		1		1		1		0.5		0.0		-0.5		-0.3		0.3		0.41		0.8		0.3		0.45		0.06		0.43		0.08	0.43		3

 

Rockstar listed vehicle types as a trivial description for the anim groups

 

;	0 standard car
; 	1 low car
; 	2 truck
;	3 std bike
;	4 sport bike
;   5 vespa bike
;   6 harley bike
;   7 dirt bike
;   8 wayfarer bike
;   9 bmx bike
;   10 mtb bike
;   11 choppa bike
;   12 quad bike
;   13 van
;   14 rustler
;   15 coach
;   16 bus
;   17 dozer
;   18 kart
;   19 convertible
;   20 mtruck
;   21 train carriage
;   22 std high
;   23 hover
;   24 tank
;   25 bf inj
;   26 lear
;   27 harrier
;   28 std but upright
;   29 nevada

more details are given above of the anim settings as well in cerberas tutorial

 

 

 

The vehicles.ide have an anim parameter that gives the animation file, e.g. kart.ifp or BF_injection.ifp

find these ifp files in gta3.img, extract them and use animation manager to launch them

If the entry is "null" then the animations of GTASA\anim\ped.ifp is used

 

Ok, Feltzer has "null", it use animations of ped.ifp

Watching the  CAR_...... animations with animation manager

there's only CAR_jumpin_LHS,

 

but no CAR_jumpin_Rightside

 

That means it needs to create a CAR_jumpin_Rightside animation

 

kart.ifp and BF_injection.ifp have jumpin_Rightside animations, but i think, these are not suitable for your purpose, kart is too low and BF_injection let CJ hold on the rack

 

 

 

 

 

Edited by ZAZ
  • Like 2
Link to comment
Share on other sites

  • 7 months later...

Hi, haha, it's been awhile yea 😂😂. So the last digits in handling.cfg for F1 I'm gonna use 18 = kart. Then, in the vehicles.ide, I put kart before ignore, and the 8 digits in handling.cfg, there's a no_door option right, so does it means that's an F1 way is done correctly?? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.