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

Members Online

»
0 Active | 86 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 4
Category: CoD4 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Vehicletype and vehicle files?
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Sunday, Dec. 16, 2012 04:06 pm
OK so I have a bm21.
the bm21 name is:vehicle_bm21_cover_under_destructible
and the vehicle type i entered is:bm21_troops
in my gsc i have this:

Code:
maps\_bm21::main( "vehicle_bm21_mobile_cover_no_benchbm21_troops vehicle_bm21_mobile_cover" );

should ti be one of these?

Code:
maps\_bm21::main( "bm21_troops 	vehicle_bm21_bed_under_destructible" ); 


Im sure thereis something wrong i think in the gsc
cos when the bsp compile reaches connect paths at the end an error pops up and says something like

Could not load vehicle file [ vehicles/bm21]

Any ideas?


edited on Dec. 16, 2012 09:07 am by SPi
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: CoD4 SP Mapping
Posted: Sunday, Dec. 16, 2012 04:15 pm
Shouldnt it be:
Code:

maps\_bm21_troops::main("vehicle_bm21_cover_under_destructible");
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Sunday, Dec. 16, 2012 06:09 pm
no mate I dont know what goes wrong![confused]
I have a script_vehicle with model "vehicle_bm21_cover_under_destructible"
and a vehicletype of bm21_troops
and also in my script ( gsc)
this line
Code:
maps\_bm21_troops::main("vehicle_bm21_cover_under_destructible");


and I still get that sick error[mad]

Could not load vehicle file [Vehicles/bm21] [puke]
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: CoD4 SP Mapping
Posted: Sunday, Dec. 16, 2012 06:44 pm
Try running converter: COD4 Mod Tools->Applications->Run Converter
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Sunday, Dec. 16, 2012 09:31 pm
to load a vehicle you need to make sure of a few things.

for BM21 the acceptable models to use are:

Code:

	"vehicle_bm21_mobile_bed_destructible"
	"vehicle_bm21_mobile"
	"vehicle_bm21_mobile_bed"
	"vehicle_bm21_mobile_cover_no_bench"
	"vehicle_bm21_mobile_cover"
	"vehicle_bm21_cover_destructible"
        "vehicle_bm21_bed_under_destructible"
	"vehicle_bm21_mobile_bed_destructible"


so in k/v u should have model/ ( model name from above )
and in vehicletype it should be vehicletype/bm21_troops

and then in ur zone file make sure u have this:

rawfile,maps/_bm21_troops.gsc

and in ur mapname.gsc have this before the _load::main();

Code:
maps\_bm21_troops::main("[vehicle model name from above]");


forgot to say that in the zone file u also need to put

xmodel, ( vehicle model name )

edited on Dec. 16, 2012 02:36 pm by voidsource
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Friday, Dec. 21, 2012 06:38 am
Just curious, did my info worked for you?
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD4 SP Mapping
Posted: Friday, Dec. 21, 2012 04:40 pm
I know im too late mate
Ill try it out i had some bad time
Now theres plenty of time.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 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

»