Questions...sooo much!!lol.

Post your scripting questions / solutions here

Moderator: Moderators

Dark_Warwolf
Lance Corporal
Posts: 22
Joined: Sun Sep 19, 2004 1:24 am
Location: La Romana

Post by Dark_Warwolf »

Thx i will try.
==========DarknesDarkDark========
-----------------You Owe the Dark!----------------
Dark_Warwolf
Lance Corporal
Posts: 22
Joined: Sun Sep 19, 2004 1:24 am
Location: La Romana

Post by Dark_Warwolf »

I dont understand.....I did all of it from the main menu and it doesnt work!

-I threw the bsp file into the DM map.

-I threw mohdm1 file into DM map too.

-Thats what i did Mohaa/main/Maps.pk3/DM/mohdm1.scr, mohdm1.bsp.

Thats it and the map doesnt change, maybe its those script!
is there any error that i can change?

// SOUTHERN FRANCE
// ARCHITECTURE: SENN
// SCRIPTING: POWZER

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Southern France"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "mohdm1"

// 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/mohdm1.scr
exec global/ambient.scr mohdm1

//exec global/ambient.scr mohdm2

//$world farplane 5000
//$world farplane_color (.333 .333 .329)

level waittill spawn


local.mohdm1=spawn script_model

local.mohdm1 model "models/emitters/fire.tik"

local.mohdm1.origin=(46.90 421.22 384.13)

local.mohdm1.angles=(22.32 10.47 0.00)

local.mohdm1 notsolid




local.mohdm1=spawn script_model

local.mohdm1 model "models/emitters/fire.tik"

local.mohdm1.origin=(71.20 511.30 384.13)

local.mohdm1.angles=(87.89 92.57 0.00)

local.mohdm1 notsolid




local.mohdm1a=spawn script_model

local.mohdm1a model "models/animal/german_shepherd.tik"

local.mohdm1a.origin=(545.48 475.11 384.13)

local.mohdm1a.angles=(6.04 179.05 0.00)

local.mohdm1a solid



local.mohdm1a=spawn script_model

local.mohdm1a model "models/static/toolbox_closed.tik"

local.mohdm1a.origin=( -326.94 1679.13 552.13)

local.mohdm1a.angles=(64.65 -88.71 0.00)

local.mohdm1a solid




local.mohdm1a=spawn script_model

local.mohdm1a model "models/static/toolbox_closed.tik"

local.mohdm1a.origin=(846.78 1136.87 552.13)

local.mohdm1a.angles=(15.91 92.15 0.00)

local.mohdm1a solid




local.mohdm1a=spawn script_model

local.mohdm1a model "models/static/toolbox_closed.tik"

local.mohdm1a.origin=( -534.25 1691.42 434.13)

local.mohdm1a.angles=(21.56 -91.76 0.00)

local.mohdm1a solid




local.mohdm1a=spawn script_model

local.mohdm1a model "models/sandbag_small_semicircle.tik"

local.mohdm1a.origin=(223.72 -556.65 0.13)

local.mohdm1a.angles=(4.87 89.28 0.00)

local.mohdm1a solid



end

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

roundbasedthread:

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

level waitTill prespawn





level waittill spawn

thread flak88


// set the parameters for this round based match
level.dmrespawning = 1 // 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
==========DarknesDarkDark========
-----------------You Owe the Dark!----------------
strafer
Captain
Posts: 237
Joined: Sat Jan 31, 2004 11:29 pm
Location: The Motherland..
Contact:

Post by strafer »

-Thats what i did Mohaa/main/Maps.pk3/DM/mohdm1.scr, mohdm1.bsp.
That's why. Use this path:

Mohaa/main/Maps.pk3/maps/DM/mohdm1.scr.

You don't need the .bsp file for server-side map mods.
Post Reply