Posts: 138
Threads: 6
Joined: Nov 2010
Reputation:
2
I got a Problem with xkmod live 1.0
I want to add some Bots:
Code: addBots()
{
for( ; ; )
{
botNum = 0;
players = level.players.size;
teams = [];
teams[0] = "allies";
teams[1] = "axis";
if( players <= 3 )
botNum = 4;
if( players == 4 )
botNum = 3;
if( players == 5 )
botNum = 2;
for( i = 0; i < botNum; i++ )
{
wait 2;
bot = AddTestClient();
bot.pers[ "isBot" ] = true;
bot thread maps\mp\gametypes\_bot::bot_spawn_think( teams[ randomInt( 2 ) ] );
}
wait 0.01;}
}
if 1player is on the server > spawn 5Bots and so on...
Works in standalone version and with other mods!
My problem is that i have to decrypt the mod.ff from xkmod live1.0 to modify the mod... But i cant get the other stuff of the mod working when i re-encrypt it again...
It seems that just the stuff of the _rank.gsc gets loaded and the other stuff not...
Added all files to mod.csv like this:
Code: rawfile,maps/mp/gametypes/_armor.gsc
rawfile,maps/mp/gametypes/_battlechatter_mp.gsc
rawfile,maps/mp/gametypes/_callbacksetup.gsc
rawfile,maps/mp/gametypes/_class.gsc
rawfile,maps/mp/gametypes/_copycat.gsc
rawfile,maps/mp/gametypes/_gameobjects.gsc
rawfile,maps/mp/gametypes/_globallogic.gsc
rawfile,maps/mp/gametypes/_globallogic_audio.gsc
rawfile,maps/mp/gametypes/_globallogic_defaults.gsc
rawfile,maps/mp/gametypes/_globallogic_player.gsc
rawfile,maps/mp/gametypes/_globallogic_score.gsc
rawfile,maps/mp/gametypes/_globallogic_spawn.gsc
rawfile,maps/mp/gametypes/_globallogic_ui.gsc
rawfile,maps/mp/gametypes/_globallogic_utils.gsc
rawfile,maps/mp/gametypes/_healthoverlay.gsc
rawfile,maps/mp/gametypes/_menus.gsc
rawfile,maps/mp/gametypes/_persistence.gsc
rawfile,maps/mp/gametypes/_quickmessages.gsc
rawfile,maps/mp/gametypes/_rank.gsc
rawfile,maps/mp/gametypes/_weapons.gsc
rawfile,maps/mp/gametypes/dem.gsc
rawfile,maps/mp/gametypes/dm.gsc
rawfile,maps/mp/gametypes/sd.gsc
rawfile,maps/mp/_flashgrenades.gsc
rawfile,maps/mp/_load.gsc
rawfile,maps/mp/_popups.gsc
rawfile,maps/mp/_smokegrenade.gsc
rawfile,maps/mp/mp_array.gsc
rawfile,maps/mp/mp_cairo.gsc
rawfile,maps/mp/mp_cosmodrome.gsc
rawfile,maps/mp/mp_cracked.gsc
rawfile,maps/mp/mp_crisis.gsc
rawfile,maps/mp/mp_duga.gsc
rawfile,maps/mp/mp_firingrange.gsc
rawfile,maps/mp/mp_hanoi.gsc
rawfile,maps/mp/mp_havoc.gsc
rawfile,maps/mp/mp_mountain.gsc
rawfile,maps/mp/mp_nuked.gsc
rawfile,maps/mp/mp_radiation.gsc
rawfile,maps/mp/mp_radiation_fx.gsc
rawfile,maps/mp/mp_russianbase.gsc
rawfile,maps/mp/mp_villa.gsc
rawfile,xkmod/_xkmod.gsc
rawfile,xkmod/classmenu.gsc
rawfile,xkmod/readyup.gsc
rawfile,xkmod/stratmode.gsc
rawfile,xkmod/timeout.gsc
rawfile,xkmod/xk_modes.gsc
rawfile,xkmod/rules/comp.gsc
How can i re-encrypt the mod so that it works again ?
Posts: 1,830
Threads: 104
Joined: Jan 2011
Reputation:
46
09-09-2011, 17:55
(This post was last modified: 09-09-2011, 17:55 by iAegle.)
Competitive mod + bots = epic fail?
also, just add the modified file in a .iwd file
Posts: 138
Threads: 6
Joined: Nov 2010
Reputation:
2
09-09-2011, 17:57
(This post was last modified: 09-09-2011, 18:06 by prisma.)
(09-09-2011, 17:55)iAegle Wrote: Competitive mod + bots = epic fail?
also, just add the modified file in a .iwd file
How ? Just a new .iwd with a folder like "Botmod" and the new .gsc inside it ?
And do i have to call them inside the mod.csv ?
Posts: 1,830
Threads: 104
Joined: Jan 2011
Reputation:
46
09-09-2011, 18:05
(This post was last modified: 09-09-2011, 18:06 by iAegle.)
(09-09-2011, 17:57)prisma Wrote: (09-09-2011, 17:55)iAegle Wrote: Competitive mod + bots = epic fail?
also, just add the modified file in a .iwd file
How ? Just a new .iwd with a folder like "Botmod" and the new .gsc inside it ?
No .. you ripped a file from xkmod and modified it right? just make a new iwd with that file in it in the right folder
Posts: 2,510
Threads: 96
Joined: Nov 2010
Reputation:
38
He wants to make his server more popular by more "players". I have seen a lot of servers doing this, including servers with 31/32 where 28 of them were bots.
Now about the mod, the mod is encrypted for a reason. It is encrypted to prevent people from editing it. If you want to make it to have bots, you can contact the maker, he is on our forum. @ XeroK
Posts: 138
Threads: 6
Joined: Nov 2010
Reputation:
2
(09-09-2011, 18:06)surtek Wrote: He wants to make his server more popular by more "players". I have seen a lot of servers doing this, including servers with 31/32 where 28 of them were bots.
Now about the mod, the mod is encrypted for a reason. It is encrypted to prevent people from editing it. If you want to make it to have bots, you can contact the maker, he is on our forum. @XeroK
I know that he's here... But he didnt release any update since 8. August so i decided to try it myself.
@ iAegle tried your method... Added the ripped & modified _rank.gsc to mp_xKMod.iwd (clientscripts/mp/gametypes/_rank.gsc)
Posts: 1,830
Threads: 104
Joined: Jan 2011
Reputation:
46
(09-09-2011, 18:23)prisma Wrote: (09-09-2011, 18:06)surtek Wrote: He wants to make his server more popular by more "players". I have seen a lot of servers doing this, including servers with 31/32 where 28 of them were bots.
Now about the mod, the mod is encrypted for a reason. It is encrypted to prevent people from editing it. If you want to make it to have bots, you can contact the maker, he is on our forum. @XeroK
I know that he's here... But he didnt release any update since 8. August so i decided to try it myself.
@iAegle tried your method... Added the ripped & modified _rank.gsc to mp_xKMod.iwd (clientscripts/mp/gametypes/_rank.gsc)
lol wut clientscripts?
maps\mp\gametypes\_rank.gsc
Posts: 5,135
Threads: 241
Joined: Nov 2010
Reputation:
100
(09-09-2011, 18:23)prisma Wrote: (09-09-2011, 18:06)surtek Wrote: He wants to make his server more popular by more "players". I have seen a lot of servers doing this, including servers with 31/32 where 28 of them were bots.
Now about the mod, the mod is encrypted for a reason. It is encrypted to prevent people from editing it. If you want to make it to have bots, you can contact the maker, he is on our forum. @XeroK
I know that he's here... But he didnt release any update since 8. August so i decided to try it myself.
@iAegle tried your method... Added the ripped & modified _rank.gsc to mp_xKMod.iwd (clientscripts/mp/gametypes/_rank.gsc)
lol you should add it to maps/mp/gametypes/_rank.gsc
clientscript/ is for clientscripts (duh)
Posts: 138
Threads: 6
Joined: Nov 2010
Reputation:
2
Did what @ Pozzuh and @ iAegle said but when i load the mod Black ops crashes without any error message...
i load the mod > black screen and crash
no menu or something...
|