Page 1 of 1

SKL_2_SKX exporting and SNOW problems

Posted: Tue Dec 18, 2007 8:44 pm
by Cbielak
Question 1:
K, I managed to export a sniper rifle model as an .skl and I find out i need this program called: SKL_2_SKX.exe

which I download and try to run. When i start it up it says "myweapon(13) expecting MATERIAL" does anyone know what I should type in the .bat file Or what could be wrong with my weapon model?

I made the model using 3dsMax and Exported it using Milkshape.
What I typed in the bat file was:

Code: Select all

  "F:\MilkShape 3D 1.8.2\skl_2_skx.exe" Sniper -nolod -verbose -newbaseframe -mohaa 
I hope I get this straitened out..

Question 2:

Im making a map and what I need is snow to be falling from the sky. I followed the tutorial posted on this site https://map.moh-central.net/t.php?id=44

but it still doesn't work.
Heres my .scr (Im running MOH:AA)

Code: Select all

 
level waittill spawn
$player item weapons/colt45.tik
$player ammo rifle 50
$player ammo pistol 70
local.string = getcvar(1.11)
wait 2
// Setup snow parameters

if(local.string[25] == "2")
{
level.rain_speed = "60"
level.rain_speed_vary = "2"
level.rain_length = "2"
level.rain_width = "1"
level.rain_density = "5"
level.rain_slant = "1"
level.rain_min_dist = "768"
level.rain_numshaders = 12
level.rain_shader = "textures/snow"
}
else
{
level.rain_speed = "32"
level.rain_speed_vary = "16"
level.rain_length = "2"
level.rain_width = "1"
level.rain_density = ".8"
level.rain_slant = "250"
level.rain_min_dist = "768"
level.rain_numshaders = 12
level.rain_shader = "textures/snow0"
}
end

For my map I made the brushes selected the "common>rain" texture and then selected "func>rain".

I need help plz. thx.

Posted: Tue Dec 18, 2007 10:14 pm
by neillomax
Here's the mohdm5 script. Make it yours by renaming it.....copy and paste into notepad. Save as mymap.scr and drag it into your main folder or map folder.


// SNOWY PARK
// ARCHITECTURE: NED
// SCRIPTING: NED

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Snowy Park"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "mohdm5"

// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread

level waitTill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/dm/mohdm5.scr
exec global/ambient.scr mohdm5





level waittill spawn


snow:
wait 1

level.rain_speed = "32"
level.rain_speed_vary = "16"
level.rain_length = "2"
level.rain_width = "1"
level.rain_density = ".2"
level.rain_slant = "250"
level.rain_min_dist = "1800"
//level.rain_min_dist = "512"
level.rain_numshaders = 12
level.rain_shader = "textures/snow0"


end

//-----------------------------------------------------------------------------

roundbasedthread:

// Can specify different scoreboard messages for round based games here.

level waitTill prespawn

level waittill spawn

// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw

level waittill roundstart

end

Posted: Tue Dec 18, 2007 10:30 pm
by erick
Cbielak, Your avatar is too big and your sig is not too appropriate. Change the avator to 80 X 80 Pixels is the max I think. And please edit your sig to get the language out of it.

Posted: Tue Dec 18, 2007 10:31 pm
by tltrude

Posted: Wed Dec 19, 2007 1:24 am
by erick
Thanks Cieblak, Just trying to keep it halfway clean.