I've been trying to put the Kamino rain in my map by coppying the kamino1.fx file and renaiming it to ```.fx munged and the map crashes, I checked the error log and there was nothing about rain or fx.
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:00 pm
by Labj
Well, its not just that i think, you have to write somewhere so i may be seen in game... some one correct me but, was tha on the LUA ?
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:01 pm
by Xavious
Post the error log.
Labj wrote:Well, its not just that i think, you have to write somewhere so i may be seen in game... some one correct me but, was tha on the LUA ?
Adding rain (or any other environmental effects) doesn't require any lua work.
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:01 pm
by Labj
So where it was ?
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:03 pm
by 0Anonymous0
error log in a few minutes....
EDIT: So heres the log:
Hidden/Spoiler:
Opened logfile BFront2.log 2009-09-16 1744
shell_interface: Entered
shell_interface: gPlatformStr, gOnlineServiceStr, gLangStr, gLangEnum: PC GameSpy english 0
ifs_era_handler - Entered
ifs_era_handler - Exited
shell_interface: No custom_gc_0.lvl
shell_interface: No custom_gc_1.lvl
shell_interface: No custom_gc_2.lvl
shell_interface: No custom_gc_3.lvl
shell_interface: No custom_gc_4.lvl
shell_interface: No custom_gc_5.lvl
shell_interface: No custom_gc_6.lvl
shell_interface: No custom_gc_7.lvl
shell_interface: No custom_gc_8.lvl
shell_interface: No custom_gc_9.lvl
shell_interface: No custom_gc_10.lvl
custom_EraButtonList(): Finished building era button table Known eras buttons: 28
custom_GetGMapEras(): Finished building era table Known eras: 28
custom_GetGMapModes(): Finished building game mode table Known Modes: 39
custom_GetMPGameModeList(): Finished building game mode list table List Length: 40
custom_SetMovieLocation()
custom_GetGCButtonList()
custom_SetMovieLocation()
custom_GetFreeformBattleModeList(): Finished building freeform battle mode list Known Modes: 39
ingame stream movies\crawl.mvs
shell_interface: Opening movie: movies\shell.mvs
shell_interface: Leaving
Mission Checker: Entered addme
Mission Checker: addme: Now listening in on AddDownloadableContent() calls
Mission Checker: Exited addme
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit
Message Severity: 2
.\Source\GameMovie.cpp(399)
Unable to find open movie segment shell_main
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
ifs_sp_campaign: Input_Accept(): Entered: _tab_instant
missionlist_ExpandMapList()
ifs_missionselect_pcMulti_fnSetMapPreview(): Defaulting index to 1
Checkbox for check_era3 clicked
this.CurButton = check_era3
cur_button = nil
this.CurButton = check_mode1
cur_button = nil
this.CurButton = Launch
cur_button = nil
custom_AddMapNew()
custom_printTable(): table: 040CC090
The key, value is: era_c 1
The key, value is: era_g 1
The key, value is: mode_con_c 1
The key is mapluafile, the formated value is: JBM<A>_<B>
The key, value is: mode_con_g 1
The key, value is: bSelected 1
The key, value is: isModLevel 1
custom_printTable(): Returning
custom_printTable(): table: 03CC672C
The key, value is: key mode_con
The key, value is: subst con
The key, value is: showstr modename.name.con
The key, value is: descstr modename.description.con
The key, value is: icon mode_icon_con
custom_printTable(): Returning
gMapEras.key = era_c Era = era_c subst = c
Adding map: JBMc_con idx: 1
this.CurButton = _map_add
cur_button = nil
this.CurButton = Launch
cur_button = nil
Message Severity: 2
.\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture btn_directional_pad_LR
game_interface: Entered
utility_functions2: Listening on AddUnitClass() calls
utility_functions2: Listening on SetHeroClass() calls
utility_functions2: Listening on ReadDataFile() calls
game_interface: Reading in custom strings
game_interface: No user_script_0.lvl
game_interface: No user_script_1.lvl
game_interface: No user_script_2.lvl
game_interface: No user_script_3.lvl
game_interface: No user_script_4.lvl
game_interface: No user_script_5.lvl
game_interface: No user_script_6.lvl
game_interface: No user_script_7.lvl
game_interface: No user_script_8.lvl
game_interface: No user_script_9.lvl
game_interface: No user_script_10.lvl
ifs_sideselect_fnBuildScreen()
game_interface: Exited
Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated
Message Severity: 2
.\Source\EntityGeometry.cpp(1065)
Entity "com_weap_inf_remotedroid_ord" unknown building collision "p_buildingsphere"
Message Severity: 2
.\Source\SkyManager.cpp(122)
Skyfile FarSceneRange is in old format
works fine without rain, rain was the first thing I tryed
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:37 pm
by StarkillerMarek
Maybe the fx is requesting the textures for the other effect, water, and can't find them?
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:41 pm
by 0Anonymous0
I've tryed putting every file mentioned in the kamino1.fx file in my world 1 folder along with the fx file, no dice.
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:46 pm
by StarkillerMarek
Try making a completely new fx and just copying the rain effect.
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 4:54 pm
by 0Anonymous0
I'll try that, but don't abandon this forum, I may need some more help
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 7:21 pm
by Fiodis
StarkillerMarek wrote:Maybe the fx is requesting the textures for the other effect, water, and can't find them?
That is a common effect that is loaded automatically with the line ReadDataFile:ingame.lvl in your LUA. Re-adding it is not necessary.
Did you try a clean and remunge? Are you sure you named everything correctly?
Re: Weird Rain Problem
Posted: Thu Sep 17, 2009 10:18 pm
by allthetutorials123
Off topic - same thing is happening to me! But, lucky for you it hasn't crashed your map! The error log says nothing too. I wonder if their is a tutorial with adding rain to your map. If not, someone deffinately needs to make one. I'll gonna look right now...
Edit - Tutorial below, but I also found this... I think it has to do with fx. files. Not 100% sure though.
allthetutorials123 wrote:Off topic - same thing is happening to me! But, lucky for you it hasn't crashed your map! The error log says nothing too. I wonder if their is a tutorial with adding rain to your map. If not, someone deffinately needs to make one. I'll gonna look right now...
Edit - Tutorial below, but I also found this... I think it has to do with fx. files. Not 100% sure though.
So you just copied and renamed it? If so, you'll need to open it up and resave it, then munge.
Re: Weird Rain Problem
Posted: Thu Sep 24, 2009 9:12 pm
by Fiodis
To further clarify on that, you'll need to do it because if you copy and paste the file, it retains its old time stamp. VM (Visual Munge) munges files according to time stamp; if they have a time stamp younger than the last munge, they get munged. In the case of copy and pasting, the old time stamp is copied and read, and so VM is tricked into thinking that the file has already been munged.
The way to fix this is to clean and remunge or, as Xavious posted (and certaintly the better way to do it), just open and save.