Page 1 of 1

Dedicated server scripting [Solved]

Posted: Sat Feb 05, 2011 2:45 pm
by Dakota
ok i have a dedicated server for dueling but i want gunners to die (maybe aayla too :D) and no force stuff how do i do all this can u tell me what a need and give some tutorials (i read the 1.3 docs already :( ) i need help please and soon :?

Re: Dedicated server scirpting

Posted: Sat Feb 05, 2011 3:31 pm
by fasty

Re: Dedicated server scirpting

Posted: Sat Feb 05, 2011 4:28 pm
by Dakota
wow it was that easy O_O i was doing it the hard way like in the tutorial (ooh my custom smily)

ok so i tested it and now there are no cps i wonder how...

Re: Dedicated server scirpting

Posted: Sat Feb 05, 2011 7:41 pm
by fasty
You must of missed a step. Did you add all the map names (example: cor1g_con) to your mission.req? What are you adding to your lua exactly?

Re: Dedicated server scirpting

Posted: Sat Feb 05, 2011 8:03 pm
by Dakota
fasty wrote:You must of missed a step. Did you add all the map names (example: cor1g_con) to your mission.req? What are you adding to your lua exactly?
i read this part from that link :
"
How its done with the mod tools:
1) Make a new map and delete all the lua files for it.
2) Go into the assets and get all the luas of all the stock maps you want in your server.
3) Put them into your new maps common/scripts/abc folder and make changes to them (add the code I mentioned).
4) Add the three letter names of the stock maps you're adding in the mission.req in data_abc/common.
5) Munge with common checked then go into your munged maps folder and copy the mission.lvl
6) Paste it in your servers files C:\Program Files (x86)\LucasArts\Star Wars Battlefront II PC Server\data\_LVL_PC
If you want to see this in action go join the Gamerz Hero FFA|NoForce/Guns server and see for yourself."

i guess i should re read since that part only talks of luas. anyway i am making a hero server with instant death gunners and no force for duels because u can't duel in the gamerz one with all the rk :shock:

EDIT: back from re read i found a thing i did wrong i am testing now coming back with resaults later.

Resaults: ok the gunners die but the heros crash because i set there force powers to be "" in this SetClassProperty("imp_hero_emperor","WeaponName2","")

Re: Dedicated server scirpting

Posted: Sat Feb 05, 2011 8:19 pm
by fasty
You have to edit the force powers in the sides/common/odf. Make them do 0 damage or have 0 range.

Re: Dedicated server scirpting

Posted: Sat Feb 05, 2011 8:20 pm
by Dakota
fasty wrote:You have to edit the force powers in the sides/common/odf. Make them do 0 damage or have 0 range.
that helps thanks :D

well i guess i'll just add this is: SOLVED