edzits Posted October 23, 2009 Share Posted October 23, 2009 Hey,im new to MTA Server managmenting,and i recently made some maps and upgraded my server with some nice resources,but i cant figure out a basic thing.How do i make the spawns in tdm(red vs blue) to be like this:Red team spawns in their HQ,and Blue team in theirs.Currently,they spawn randomly on one of the spawnpoints i made. Link to comment
subenji99 Posted October 23, 2009 Share Posted October 23, 2009 In the editor, with the TDM definition loaded, I think the spawnpoints have a "team" property (F3) where you set a corresponding team element. Link to comment
edzits Posted October 23, 2009 Author Share Posted October 23, 2009 Searched the whole spawnpoint menu with F3.Cant find anything on team. EDIT:I checked out some other gamemodes,and for example CTF has this ''team" thing,where you create the team(Color,name ect.) and then when you create the spawnpoint,you can choose for which team is it. Link to comment
edzits Posted October 24, 2009 Author Share Posted October 24, 2009 *bump*?I would be grateful to know how to make solid spawns in TDM. Link to comment
Dark Dragon Posted October 24, 2009 Share Posted October 24, 2009 tdm is just not supposed to do so, use tdma instead Link to comment
edzits Posted October 24, 2009 Author Share Posted October 24, 2009 Hmm i see,but TDMA doesnt have any definitions,or should i somehow what use the TDM spawnpoints? Link to comment
Dark Dragon Posted October 24, 2009 Share Posted October 24, 2009 uhm well, didn't know about that. someone should probably create an edf file for tdma then i think unless someone creates an edf you'll have to manually edit the .map file Link to comment
edzits Posted October 24, 2009 Author Share Posted October 24, 2009 Alright,i opened the .map file,i see all the props i made and spawnpoints.What should i do there to get the teams straight?Red spawns in that place,and blue in the other one?? Link to comment
Dark Dragon Posted October 24, 2009 Share Posted October 24, 2009 most tdma-maps have a syntax like this <base team="Police" red="0" green="0" blue="255" > <weapon model="3" ammo="1"/> <weapon model="23" ammo="60"/> <weapon model="31" ammo="500"/> <weapon model="29" ammo="300"/> <weapon model="34" ammo="15"/> <skin model="285"/> <skin model="286"/> <skin model="287"/> <spawn posX="974.30" posY="-761.07" posZ="112.06" rot="124" randx="5" randy="5" randz="0"/> </base> <base team="Terrorist" red="255" green="0" blue="0" > <weapon model="5" ammo="1"/> <weapon model="24" ammo="20"/> <weapon model="30" ammo="500"/> <weapon model="28" ammo="300"/> <weapon model="34" ammo="15"/> <skin model="121"/> <skin model="111"/> <skin model="124"/> <spawn posX="866.911" posY="-861.42" posZ="77.48" rot="356" randx="5" randy="5" randz="0"/> </base> looking at this you should be able to figure out how to make them work correctly. pickups, objects, vehicles and markers should work without any changes (the rand x y z values in "spawn" mean how many units the spawn points can vary, this is useful cause it will prevent the massive spawn at the beginning to be all in the same spot and everyone is stuck) Link to comment
edzits Posted October 24, 2009 Author Share Posted October 24, 2009 Thanks!I will try it now,hope it works out! EDIT:Hey uhm,this might be strange,but where do i put the code you posted? EDIT2:I figured it out,the BASE code has to be in the .map file.Now that i know how to make solid spawn points,i noticed a new isue. The player is automaticly moved to one of the teams.No choice.How do i edit that? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now