Jump to content

Animation


Ashwin.Star

Recommended Posts

Ashwin.Star

hi friends, happy.gif

please tell me how to add some animations to vice city, smile.gif

& then set player actor to do that added animation sigh.gif

Please help me, i really need this sad.gif

 

(please reply me for Vice city not for any other)

Link to comment
Share on other sites

I believe it is done through the PED.IFP file which can be opened with several tools including KAMS script in 3ds Max

Link to comment
Share on other sites

Ashwin.Star

i know how to add animation but main thing is that how to set the Actor to do that animation

Link to comment
Share on other sites

Contact frank.s he did some work like that for swimming in another mod called Police Stories they add San Andreas player movement and swimming movement, i'm sure he will know and if not he will direct you to the person who will.

Link to comment
Share on other sites

Police Stories' swimming was BW's swimming scm script and the walking and running anims are the only SA anims that replaced VC's original ones.

 

Animations are only addable on SA.

VC's anim system doesn't support loading new .ifp's unfortunatly, as they are all loaded from the ped.ifp.

It's not possible to add anims to the ped.ifp either.

All the original anims are hardcoded to exist, if you know what i mean.

Link to comment
Share on other sites

  • 3 weeks later...
GTA-VICECITYMODER

Ok here is tutorial

Open up IFP IO in your 3dsmax or gmax.

Export some ped from vc in dff import button

Import Ped.ifp

Select animation you wanna edits example Jump.

Now on the left side of main screen you see bones.Move bones for anim doing.Down on anim bar check anims and select sequences for anim you want.When you done it replace it.

Im Animation Editor so i know that.Enjoy.

To add anim use main.scm.If Rave could do that (Animated mr.fusion on delorean)you can do it!

Copy anim and paste it and change it.

Edited by GTA-VICECITYMODER
Link to comment
Share on other sites

When you replace animation.... you should know ID of that animation...

 

Then add this in scm or cleo script...

 

 

0372: set_actor $PLAYER_ACTOR anim AnimsID wait_state_time 1300 ms

 

Link to comment
Share on other sites

Ashwin.Star
Ok here is tutorial

Open up IFP IO in your 3dsmax or gmax.

Export some ped from vc in dff import button

Import Ped.ifp

Select animation you wanna edits example Jump.

Now on the left side of main screen you see bones.Move bones for anim doing.Down on anim bar check anims and select sequences for anim you want.When you done it replace it.

Im Animation Editor so i know that.Enjoy.

To add anim use main.scm.If Rave could do that (Animated mr.fusion on delorean)you can do it!

Copy anim and paste it and change it.

ha ha ha ha ha ha ha ha

this topic is not for jokes,

firstly read the first post once again & then try to answer

we already know how to make or edit any animation,

Link to comment
Share on other sites

Ashwin.Star
When you replace animation.... you should know ID of that animation...

 

Then add this in scm or cleo script...

 

 

0372: set_actor $PLAYER_ACTOR anim AnimsID wait_state_time 1300 ms

 

actually i am asking that what will be the id of our anim which we have added not replaced,

ok,

Link to comment
Share on other sites

Police Stories' swimming was BW's swimming scm script and the walking and running anims are the only SA anims that replaced VC's original ones.

 

Animations are only addable on SA.

VC's anim system doesn't support loading new .ifp's unfortunatly, as they are all loaded from the ped.ifp.

It's not possible to add anims to the ped.ifp either.

All the original anims are hardcoded to exist, if you know what i mean.

Erm, then how do the new swimming anims work in SOL online?

Link to comment
Share on other sites

 

When you replace animation.... you should know ID of that animation...

 

Then add this in scm or cleo script...

 

 

0372: set_actor $PLAYER_ACTOR anim AnimsID wait_state_time 1300 ms

 

actually i am asking that what will be the id of our anim which we have added not replaced,

ok,

Well.... I don't know...

You can try every number until you find correct...

(thats how I did..... suicidal.gif )

 

 

 

...btw.

Check my PARKOUR mod....

Link to comment
Share on other sites

 

Police Stories' swimming was BW's swimming scm script and the walking and running anims are the only SA anims that replaced VC's original ones.

 

Animations are only addable on SA.

VC's anim system doesn't support loading new .ifp's unfortunatly, as they are all loaded from the ped.ifp.

It's not possible to add anims to the ped.ifp either.

All the original anims are hardcoded to exist, if you know what i mean.

Erm, then how do the new swimming anims work in SOL online?

SOL's swimming is achived by hacking around with injected .asi code and such.

I haven't a clue about the exact work they did but SOL added SA's swimming programming code in so it plays added anims (without using .scm animation opcodes afaik).

 

When i said that it's impossible to add new anims to VC, i meant it's impossible without injecting/modifiying its programming code (.exe style, not .scm).

 

 

