Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: What animtree does this anim needs?
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Saturday, Aug. 17, 2013 08:46 am
I found an anim that is very interesting and useful if i have to gudge from title
The name of the animation: Standunarmed_walk_plain
I used it in cod4 as single or as solo anim and it wont work cos it says that generic_human is not the ani that used on that anima neither civilian animtree.

any idea of what animtree is used for this anim?

Sorry for handy post this laptop is not comftable/
Share |
MODDER_BC
General Member
Since: Oct 17, 2012
Posts: 54
Last: Jan 30, 2015
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Saturday, Aug. 17, 2013 05:55 pm
In your anim file

Code:

level.scr_anim[ "generic" ][ "walk" ][0]	= %standunarmed_walk_plain;
level.scr_anim[ "generic" ][ "walk" ][1]	= %standunarmed_walk_plain;


make him walk like this.

Code:

actor = getent("actor","targetname");
actor.animname = "generic";
actor anim_loop_solo(actor,"walk");


update zone as needed.
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Monday, Aug. 19, 2013 07:04 pm
I guess my misstake was this line
level.scr_anim[ "generic" ][ "walk" ][1] = %standunarmed_walk_plain;

i used only the [0] and not a [1]

However i have no idea what does the [1] do.
But I know that the [0] is for loop anims

anyway thanks/
Share |
SparkyMcSparks
General Member
Since: Feb 28, 2004
Posts: 1713
Last: Dec 29, 2016
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Monday, Aug. 19, 2013 07:19 pm
The [0] and [1] are just array entries, the scripted animation system will randomly choose from any of the animations in the array.

If you want the AI to use the animation you found as default walk animation instead of a temporary scripted animation scene, this would be the proper way:

map_anim.GSC
Code:
level.scr_anim[ "generic" ][ "unarmed_walk_plain" ] = %standunarmed_walk_plain;


map.GSC
Code:
ai_guy maps\_utility::set_generic_run_anim( "unarmed_walk_plain" );
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Tuesday, Aug. 20, 2013 12:34 pm
Great! Really helpful and useful[thumbs_up]
But... What animtree is this specific anim requires?

edited on Aug. 20, 2013 05:53 am by SPi
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Tuesday, Aug. 20, 2013 12:44 pm
Some animations are simply left overs. Search files inside animtrees folder. If this anim isnt in one of them, you can either copy it inside generic_human.atr or make your own .atr file. All .atr files have a limit of how many anims they can contain, so when you get an error about too many anims, you must make another .atr file.

Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Thursday, Aug. 22, 2013 09:42 am
Well ok.
I opened the generic_human.atr with notepad and i puted the anim like this...
//---------------generic_human.atr---------------------\\
stand_and_crouch // Standing and crouching, not crawling
{
crouch2stand


unarmed_crouch_idle1
unarmed_crouch_twitch1
unarmed_walk_slow


standunarmed_idle_loop

standunarmed_walk_plain //This is what i added.

cqb_stand_idle

//---------------generic_human.atr---------------------\\

I made this change and it wont work.. [sad]

well the most logic explanation is what 3st0nian said.
Quote:
Some animations are simply left overs.


I will now try to use this animation and see what comes.
maybe just "unarmed_walk_slow"

However, if I fail. does anyone know how can I find a simple human/civilian walk (no panic) anim??? like a normal walk?
(I saw such an anim in Favela in MW2, but its on MW2)[tongue]

edited on Aug. 22, 2013 02:43 am by SPi
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Thursday, Aug. 22, 2013 11:33 am
Try adding this line to your zone file:
rawfile,animtrees/generic_human.atr

Also you can try putting standunarmed_walk_plain at the very beginning of the generic_human.atr file
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Thursday, Aug. 22, 2013 12:58 pm
attachment: image(311.6Kb)
I made the csv load atr but i think its in common(generic_human)
I did smething else.
I found an other walk anim....
it suit my needs..
see image

The animation name is:"unarmed_walk_russian"

and its generic_human animtree.
edited on Aug. 22, 2013 06:02 am by SPi
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Thursday, Aug. 22, 2013 01:06 pm
attachment: image(340.6Kb)
I also inclded a simple standing anim (looks a bit wierd, right hand specially but its ok) ...IWs fault [wink]

Stand animname:"standunarmed_idle_loop"

Topic DONE [thumbs_up]
Thx all!
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»