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

Members Online

»
0 Active | 87 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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 2
Category: CoD2 SP Mapping
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: SP Higgins assault
TheModDoctor
General Member
Since: Apr 27, 2007
Posts: 174
Last: Jan 10, 2009
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 10:07 am
I've been struggling with a problem. I want to make a SP map where you start in a higgins and when you reach the end of the river, the door opens and you can run out. There should also be a few other soldiers with you. How?[confused]
Share |
WHC_Grassy
General Member
Since: Apr 20, 2005
Posts: 1426
Last: Aug 25, 2007
[view latest posts]
Level 8
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 10:31 am
You would have to find the tag positions of the higgins if it has any, and treat it like a truck load scene. There are a few of those in the single player missions. Look for how they load and attach or linkto() the AI and player into the truck, loading up the higgins would be the same procedure.

Grassy
Share |
TheModDoctor
General Member
Since: Apr 27, 2007
Posts: 174
Last: Jan 10, 2009
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 10:35 am
I examined the duhoc_assault.gsc but it was kinda chinese to me. What do you mean by "tag position" ? Sorry for a dumb question, but I'm new to doing vehicles.
Share |
WHC_Grassy
General Member
Since: Apr 20, 2005
Posts: 1426
Last: Aug 25, 2007
[view latest posts]
Level 8
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 10:42 am
Most vehicles like trucks and jeeps etc, have preset tag points in the model that can be used to attach a AI actor or the player to.

For eg this a clip from a tute for tank a ride
http://www.modsonline.com/Tutorials-read-344.html

level.player setorigin (leadtank getTagOrigin ("tag_playerride"));
level.player playerLinkToDelta (tank, "tag_playerride", 0.85);

level.player allowLeanLeft(false);
level.player allowLeanRight(false);
level.player allowProne(false);
level.player allowCrouch(false);
level.player setplayerangles ( tank gettagAngles ("tag_playerride") );
Share |
TheModDoctor
General Member
Since: Apr 27, 2007
Posts: 174
Last: Jan 10, 2009
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 10:57 am
OK, but now, which vehicle script should I use? In the iw_07.iwd folder is all these scripts as I call them, in that tutorial the guy used _crusader.gsc

#include maps\_utility;
#include maps\_anim;

main()
{

maps\_crusader::main("xmodel/vehicle_crusader2");

maps\_tankai::main();
maps\_tankai_crusader::main("xmodel/vehicle_crusader2");
maps\_load::main();

thread tanks_setup();
thread playertank();
}


Which one should I use because I cant find _higgins.gsc. In the duhoc map I find _halftrack, should I use this one?

drones_init();
higgins_remove_position_models();
maps\duhoc_assault_fx::main();
maps\_halftrack::main("xmodel/vehicle_halftrack_mg_brush",true);
maps\_load::main();
Share |
WHC_Grassy
General Member
Since: Apr 20, 2005
Posts: 1426
Last: Aug 25, 2007
[view latest posts]
Level 8
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 11:02 am
I cant remember if there is a higgins in the single player levels or not. Is the higgins model a stock one or did someone make it?

You can load the xmodel into a decent text editor, you will heaps of rubbish but can still find english words that are part of the model, they should be names of tag points in the model.

//Edit// Oops, thought that might work but I just tried it and found nothing in known models used in single player.

As for what script, well you might just have to make your own, just use the stock ones as a template for your higgins instead.

Grassy

edited on May. 5, 2007 07:10 am by WHC_Grassy
Share |
Snake-nl
General Member
Since: May 30, 2004
Posts: 394
Last: Jan 23, 2011
[view latest posts]
Level 5
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 11:08 am
WHC_Grassy writes...
Quote:
I cant remember if there is a higgins in the single player levels or not. Is the higgins model a stock one or did someone make it?
You can load the xmodel into a decent text editor, you will heaps of rubbish but can still find english words that are part of the model, they should be names of tag points in the model.

As for what script, well you might just have to make your own, just use the stock ones as a template for your higgins instead.

Grassy


the higgins where in the duhoc map.
Share |
TheModDoctor
General Member
Since: Apr 27, 2007
Posts: 174
Last: Jan 10, 2009
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 11:09 am
The higgins is a stock model, can be found in the D-Day mission, Piont du Hoc. Its the vehicle that you start in and eventually blow up after you get out. Maybe I should use the _halftruck.gsc script
Share |
WHC_Grassy
General Member
Since: Apr 20, 2005
Posts: 1426
Last: Aug 25, 2007
[view latest posts]
Level 8
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 11:12 am
Ahh! well there you go then, just look through the script related to that level and you should find the code used to work with the model and it's tag points.

Grassy
Share |
TheModDoctor
General Member
Since: Apr 27, 2007
Posts: 174
Last: Jan 10, 2009
[view latest posts]
Level 4
Category: CoD2 SP Mapping
Posted: Saturday, May. 5, 2007 11:52 am
Thanks! I got the player in the boat now, player is linked and everything but now when the higgins reaches the end of its path, its doors doesn't open. I got the code from the stock gsc but it doesnt work
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»