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

Members Online

»
0 Active | 10 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 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: animated props
Efraxskills
General Member
Since: Nov 10, 2009
Posts: 41
Last: Nov 22, 2012
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Monday, Mar. 8, 2010 06:44 am
hi everyone.

Sorry for posting this topic again, but anyone can explain to me step by step, how put a palmtree moving in mp?, someone told me that using a script_model works. but im having troubles with the scripting stuff (or everything?[lol]).

Those are my values in the entity window (selecting the script_model and pressing "N"):

key: targetname
value: palmtree_tall3_still <------ the name of the Xanim.

Into mp_mymap.gsc i have:

main()
{
maps\mp\_load::main();
maps\mp\_palmtree_anim::main();

game["allies"] = "marines";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "desert";
game["axis_soldiertype"] = "desert";

}

** _palmtree_anim refers to _palmtree_anim.gsc file.**


Into _palmtree_anim.gsc file i put this:

#using_animtree ("animated_props");
animated_model_setup()
{
level.anim_prop_models["foliage_tree_palm_tall_3"]["still"] = %palmtree_tall3_still;

}

and finally into zone file:

xanim,palmtree_tall3_still


thanxs for u time guys again. see ya.[wave]
Share |
Vistrum
General Member
Since: Jan 2, 2007
Posts: 146
Last: Mar 12, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Mar. 8, 2010 07:55 am
what do you mean by a palm tree "moving"? swaying or literally moving from point A to point B?
Share |
Efraxskills
General Member
Since: Nov 10, 2009
Posts: 41
Last: Nov 22, 2012
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Monday, Mar. 8, 2010 05:18 pm
swaying (wind action).
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Monday, Mar. 8, 2010 05:26 pm
The animated_model_setup() function isnt suported in MP as any of the anim functions by the way. The only way you could get a model/brush to move in MP is to use a script to do so, like in this tutorial
Share |
u5ername
General Member
Since: Dec 6, 2009
Posts: 11
Last: Sep 11, 2010
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Wednesday, Aug. 11, 2010 06:43 pm
I've just started modding, and I'm trying to get some palm trees into a single player map. I've tried all sorts of ways of doing this but just can't get it to work. If anyone could tell me how to do this or point to a tutorial that will show me I'd be very grateful. Hope someone can point the way. Cheers.
Share |
u5ername
General Member
Since: Dec 6, 2009
Posts: 11
Last: Sep 11, 2010
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Friday, Aug. 13, 2010 06:56 am
Please ignore my previous post, I finally got it sorted.[casanova]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP 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

»