Dedicated server scripting [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Dedicated server scripting [Solved]

Post 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 :?
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: Dedicated server scirpting

Post by fasty »

User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Dedicated server scirpting

Post 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...
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: Dedicated server scirpting

Post 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?
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Dedicated server scirpting

Post 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","")
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: Dedicated server scirpting

Post by fasty »

You have to edit the force powers in the sides/common/odf. Make them do 0 damage or have 0 range.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Dedicated server scirpting

Post 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
Post Reply