SKL_2_SKX exporting and SNOW problems

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Cbielak
Lance Corporal
Posts: 21
Joined: Sun Jul 01, 2007 7:43 pm

SKL_2_SKX exporting and SNOW problems

Post 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.

Code: Select all

I bought bateries, but it said "batteries not included" so i had to buy them again.
Image
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post 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
User avatar
erick
Major
Posts: 280
Joined: Wed May 30, 2007 1:14 am
Location: USA

Post 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.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post by tltrude »

Tom Trude,

Image
User avatar
erick
Major
Posts: 280
Joined: Wed May 30, 2007 1:14 am
Location: USA

Post by erick »

Thanks Cieblak, Just trying to keep it halfway clean.
Post Reply