Jump to content
Official BF Editor Forums

Memphis_eu

Members
  • Content Count

    7
  • Joined

  • Last visited

Posts posted by Memphis_eu


  1. You could write some code for on the first time the server starts, it reduces the number of tickets of both teams to zero... once the game starts

    the game will end, and load the next map, and then your bots will supposedly work.

    You would have to do it only tho for the first game, with some code logic similar to this...

    global firsttimegamerun

    if firsttimegamerun = 0:

    reduce tickets of both teams to zero

    firsttimegamerun = 1

    Running a server via the game client is kind of a werid way to do things (to get the bots), I'm not sure how you are getting it to restart the game if it crashes... I'd probably do it with a AutoKey recorder type program that ran a script handed off from a process monitor program, that simulated mouse clicks and key presses to navigate the menus or do what needed to be done, I don't see how you could do it with BF2CC.

    Thank you for trying to help me out but where do i have to use this exactly im phyton noob....:)


  2. bots are bots. bots can't use TV-guided. use a different targeting system.

    rem *** Weaponory ***

    rem * Rockets*

    weaponTemplate.create AHE_AH1Z_Rockets

    WeaponTemplate.WeaponFire PIAltFire

    WeaponTemplate.Weaponactivate PIWeaponselect1

    WeaponTemplate.WeaponFire PIFire

    weaponTemplate.indirect 0

    weaponTemplate.minRange 5.0

    weaponTemplate.maxRange 200.0

    weaponTemplate.setStrength Infantry 4.0

    weaponTemplate.setStrength LightArmour 6.0

    weaponTemplate.setStrength HeavyArmour 3.0

    weaponTemplate.setStrength NavalArmour 0.0

    weaponTemplate.setStrength Helicopter 5.0

    weaponTemplate.setStrength Airplane 9.0

    WeaponTemplate.WeaponFire PIAltFire

    weaponTemplate.fireRate 100

    weaponTemplate.allowedDeviation 4.0

    weaponTemplate.create AHE_AH1Z_Gun

    weaponTemplate.indirect 0

    weaponTemplate.minRange 5.0

    weaponTemplate.maxRange 200.0

    weaponTemplate.setStrength Infantry 10.0

    weaponTemplate.setStrength LightArmour 4.0

    weaponTemplate.setStrength HeavyArmour 2.0

    weaponTemplate.setStrength NavalArmour 0.0

    weaponTemplate.setStrength Helicopter 20.0

    weaponTemplate.setStrength Airplane 1.0

    WeaponTemplate.WeaponFire PIAltFire

    weaponTemplate.allowedDeviation 5.0

    rem * Laser guided *

    weaponTemplate.create RUAIR_SU34Kedge

    rem WeaponTemplate.WeaponActivate PIMenuSelect2

    rem WeaponTemplate.WeaponActivate PIAltFire

    rem WeaponTemplate.WeaponFire PIFire

    weaponTemplate.indirect 0

    weaponTemplate.minRange 30.0

    weaponTemplate.maxRange 500.0

    weaponTemplate.setStrength Infantry 0.0

    weaponTemplate.setStrength LightArmour 6.0

    weaponTemplate.setStrength HeavyArmour 6.0

    weaponTemplate.setStrength NavalArmour 3.0

    weaponTemplate.setStrength Helicopter 3.0

    weaponTemplate.setStrength Airplane 3.0

    weaponTemplate.allowedDeviation 15.0

    ok ive tryed this but they still dont use the laser can u help me out


  3. Can some one help me?

    i have bf2 demo server with bots, i use bf2cc if the server crash the server will auto restart thats fine, but i need to reload the level every time it crashes, or the bots wont do anything.

    So can some one help me to get bf2cc or another code to auto run next level if server crash?

    Thank you

    Memphis

    www.battlefieldmasters.nl

×
×
  • Create New...