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

Members Online

»
0 Active | 104 Guests
Online:

LATEST FORUM THREADS

»
Call of DutyŽ: WWII
CoD WW2 General
SOF2 Prefabs map
SoFII Mapping
coduo mapping tools
CoDUO 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
Previous Page
subscribe
Author Topic: Need help in vehicles...
Spiritualkid
General Member
Since: May 28, 2008
Posts: 27
Last: Mar 26, 2013
[view latest posts]
Level 2
Category: CoD2 SP Mapping
Posted: Tuesday, Feb. 26, 2013 11:48 am
its not working :/ i mean the vehicle part
Share |
Spiritualkid
General Member
Since: May 28, 2008
Posts: 27
Last: Mar 26, 2013
[view latest posts]
Level 2
Category: CoD2 SP Mapping
Posted: Tuesday, Feb. 26, 2013 11:57 am
ive selected the trigger+vehicle made it to move and spawn

selected the spawner + vehicle made it to spawn in/on vehicle

but only vehicle spawns and moves well i can say im angry a bit
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 SP Mapping
Posted: Wednesday, Feb. 27, 2013 03:35 am
What vehicle are you using? Tanks for example require these lines for AI riding on them:
Code:
maps\_tankai_crusader::main("xmodel/vehicle_crusader2");
maps\_tankai_tiger::main("xmodel/vehicle_tiger_woodland");
maps\_tankai_sherman::main("xmodel/vehicle_american_sherman");

Make sure player cant see vehicle riders spawn point. I usually make hollow box under the terrain and put vehicle spawners inside.
Share |
Spiritualkid
General Member
Since: May 28, 2008
Posts: 27
Last: Mar 26, 2013
[view latest posts]
Level 2
Category: CoD2 SP Mapping
Posted: Wednesday, Feb. 27, 2013 08:14 am
well im using american jeeps the can-ed one and i don't see the spawners but they dont spawn
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 SP Mapping
Posted: Monday, Mar. 4, 2013 05:48 am
Just tested it myself and this method doesnt work at all in CoD2. So try adding vehicle guys KVP (key value pair)
"script_startingposition" "0"
"script_startingposition" "1"
"script_startingposition" "2"
and so on, depending how many seats vehicle has. Like in vehicle tutorials.
Share |
Rafif_Daffa
General Member
Since: Jun 22, 2013
Posts: 19
Last: Oct 21, 2013
[view latest posts]
Level 1
Category: CoD2 SP Mapping
Posted: Sunday, Jul. 21, 2013 05:02 am
I am sorry before if i disturb you topic in herem but i am only want ask,
when I make vehicle buffalo, after i compile this map appear this message "cannot spawn 30cal_stand which has a script, unless one instance placed in map"

This is my .gsc files

#include maps\_utility;
#include maps\_fx;
#include maps\_anim;
#using_animtree("generic_human");

main()
{

maps\_truck::main("xmodel/vehicle_ltv4_buffalo");
maps\_load::main();
maps\_vehicle::scripted_spawn(1);

level.player takeallweapons();
level.player giveWeapon ("springfield");
level.player giveWeapon ("g43_sniper");
level.player giveWeapon ("fraggrenade");
level.player switchToWeapon ("springfield");

thread buffalo_team1();

}

buffalo_team1()
{

level.vehicle = getent("vehicle", "script_noteworthy");
path = getvehiclenode ("vehicle_start_path", "script_noteworthy");

level.vehicle attachPath(path);

wait 5;

level.vehicle startPath();

level.vehicle waittill("reached_end_node");
level.vehicle notify ("unload");

}


And this is in radiant

classname script_vehicle
model xmodel/vehicle_ltv4_buffalo
script_noteworthy vehicle
script_team allies
script_vehicleride 0
script_vehiclespawngroup 1
vehicletype buffalo

and how to solving this problem.. thanks for answer..
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 SP Mapping
Posted: Monday, Jul. 22, 2013 11:30 am
In Radiant create misc_turret and give it following keys/values
"weaponinfo" "30cal_stand"
"model" "xmodel/weapon_30cal"

Also
maps\_buffalo::main("xmodel/vehicle_ltv4_buffalo");
not
maps\_truck::main("xmodel/vehicle_ltv4_buffalo");

edited on Jul. 22, 2013 11:32 am by 3st0nian
Share |
Rafif_Daffa
General Member
Since: Jun 22, 2013
Posts: 19
Last: Oct 21, 2013
[view latest posts]
Level 1
Category: CoD2 SP Mapping
Posted: Tuesday, Jul. 23, 2013 12:13 am
Thanks for help, one question again..
how to make player spawn on moving buffalo like map rhine..
i try to select all actor include player_start and vehicle, and clicking "Ride On/In Vehicle" but after I compile and play, the buffalo and actor move and leave me alone[sad]
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 291
Last: Dec 4, 2017
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 SP Mapping
Posted: Friday, Jul. 26, 2013 04:58 am
This script is from rhine.gsc
Additional Buffalo Radiant KVP:
Code:

"script_badplace" "0"
"script_turret" "0"
"script_disableMG" "1"
"script_avoidvehicles" "0"
"script_nomg" "1"
"targetname" "player_lvt"
Code:

attach_player()
{
	level.buffalo = maps\_vehicle::waittill_vehiclespawn("player_lvt");

	level.buffalo clearTurretTarget();
	level.buffalo useby (level.player);
	wait 1;
	level.player setplayerangles(level.buffalo.angles);
	wait 1;
	level.player setplayerangles(level.buffalo.angles);
	level.buffalo waittill("reached_end_node");

	// wait 1.5 seconds so that the ai can a chanse to get out.
	wait 2.5;
	level.buffalo makevehicleusable();
}

Mess around with it.
Share |
Rafif_Daffa
General Member
Since: Jun 22, 2013
Posts: 19
Last: Oct 21, 2013
[view latest posts]
Level 1
Category: CoD2 SP Mapping
Posted: Friday, Jul. 26, 2013 10:35 pm
Thanks this is work, also work in opel truck but with little problem. After vehicle stop, AI can unload from vehicle. but player can't leave this vehicle.
Share |
Restricted Access Topic is Locked
Page
Previous 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

»