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 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
Page
Next Page
subscribe
Author Topic: vehicle_opel_blitz_woodland_static riding?
Futtbucker
General Member
Since: Jun 23, 2006
Posts: 96
Last: Jul 21, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 08:39 pm
Hi there..

I have a question:
How can I let the vehicle_opel_blitz_woodland_static move from point A to point B with pressing the use button ( F )
I want this in my MP map so the 2 teams can ''drive'' to eachother :D
Share |
Hercules
General Member
Since: Jan 23, 2005
Posts: 775
Last: Apr 26, 2011
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 08:46 pm
its done with scripts....check the tut section rasta has made a tut for moving planes....check that out
Share |
Futtbucker
General Member
Since: Jun 23, 2006
Posts: 96
Last: Jul 21, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 09:03 pm
I've done that but he says to create an origin, than press escape to deselect and then select the model and then the origin and press control + K but radiant doesn't do anything when I press Control + K

??
Share |
OLD_MAN_WITH_GUN
General Member
Since: May 13, 2006
Posts: 754
Last: Jan 23, 2010
[view latest posts]
Level 7
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 09:18 pm
Futtbucker writes...
Quote:
but radiant doesn't do anything when I press Control + K

??

In the radiant for CoD2 it is 'w' instead of 'ctrl-k'.
Share |
Futtbucker
General Member
Since: Jun 23, 2006
Posts: 96
Last: Jul 21, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 09:19 pm
Thank you very much :D
Share |
Futtbucker
General Member
Since: Jun 23, 2006
Posts: 96
Last: Jul 21, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 09:38 pm
What do I put in my gsc now ?

this is the one from rasta:

[begin]


main()
{

level thread planes();
}

planes()
{
level.PlaneSpeed = 3.5;

stuka1 = getent ("stuka1","targetname");
stuka2 = getent ("stuka2","targetname");
stuka3 = getent ("stuka3","targetname");

temp = getent (stuka1.target,"targetname");
stuka1.dest = temp.origin;
stuka1.start = stuka1.origin;
stuka1 hide();
temp = getent (stuka2.target,"targetname");
stuka2.dest = temp.origin;
stuka2.start = stuka2.origin;
stuka2 hide();
temp = getent (stuka3.target,"targetname");
stuka3.dest = temp.origin;
stuka3.start = stuka3.origin;
stuka3 hide();

wait 2;

while (1)
{
stuka1 thread plane_flyby("stuka_flyby");
wait .15;
stuka2 thread plane_flyby("stuka_flyby");
wait .15;
stuka3 thread plane_flyby("stuka_flyby");

wait 60;
}
}


plane_flyby(sound)
{
// If you specified a sound to play then play it
if (isdefined (sound))
self playsound (sound);

wait 15;

self show();

self moveto(self.dest, level.PlaneSpeed, 0.1, 0.1);

wait level.PlaneSpeed;

self hide();
self.origin = self.start;
}

[end]

I have these things in the entity of the opel blitz:
angles - 0 270 0
classname - script_model
model - xmodel/vehicle_opel_blitz_woodland_static
origin - -832 1560 24
target - auto2
targetname - auto


I've already added 2 script/origins ( one on the place where the car spawns and one where it needs to drive to )
And i've connected the CAR and the ORIGIN where it has to go to with W.....

Am I doing something wrong ?
How does my GSC have to look like?


here is the tut from rasta if that helps helping me: http://www.modsonline.com/index.php?mod=Tutorials&op=read&id=200



edited on Jun. 26, 2006 05:39 pm by Futtbucker
Share |
Tridon
General Member
Since: Jan 25, 2006
Posts: 232
Last: Nov 28, 2010
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 10:17 pm
You can use the one I made based on Rasta's plane script. You'll have to do the trigger for it yourself, but this is the basic script for moving from A->B.
Code:
main() 
{ 

level thread trucks(); 
} 

trucks() 
{ 
level.TruckSpeed = 6.5; 

opel1 = getent ("opel1","targetname"); 

temp = getent (opel1.target,"targetname"); 
opel1.dest = temp.origin; 
opel1.start = opel1 .origin; 
opel1 hide(); 

wait 2; 

while (1) 
{ 
opel1 thread truck_driveby("opel1_driveby"); 
wait 30;
} 
} 


truck_driveby(sound) 
{ 
// If you specified a sound to play then play it 
if (isdefined (sound)) 
self playsound (sound); 

wait 15; 

self show(); 

self moveto(self.dest, level.TruckSpeed, 0.1, 0.1); 

wait level.TruckSpeed; 

self hide(); 
self.origin = self.start; 
}
Share |
Futtbucker
General Member
Since: Jun 23, 2006
Posts: 96
Last: Jul 21, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 10:56 pm
What do you mean with trigger ?
Share |
Tridon
General Member
Since: Jan 25, 2006
Posts: 232
Last: Nov 28, 2010
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Monday, Jun. 26, 2006 11:11 pm
Futtbucker writes...
Quote:
Hi there..

I have a question:
How can I let the vehicle_opel_blitz_woodland_static move from point A to point B with pressing the use button ( F )
I want this in my MP map so the 2 teams can ''drive'' to eachother :D

That is done with a trigger and scripting I believe. To do the trigger (I may be wrong here), you first have to draw a brush where you want the trigger to be, eg. at the front of the truck. Texture the brush with the Trigger texture. With the trigger brush still selected, right click on the 2D grid and select, trigger/use. That's about all I know. Hopefully veef or someone can elaborate further on this for you.
Share |
Futtbucker
General Member
Since: Jun 23, 2006
Posts: 96
Last: Jul 21, 2007
[view latest posts]
Level 3
Category: CoD2 MP Mapping
Posted: Tuesday, Jun. 27, 2006 09:39 am
Can't anyone make a tutorial for this...
The one from rasta is for COD1 and it is very confusing cause he has 3 planes...
So a tutorial (with pics) for Model moving in COD2 MP_maps would be fantastic
Share |
Restricted Access Topic is Locked
Page
Next Page
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

»