Jump to content
Sign in to follow this  
can1.111

Bots in Tdm hinzufügen

Recommended Posts

hi alle

Ich kenne da eine Web: www.serversidemodding.com

Da kann man verschiedene sachen machen

Irgendwo steht auf Englisch

OK, check this out... i'll be using Kursk TDM as an example:

in the tdm.con file, add "run ai v_arg1" right before you run objectspawns.con so it looks like this:

Code:

run tdm/SpawnpointManagerSettings

run tdm/SoldierSpawnTemplates

run tdm/SoldierSpawns

run tdm/ObjectSpawnTemplates

run tdm/ControlPointTemplates

if v_arg1 == host

run ai v_arg1

run tdm/ObjectSpawns

run tdm/ControlPoints

else

endIf

then, in the file AI.con, you need to add two lines at the top:

Code:

run AI/AIdefault.con v_arg1

run AI/AIbehaviours.con v_arg1

If your map doesn't have an AI.con, then check in the cherry BF version of the map (if this is a mod that just doesn't have the AI.con, then that means noone has made a coop version of the map... go make one!!)

Now, open the game.rfa of either your mod or from cherry BF. your looking for two files and a directory with 4 files. They are:

Bf1942/Game/AIdefault.con

Bf1942/Game/AIbehaviours.con

Bf1942/Game/AI/Strategies.con

Bf1942/Game/AI/radio.con

Bf1942/Game/AI/prerequisites.con

Bf1942/Game/AI/conditions.con

Extract all of these and put them (keeping the same directory structure) in your map RFA.

For example, now in my kursk map, i have:

Bf1942/levels/Kurks/AI/AIdefault.con

Bf1942/levels/Kurks/AI/AIbehaviours.con

Bf1942/levels/Kurks/AI/conditions.con

Bf1942/levels/Kurks/AI/prerequisites.con

Bf1942/levels/Kurks/AI/StrategicAreas.con

Bf1942/levels/Kurks/AI/Strategies.con

Bf1942/levels/Kurks/AI/AI/Strategies.con

Bf1942/levels/Kurks/AI/AI/radio.con

Bf1942/levels/Kurks/AI/AI/prerequisites.con

Bf1942/levels/Kurks/AI/AI/conditions.con

This will get bots in the map, but they wont do anything, and that's because the weapons their holding have no AI stuff on them (for some reason, if you dont run COOP, they dont get run).

Just include the AI files for any weapons you have in any of your kits. For this modded version of Kursk, i have no vehicles and sniper kits only, so here's what i needed (put this at the end of TDM.con, or Conquest.con for CQ mode):

Code:

rem you need these two no matter what

include ../../../../../objects/items/basekit/ai/objects.con

include ../../../../../objects/soldiers/common/AI/Objects.con

rem include all weapons:

include ../../../../../objects/HandWeapons/EliteKnife/AI/Weapons.con

include ../../../../../objects/HandWeapons/Tabuk/AI/Weapons.con

include ../../../../../objects/HandWeapons/KnifeAllies/AI/Weapons.con

include ../../../../../objects/HandWeapons/M82/AI/Weapons.con

include ../../../../../objects/HandWeapons/M25/AI/Weapons.con

include ../../../../../objects/HandWeapons/Browninghipo/AI/Weapons.con

include ../../../../../objects/HandWeapons/KnifeAxis/AI/Weapons.con

include ../../../../../objects/HandWeapons/GrenadeAllies/AI/Weapons.con

include ../../../../../objects/HandWeapons/M9_beretta/AI/Weapons.con

Kann mir da jemand eine andere Web mit deutscher übersetzung zeigen, oder vielleicht auch übersetzen?

MFG

Can

Share this post


Link to post
Share on other sites

Wenn du das bisschen nicht verstehst, dann kann ich dir auch nicht helfen, soviel

englisch ist mit der USK von 16 jahren vorauszusetzen. Wenn man schon früher anfängt

(was ich ja auch gemacht habe), dann soll man sich das wenigstens selber erarbeiten.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.