Dedicated server scripting [Solved]
Moderator: Moderators
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Dedicated server scripting [Solved]
ok i have a dedicated server for dueling but i want gunners to die (maybe aayla too
) 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 
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Dedicated server scirpting
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...
ok so i tested it and now there are no cps i wonder how...
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Dedicated server scirpting
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?
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Dedicated server scirpting
i read this part from that link :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?
"
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
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","")
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Dedicated server scirpting
You have to edit the force powers in the sides/common/odf. Make them do 0 damage or have 0 range.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Dedicated server scirpting
that helps thanksfasty wrote:You have to edit the force powers in the sides/common/odf. Make them do 0 damage or have 0 range.
well i guess i'll just add this is: SOLVED
