Jump to content

Home

Forces in MP


chevap

Recommended Posts

Posted

I would like to somehow have all forces set to 3. level in multiplayer, but bots wouldn`t be altered. I know that cheat "setforceall 3" doesn`t work in MP, so the only way to do this is to alter the game- make MOD.

I am not good at this, since I have never made mods for Q3 engine - including JK2. (I have been only doing mods for BG1, BG2, Morrowind).

So, if someone could help me I would be very happy.

Posted

well

the best place to code this is the ClientSpawn (or was it SpawnClient) function

if you make changes there, it can make you spawn with all forces, dark, light, whatever on lvl3

Posted

maybe something like...

 

while (i < NUM_FORCE_POWERS)

 

{

 

client->ps.fd.forcePowerBaseLevel = client->ps.fd.forcePowerLevel;

client->ps.fd.forcePowerLevel = FORCE_LEVEL_3;

client->ps.fd.forcePowersKnown |= (1 << i);

 

i++;

}

 

or with a for...

Posted

exactly...and putting it into the clientspawn function

this would be unfair on no-force/force partly disabled server tho...better incorporate checks for it

Posted

Ok, thank you guys, but I REALY have no idea about scripting the Q3 engine. So please make this mod for me (I bet that it won`t take you more than 5 mins) and send it to my e-mail. I would like to thank you for your support.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...