Hi,
as mentioned in the topic I am looking for a way to create an AI only class. I want it to work in mp, without crashing clients. Is this possible?
How can I create an Ai only class working online?
Moderator: Moderators
-
- Recruit Womprat Killer
- Posts: 12
- Joined: Sun Feb 17, 2019 5:55 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
- Gametoast Staff
- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: How can I create an Ai only class working online?
You could put this unit class on an allied team, or you could set its PointsToUnlock to an incredibly high value.
-
- Jedi
- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: How can I create an Ai only class working online?
Create a local side that is allied to your team. they will spawn on the map and you wont be able to spawn as them. The How to is in the FAQ
-
- Recruit Womprat Killer
- Posts: 12
- Joined: Sun Feb 17, 2019 5:55 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How can I create an Ai only class working online?
Cool thank you! When I put these changes into the mission.lvl of a server only. Will clients be able to play on it without this mission.lvl file?
E.G. could I spawn ewoks on coruscant, fighting for the republic? I think it would fail, since the files for the ewoks are not loaded by the client.
E.G. could I spawn ewoks on coruscant, fighting for the republic? I think it would fail, since the files for the ewoks are not loaded by the client.
- Kingpin
- Jedi
- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Re: How can I create an Ai only class working online?
Try running it on a dedicated server. We've loaded changed LUAs for Mos Eisley to have instant-heal droids and what not, and if you're using stock sides, it should work online. No promises though
- AnthonyBF2
- Sith
- Posts: 1254
- Joined: Wed Aug 21, 2013 3:55 pm
- Projects :: PS2+PSP Overhaul
Re: How can I create an Ai only class working online?
Nope. Not to toot my own horn here, but I think I have the most server-side modding experience. I can absolutely guarantee that loading new classes into a mission will definitely crash the clients - as the data isn't being loaded onto their clients.
The best thing you can do is switch around classes that are already loaded within a mission.
An example of this would be changing SetHeroClass in Jabba's Palace to gam_inf_gamorreanguard. This would allow anyone who joins, who unlocks the hero, to play as Gamorreans - because Gamorreans already exist in the host & client.
Making sense?
The best thing you can do is switch around classes that are already loaded within a mission.
An example of this would be changing SetHeroClass in Jabba's Palace to gam_inf_gamorreanguard. This would allow anyone who joins, who unlocks the hero, to play as Gamorreans - because Gamorreans already exist in the host & client.
Making sense?