Page 1 of 1

battery .script

Posted: Sat Mar 22, 2008 1:42 am
by crazyfrag
i feel a litte strange 4 asking so much XD


so now my answer:-)

i want to have a battery.script :

1. allies spawn at beginnin @ west.bunker flag removed
2. axis inside
3. asault ramp already built on beginning!
:-)

thx :-)

Posted: Sat Mar 22, 2008 9:28 am
by crazyfrag
is this possible?

Posted: Sat Mar 22, 2008 11:16 am
by McSteve
Only if you do it yourself to be honest. Map-scripting is a bit fiddly, and spawn-points can be a right pain in the ass (I thought so anyway). Unless one of the veterans is feeling a bit bored, you may not get any takers.

Posted: Sun Mar 23, 2008 5:35 am
by crazyfrag
:'( buuhuuu^^

Posted: Sun Mar 23, 2008 8:28 am
by mortis
Yes, all of the requested changes are possible.

Posted: Sun Mar 23, 2008 8:46 am
by crazyfrag
i know now XD and i've read the wiki but its complicated where do i get this position codes? and so on...

Posted: Sun Mar 23, 2008 11:26 am
by crazyfrag
how does this funciotn?
trigger flag to allies
and make invisible
thats all
assaultramp doesnt matter

Posted: Sun Mar 23, 2008 11:46 am
by dutchmeat
you can use the /where command to get the position. and here are some tutorials on mapscripting:

http://tramdesign.planetwolfenstein.gam ... urces.html

Posted: Wed Mar 26, 2008 12:43 pm
by crazyfrag
puh this is too hard 4 me i dont get anything to work :-(

Posted: Thu Mar 27, 2008 9:57 am
by mortis
Look at some of my scripts here:

http://bani.anime.net/banimod/forums/vi ... 32&start=0

First try creating new spawn points, and learn that scripting.

If you can manage that, then we can move on to some additional steps.

Posted: Fri Mar 28, 2008 4:05 am
by crazyfrag
ok i got it workin now :-) thanx to u

Posted: Fri Mar 28, 2008 12:20 pm
by mortis
I'd have to peruse the battery script more closely, but essentially you'll need to clone part of the capturable spawn in oasis into your battery script, forcing the flag allied. Or else you can simply remove that flag and the corresponding axis spawn points, and create a new TWO to work with the existing allied spawn points, or something along those lines. There are various way to achieve what you want.

Posted: Sat Mar 29, 2008 12:18 am
by crazyfrag
well i have created new allied spwan point in the west bunker

removed the two on the beach

autospawn new bunkerspawn 4 allies

and main bunker for axis

wenn allies capture set flag to invisible

and it works ^^

Posted: Sat Mar 29, 2008 7:14 am
by Ragnar_40k
You could have used the Allied LMS spawns instead of creating new ones. Though they are not located inside the West Bunker, but between the West Bunker and the entrance to the main bunker.

Posted: Mon Mar 31, 2008 8:56 am
by mortis
Yes, I had forgotten that the LMS mode scripts are a treasure trove of info for making changes!