Map Helpers


(Bondo) #1

Hi again.

ok, I got a little problem again. And I am also wondering about some maps.

  1. I have a map made. (only using basic stuff here since I am a newbie.)
    The map works. I have a 7 room 1v1-3v3 map. 2 health, 2 ammo cabinets and a script_multiplayer.
    I have this map running great.

Problem)
I just can’t seem to grasp the fact of how to make a command post work so I just copied the com post from goldrush and the scripting that goes with the com post. And I have all of the scripting (neutral, allied - built- decay- final -ect, axis---- ect.) I compiled it and it runs great with using \sv_pure 0, \g_gametype 2, \devmap… but when I put it into .pk3 it dosen’t show up on my listings of maps to choise from. I have tried renaming it, compiling it differently, I am using the EXACT wording from goldrush (meaning I didn’t change any of the wording of the triggers/script) except for the objective flag info.
I have all of the weapon clips, models, origin/triggers.
Also… I am not too familiar with the term brushes… I know but I don’t know if you know what I mean.

game_manager
{
spawn
{
// Game rules
wm_axis_respawntime 1
wm_allied_respawntime 1
wm_set_round_timelimit 60
}

// ================================================
// ============ NEUTRAL COMMAND POST ==============
// ================================================

allied_compost_built
{
spawn
{
wait 400
trigger allied_compost_built setup

	constructible_class 2
}

trigger setup
{
	setchargetimefactor 1 soldier 1
	setchargetimefactor 1 lieutenant 1
	setchargetimefactor 1 medic 1
	setchargetimefactor 1 engineer 1
	setchargetimefactor 1 covertops 1
	sethqstatus 1 0
}

buildstart final
{
	setstate allied_compost_built_model underconstruction
	setstate neutral_compost_closed_clip invisible
	setstate neutral_compost_closed_model invisible
}

built final
{
	setstate allied_compost_built_model default
	setstate neutral_compost_closed_clip invisible
	setstate neutral_compost_closed_model invisible

	trigger allied_compost_built_model enable_allied_features

	enablespeaker allies_compost_sound
}

decayed final
{
	setstate allied_compost_built_model invisible
	setstate neutral_compost_closed_clip default
	setstate neutral_compost_closed_model default
}

death
{
	setstate allied_compost_built_model invisible
	setstate neutral_compost_closed_clip default
	setstate neutral_compost_closed_model default

	trigger allied_compost_built_model disable_allied_features

	disablespeaker allies_compost_sound
}

}

allied_compost_built_model
{
spawn
{
wait 400
setstate allied_compost_built_model invisible
}

trigger enable_allied_features
{
	setchargetimefactor 1 soldier 0.75
	setchargetimefactor 1 lieutenant 0.75
	setchargetimefactor 1 medic 0.75
	setchargetimefactor 1 engineer 0.75
	setchargetimefactor 1 covertops 0.75
	sethqstatus 1 1

	wm_announce	"Allied Command Post constructed. Charge speed increased!"

	// *----------------------------------- vo ------------------------------------------*
	wm_teamvoiceannounce 0 "axis_hq_compost_constructed_allies"

	wm_teamvoiceannounce 1 "allies_hq_compost_constructed"

	wm_removeteamvoiceannounce 1 "allies_hq_compost_construct"
	// *---------------------------------------------------------------------------------*

}

trigger disable_allied_features
{
	setchargetimefactor 1 soldier 1
	setchargetimefactor 1 lieutenant 1
	setchargetimefactor 1 medic 1
	setchargetimefactor 1 engineer 1
	setchargetimefactor 1 covertops 1
	sethqstatus 1 0

	wm_announce	"Axis team has destroyed the Allied Command Post!"

	// *----------------------------------- vo ------------------------------------------*
	wm_addteamvoiceannounce 0 "axis_hq_compost_construct"

	wm_addteamvoiceannounce 1 "allies_hq_compost_construct"

	wm_teamvoiceannounce 0 "axis_hq_compost_construct"

	wm_teamvoiceannounce 1 "allies_hq_compost_damaged"
	// *---------------------------------------------------------------------------------*

}

}

axis_compost_built
{
spawn
{
wait 400
trigger axis_compost_built setup

	constructible_class 2
}

trigger setup
{
	setchargetimefactor 0 soldier 1
	setchargetimefactor 0 lieutenant 1
	setchargetimefactor 0 medic 1
	setchargetimefactor 0 engineer 1
	setchargetimefactor 0 covertops 1
	sethqstatus 0 0
}

buildstart final
{
	setstate axis_compost_built_model underconstruction
	setstate neutral_compost_closed_clip invisible
	setstate neutral_compost_closed_model invisible
}

built final
{
	setstate axis_compost_built_model default
	setstate neutral_compost_closed_clip invisible
	setstate neutral_compost_closed_model invisible

	trigger axis_compost_built_model enable_axis_features

	enablespeaker axis_compost_sound
}

decayed final
{
	setstate axis_compost_built_model invisible
	setstate neutral_compost_closed_clip default
	setstate neutral_compost_closed_model default
}

death
{
	setstate axis_compost_built_model invisible
	setstate neutral_compost_closed_clip default
	setstate neutral_compost_closed_model default

	trigger axis_compost_built_model disable_axis_features

	disablespeaker axis_compost_sound
}

}

axis_compost_built_model
{
spawn
{
wait 400
setstate axis_compost_built_model invisible
}

trigger enable_axis_features
{
	setchargetimefactor 0 soldier 0.75
	setchargetimefactor 0 lieutenant 0.75
	setchargetimefactor 0 medic 0.75
	setchargetimefactor 0 engineer 0.75
	setchargetimefactor 0 covertops 0.75
	sethqstatus 0 1

	wm_announce	"Axis Command Post constructed. Charge speed increased!"

	// *----------------------------------- vo ------------------------------------------*
	wm_teamvoiceannounce 0 "axis_hq_compost_constructed"

	wm_teamvoiceannounce 1 "allies_hq_compost_constructed_axis"

	wm_removeteamvoiceannounce 0 "axis_hq_compost_construct"
	// *---------------------------------------------------------------------------------*

}

trigger disable_axis_features
{
	setchargetimefactor 0 soldier 1
	setchargetimefactor 0 lieutenant 1
	setchargetimefactor 0 medic 1
	setchargetimefactor 0 engineer 1
	setchargetimefactor 0 covertops 1
	sethqstatus 0 0

	wm_announce	"Allied team has destroyed the Axis Command Post!"

	// *----------------------------------- vo ------------------------------------------*
	wm_addteamvoiceannounce 0 "axis_hq_compost_construct"

	wm_addteamvoiceannounce 1 "allies_hq_compost_construct"

	wm_teamvoiceannounce 0 "axis_hq_compost_damaged"

	wm_teamvoiceannounce 1 "allies_hq_compost_construct"
	// *---------------------------------------------------------------------------------*

}

}

  1. I don’t really learn much from reading. I was never a good reader. I failed the HSPT’s 3 times for the reading section. I am just too slow and when I get done reading a large article… I forget what the first 1/2 was about. But I am a good listener.
    I learn greatly by looking at other projects.
    So I was wondering… Does anyone know if there are any links or even any maps out there that contain everything you need to make maps.
    Like:
    Has anyone ever gone ahead and made a 100 maps about only 1 thing each.
    Meaning:
    1st map only being 2 rooms with a halway with a few lights.
    2nd map only being a map with a health and ammo cabinet in it.
    3rd with only a MG42 and / or a tower.
    4th with only a command post. ( I need :slight_smile: )
    5th with only have a contructable (class dont matter) ( I need also :slight_smile: )

Oh, and would be great if these maps were operable also. Being able to load them up and see what is going wrong is quiet helpful as you all know.

Having maps with a few things in them is great. Having the .map and pk3 is great.

And since I dont have a good internet connection (28.8k). I would love if someone has some of these individualized and would prolly help out a lot of people.

I know you are saying… well just read the tutorials. I have many times… I even have them ALL printed out (ouch on the ink and paper). But I know that a lot of newbies could learn a lot from these. I know that I would.


(Ifurita) #2

sounds like you need an arena file

http://www.planetwolfenstein.com/4newbies/limbo.htm


(Bondo) #3

oh sorry.
I do have a arena file

{
map “john”
longname “John Beta 1”
type “wolfmp wolfsw wolflms”
timelimit 30
axisRespawnTime 1
alliedRespawnTime 1
briefing “Testing 101”
mapposition_x 100
mapposition_y 100
}


(Ifurita) #4

Do you have a seperate mapping and playing environment? If so, is your map pk3 in your playing environment.

In any case, it sounds like you have several problems (map, command post, etc) but you’ve run it all together as one post. Try seperating your issues a bit


(nUllSkillZ) #5

There are several example maps on sock’s LDR site:
http://www.planetquake.com/simland/ldr1_1/