Edit:GTA:MA adds the ability to add animations, it works too.

Edited by frank.s
Link to comment
Share on other sites

Anyone knows how to do animation while driving...

Like...

Smoking a cigar while driving a car. (I have that animation, and I know the ID)

But what to write in scm or CLEO....??

Link to comment
Share on other sites

Ashwin.Star
Anyone knows how to do animation while driving...

Like...

Smoking a cigar while driving a car. (I have that animation, and I know the ID)

But what to write in scm or CLEO....??

tell us the id of that,

& i will tell you what to write in cleo or script

Link to comment
Share on other sites

 

Anyone knows how to do animation while driving...

Like...

Smoking a cigar while driving a car. (I have that animation, and I know the ID)

But what to write in scm or CLEO....??

tell us the id of that,

& i will tell you what to write in cleo or script

I replaced ATM animation with smoking...

 

ID is 25

 

Script?

Edited by daw
Link to comment
Share on other sites

Ashwin.Star

 

I replaced ATM animation with smoking...

ID is 25

Script?

it is cheating !,

anyways,

0372: set_actor $player_actor anim 25 wait_state_time 6000 ms

$player_actor === name if an actor to whom you want to animate,

25 === is your animation id

6000 === time duration of doing animation for that actor

Edited by Ashwin the new boy
Link to comment
Share on other sites

I replaced ATM animation with smoking...

ID is 25

Script?

it is cheating !,

anyways,

0372: set_actor $player_actor anim 25 wait_state_time 6000 ms

$player_actor === name if an actor to whom you want to animate,

25 === is your animation id

6000 === time duration of doing animation for that actor

It's not working.....

 

Here's my script (CLEO)

 

 

{$CLEO .cs}thread 'SMOKING' :SMOK_10wait 0 if and  Player.Defined($PLAYER_CHAR)00E0:   player $PLAYER_CHAR driving else_jump @SMOK_10 00E1:   key_pressed 0 19 else_jump @SMOK_10 0372: set_actor $player_actor anim 25 wait_state_time 6000 ms wait 1000 jump @SMOK_10 

 

Link to comment
Share on other sites

Ashwin.Star

 

{$CLEO .cs}thread 'Ashwin' :Ashwinwait 0 if00E1:   key_pressed 0 19 jf @Ashwin 0372: set_actor $player_actor anim 25 wait_state_time 6000 ms wait 1000 jump @Ashwin 

 

the problem was in your Cleo script,

(i think it is difficult to play any animation in any vehicle)

Link to comment
Share on other sites

{$CLEO .cs}thread 'Ashwin' :Ashwinwait 0 if00E1:   key_pressed 0 19 jf @Ashwin 0372: set_actor $player_actor anim 25 wait_state_time 6000 ms wait 1000 jump @Ashwin 

 

the problem was in your Cleo script,

(i think it is difficult to play any animation in any vehicle)

Not working.....

 

Maybe it's impossible... suicidal.gif

Link to comment
Share on other sites

Ashwin.Star

try without driving & also try any other ID number

are you pressing right key ???

Link to comment
Share on other sites

try without driving & also try any other ID number

are you pressing right key ???

I tried... and it works.... other ID too...

and key is right...

Everything works.....

Just when in car or bike....not working!

 

Man... I think it's impossible

Link to comment
Share on other sites

Ashwin.Star

if ypu want that that animation work in your car then you may try this,

open ped.ifp & then edit or replace any animation that contains sitting in car anim,

but if you do this you have to face a problen & that is,

you can't stop or run that animation using scripting,

it will automaticaly run when you sit in a car that is using that anim,

(if you don't know which anim to replace & you want the name of that anim PM me)

you can found it own your own by playing

Link to comment
Share on other sites

if ypu want that that animation work in your car then you may try this,

open ped.ifp & then edit or replace any animation that contains sitting in car anim,

but if you do this you have to face a problen & that is,

you can't stop or run that animation using scripting,

it will automaticaly run when you sit in a car that is using that anim,

(if you don't know which anim to replace & you want the name of that anim PM me)

you can found it own your own by playing

yeah... i know that.... but i don't wanna that....

you see....

 

i'm making skateboard mod....

(you can download it on my web...)

 

so.... i'm trying to make some tricks...

but i don't know almost nothing....

 

i just made ollie...

now i'm trying kickflip but there's no opcode for x angle... only for z (car.angle () )

so... if you can help with that too....

...

 

and maybe when in car.... just maybe... it's diffrent id...

like when riding a bike... (you know.. LVX mod)

 

......lot of writing...

i hope you understand everything.... at least something

cause i'm from croatia...

and i think that i have bad english...very bad

xDDDD

 

if you help me with skate tricks

i will credit you....

 

100%

 

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.