new mapper that needs help!


(metho) #1

yea i just started makeing my own map about a 3 weeks ago everything was going good intill i had to make a script :???: i look at some script other mappers made and started to make my own i have this gate that i made func_exsplosive i did everything i mad the trigger link them togather and made the script_mulitplayer thing i add all the right values and everything but still can’t get my gate to blow if anybody could plz help i would be so thankful
{here is what i have}
(script)
game_manager
{
spawn
{
}

}

frontdoor
{
spawn
{
destructible_class 3
}
death
{
wm_announce “allies have breached the front gate!!”
setstate frontdoor invisible
}
}


(Ifurita) #2

do you have a script_multiplayer?


(metho) #3

yes but it still won’t blow the gate i think that the game isn’t ready my script that i made i have the script save as alamo.SCRIPT alamo being the name of the map 9i had renamed it from alamo to alamo.SCRIPT


(EB) #4

use this to compare…it is a simple block scripted for destruction by axis>> download


(metho) #5

eb i think the link is broken is there another one and also when i test the map it has the track value and it say dynomite planted at gate but when it blows it does notheing and in the tilt window it say something like g_script_notfound unknown event spawn and unknown event dynomited


(nUllSkillZ) #6

I think you should have some wait actions in your spawn script blocks.
Try wait 100.


(EB) #7

the link works fine…you need to save the file.

Your script says “destructible” it should say “constructible”

frontdoor
{
spawn
{
constructible_class 3
}
death
{
wm_announce “allies have breached the front gate!!”
setstate frontdoor invisible
}
}


(metho) #8

ah thax guys it works great! o and also i have a ? how can i have more then one destrucible script working at the same time how would i go about doing this. thanx again for the help guys
(script)
game_manager
{
spawn
{
}
}
frontdoor
{
spawn
{
wait 200
constructible_class 3
}
death
{
wm_announce “allies have breached the front gate!!”
}
}

/////////////////////////////////////////////////

spawn
{
}
}
radar
{
Spawn
{
wait 200
constructible_class 3
}
death
{
wm_announce “allies have destoryed the radar!!”
}
}
//////////////////////////////////////////////////////////////////

this is my script that i have now i have 2 objectives in my map one to blow the gate the other to blow the radar i want both to work in the same script but for some reason i can’t get them to work to gather i can get the frontdoor script to work just fine by itself
if any one could help me plz!


(EB) #9

If you re-phrase the question to help me understand the situation better…then I will help you out.


(nUllSkillZ) #10

One spawn with some brackets too much and one typing mistake (Spawn instead of spawn, not sure if it’s relevant).
Also try to format your script a little bit.
And if you post please use the code tags.
That one should work:


game_manager
{
	spawn
	{
		wait 200
	}
}

frontdoor
{
	spawn
	{
		wait 200
		constructible_class 3
	}

	death
	{
		wm_announce "allies have breached the front gate!!"
	}
}

radar
{
	spawn
	{
		wait 200
		constructible_class 3
	}
	death
	{
		wm_announce "allies have destoryed the radar!!"
	}
} 


(metho) #11

man u guys are great i thank you guys for all the help and tuts u guys put up to help us new mappers out keep up the good work guys!