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

Members Online

»
0 Active | 41 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 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Need help with this script
s6robi
General Member
Since: Jun 12, 2006
Posts: 85
Last: Feb 18, 2021
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Dec. 17, 2007 01:37 am
Hello everyone,

I am working on a beach map .... no it isn't omaha BEACH :) and i am trying to work on having myself spawn inside the higgins boat with like 5 or 10 guys also in the boat. I want the boat to move up towards the beach and once it gets to the beach i want the doors to drop and my men to pour out of the boat (like in the Duhoc mission in SP). Now I have been mapping on and off for about a year now, trying to creat my first!!!!!!! SP map, but there is just one thing stoping me .... i dont know scripting well. Can someone please help me with scripting my higgings boat like i described it up above??? I have read tutorials in the CoD 1 section on moving things but i still get confused and i have read posts about trying to move higgins boats but none so far have even came close to being helpful.
Also i have tryed looking in the .GSC file for the Duhoc mission on how they did it and a soon as i opened it i soiled myself. I was so confused.

Please if anyone knows how to do this repost back to me.

thank you for your time.

- s6robi
Share |
Zero_Rain
General Member
Since: Jun 5, 2006
Posts: 94
Last: Jan 13, 2008
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Dec. 17, 2007 02:58 am
youll have to make the boat as taget 1 call it what ever...
then the door as target two

both will start with the same movement but the door add
wait 2 sec then rotate, create 2 seperate .gsc this isnt exactly right youll have to tweek it to your need but its basic

for boat
Code:
main()
{
thread train_slider ();
}

train_slider()
{
train=getent("train","targetname");
trig=getent("start_train","targetname");
while(1)
{
trig waittill ("trigger");
//wait (4);
train movex (-464,8,0.3,0.3);
train waittill ("movedone");

}
}


for door
Code:
main()
{
thread door ();
}

door()
{
train=getent("door","targetname");
trig=getent("start_door","targetname");
while(1)
{
trig waittill ("trigger");
//wait (4);
train movex (-464,8,0.3,0.3);
train waittill ("movedone");
wait (4);
main()
{
thread door_open ();
}

door_open()
{
drawbridge=getent("door","targetname");
trig=getent("lower_door","targetname");
while(1)
{
trig waittill ("trigger");
drawbridge rotateto( (-90,0,0),6);
drawbridge waittill ("rotatedone");
wait (3);
}
}
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»