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

Members Online

»
0 Active | 62 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: World at War
Category: CoDWW MP Mapping
CoD: World at War Multiplayer mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: compile errors
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Friday, Sep. 7, 2012 01:54 pm
Last night I made a small test map called mp_flak88 and it does not work, I followed this tutorial exactly and have no idea why it won't work....

zweimanns flak88 tutorial


http://wiki.modsrepository.com/index...uty_5:_Flak_88

I don't get any errors when I compile the map. I load WAW and go....

mods/usermaps/launch

start new server/mp_flak88

I get

free for all
mp_flak88

awaiting challenge flashes briefly then the screen goes black.

Here are my .gsc and .csv files

.gsc

Code:
main()
{
    maps\mp\_interactive_objects::init();
 maps\mp\_load::main();

 level.zsbsfx = loadfx("temp_effects/fx_tmp_bullet_impact_dirt_generic");
 level.flakExp = loadfx("explosions/fx_explosion_charge_large");
 level.flakSmk = loadfx("env/smoke/fx_smk_window_lg_smldr_lf");
 precachemodel("artillery_ger_flak88_d");
 precacheshellshock("zweimann_flak88");
 precacheitem("zweimann_flak88_turret_mp");
 
 maps\mp\_zweimann_flak88_turret_mp::init();

 game["allies"] = "russian";
 game["axis"] = "german";
 game["attackers"] = "axis";
 game["defenders"] = "allies";
 game["allies_soldiertype"] = "german";
 game["axis_soldiertype"] = "german";

 maps\mp\gametypes\_spawning::level_use_unified_spawning( true );
}


.csv

Code:
ignore,code_post_gfx_mp
ignore,common_mp

col_map_mp,maps/mp/mp_flak88.d3dbsp

rawfile,maps/mp/mp_flak88.gsc

include,mptypes_german

// Zweimann Flak88 Turret
fx,weapon/artillery/fx_artillery_pak43_muz
fx,explosions/fx_explosion_charge_large
fx,env/smoke/fx_smk_window_lg_smldr_lf
 
// Shock, needed
rawfile,shock/zweimann_flak88.shock
 
// Materials
material,mtl_flak88_body_d
material,compass_objpoint_flak
 
// Custom Turret
weapon,mp/zweimann_flak88_turret_mp
 
// Xmodels
xmodel,zweimann_flak88_turret_mp
xmodel,artillery_ger_flak88_d
 
// Sound
sound,customsound/flak88fire,,all_mp
sound,customsound/flak88reload,,all_mp
sound,customsound/flak88spin,,all_mp
sound,flak88sound,,all_mp
 
// Script
rawfile,maps/mp/_zweimann_flak88_turret_mp.gsc


I copied all the files to the correct places, I even checked them one by one to make sure they were in the right places.

I have also just found that no matter which of my maps I compile and run I get all these errors in my compile and in every map I now spawn inside my gun.

If anyone can help me out on this I would be extremely gratefull, as, once again it has brought my mapping to a halt.

Thanx, Ian.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Friday, Sep. 7, 2012 02:07 pm
Hi Ian

Sorry to be picky, but the title of this thread is misleading, because it clearly isn't a compile problem, but running a map problem.

With that out of the way, a black screen with no error usually indicates a missing IWI file somewhere. You usually can't see the error message popup because the game is in the way. You can either run the game in windowed mode and see the error popup that way, or just CTRL + ALT + DEL and then look at the Windows task bar, and you can usually click on it and see the error from there.

If it isn't a missing IWI file, then I suggest commenting out the flax88 init thread, and see if your map boots. If it does, then obviously, that will be your problem.

Good luck!
Share |
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Friday, Sep. 7, 2012 02:14 pm
Thanx Tally, I think I've found part of the problem, it would appear that all the xmodels mentioned in the compile have totally disapeared form the xmodels folder, I am totally confused as to how they have been deleted, they were there yesterday right up untill I tried the flak88 tutorial, it was only about 30mins before that I had compiled mp_ripper_1888, but after the flak88 tutorial thats when everything went wrong.

So your right Tally, I seem to have a whole bunch of IWI's missing, I certainly didn't delete them, so how they got deleted is beyond me.

Thanx, Ian.

Share |
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Friday, Sep. 7, 2012 06:51 pm
It turns out that there are hundreds of files that have been deleted from these folders....

xmodel
xmodelparts
xmodelsurfs

images
materials
material_properties

I've managed to get most of them back by installing the modtools to a temp folder then copied them manually to my proper modtools folder, the only thing is there is no 'images' folder in the temp modtools folder, can anyone remember how you get the images folder, I remember the first time I installed the modtools I had to do something to get the 'images' folder to appear but can't remember what.

Thanx, Ian.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Friday, Sep. 7, 2012 07:23 pm
arachnofang writes...
Quote:
It turns out that there are hundreds of files that have been deleted from these folders....

xmodel
xmodelparts
xmodelsurfs

images
materials
material_properties

I've managed to get most of them back by installing the modtools to a temp folder then copied them manually to my proper modtools folder, the only thing is there is no 'images' folder in the temp modtools folder, can anyone remember how you get the images folder, I remember the first time I installed the modtools I had to do something to get the 'images' folder to appear but can't remember what.

Thanx, Ian.


There is no images folder as standard with the mod tools because all the IWI files which match the materials files found in the mod tools are in IWD files in the main folder. It is the same with the COD4 mod tools. Just create a new folder in "raw" named "images" and put your IWI files in there.

The easiest way to get all the IWI files out of the IWD files in the main folder is to use TomBMX's xmodel tool, which will extract the IWI files automatically for you the first time you run it. Just google for a download link.
Share |
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Saturday, Sep. 8, 2012 11:11 am
Thank you Tally I will do that, I already have all of Toms tools so should be a doddle.

Thanx, Ian.
Share |
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Sunday, Sep. 9, 2012 12:03 pm
I just managed to get the error...

Code:
G_spawnturret: Weapon 'zweimann_flak88_turret_mp' isn't a turret.

This usually indicates that the weapon failed to load.


Don't know why it won't load, it should do because I followed what the tutorial said.

Thanx, Ian.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoDWW MP Mapping
Posted: Sunday, Sep. 9, 2012 12:27 pm
Looking through the tutorial I found this note:

Quote:
Add the weapon file to your .iwd file or you'll get a G_SPAWNTURRET error.


So, basically, you don't have the turret weapon file in your IWD file.
Share |
arachnofang
General Member
Since: Nov 16, 2008
Posts: 505
Last: Sep 9, 2012
[view latest posts]
Level 6
Category: CoDWW MP Mapping
Posted: Sunday, Sep. 9, 2012 12:48 pm
[rolleyes] [biggrin] Thanx Tally I finally figured it out, it was this....

"Add the weapon file to your .iwd file or you'll get a G_SPAWNTURRET error."

I had it in my .iwd, but didn't realise it had to be in "weapons/mp/zweimann_flak88_turret_mp" I just added it to my .iwd without the folders, so there is nothing wrong with the tutorial after all other than it could be made a little clearer on adding it to your .iwd.

Thank you Tally for your help.

Ian.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW 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

»