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

Members Online

»
0 Active | 9 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 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: driving halftracks in mp!
aufklarer
General Member
Since: Sep 4, 2005
Posts: 83
Last: Jul 3, 2006
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Thursday, Jun. 22, 2006 05:20 pm
well on slipknots testmap, there are 4 brushmodels around his script tank model, but when i add new ones it doesnt work, when i re-model his existing brushes it works... and changing the getents to getentarray doesnt work either... tx in advance!
Share |
kav
General Member
Since: Apr 26, 2006
Posts: 24
Last: Jun 28, 2006
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Thursday, Jun. 22, 2006 09:15 pm
try selecting all the brush models including the one uve added.then bring up the entity editor then give them a targetname of what u want, ive had this problem quite a few times usualy this works however somtimes it doesnt if that is the case delete all the brush models then redraw from scratch select them all and give them a targetname hope this works m8 kutgw
Share |
Slipknot14
General Member
Since: Feb 23, 2005
Posts: 109
Last: Sep 4, 2012
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Jun. 23, 2006 06:00 am
Yes, the problem is this, aand You can make sound. I don't know how can you move the MG:(
The sound:
Make a script>origin above the halftrack, then:
targetname:vehsound The map is ready.
The script:

movingvehicle ()
{
mover1 = getent ("movingveh", "targetname");
vehsound = getent ("vehsound","targetname");

while (1)
{
mover1 movey (-400, 2, 0, 0.5);
mover1 waittill ("movedone");
vehsound playsound("vehmoving");
wait (1);
mover1 rotateyaw(-180, 2);
mover1 waittill("rotatedone");
vehsound playsound("vehmoving");
wait (2);
mover1 movey (400, 2, 0, 0.1);
mover1 waittill ("movedone");
vehsound playsound("vehmoving");
wait (2);
mover1 rotateyaw(180, 2);
mover1 waittill("rotatedone");
vehsound playsound("vehmoving");
wait (2);
}
}


Add the red lines to your gsc.
You need to make a line to your CSV for the "vehmoving".

Add this line to your CSV:
vehmoving,,misc/vehmoving.wav,,,,,,,,voice,streamed,,nonlooping
So you need to make a sound folder / you need a misc folder and in that you need a vehmoving.wav


edited on Jun. 23, 2006 02:04 am by Slipknot14
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

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

»