Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » adding Bots
How To Make Bots [message #44632] Mon, 01 September 2003 23:41 Go to previous messageGo to previous message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma:
General (3 Stars)
Yeah this was something that took me along time to get info on, but here's how its done.



Before starting any of this get your westwood directory and copy scripts.dll. Then goto your Renegade tools folder, and go into your level's file folder, should look like this:


C:\Program files\RenegadePublicTools\LevelEdit\<your mods name>



Inside that folder, next to ALWAYS PRESETS etc... Create a new folder named "scripts" inside that folder paste Scripts.dll, you will have to restart your leveleditor if you are doing this while its open.



Goto Your Presets tap,
goto:



Objects~Soldiers~Soldier_Presets



click any of the soldiers for my example im going to use the engineer




Highlight CnC_GDI_Engineer_0 (under GDI_Engineer_0)



Hit the temp button



Name this "Engineer_AI" or anything like that, add "_" instead of spaces, makes it more stable.



Click the option "Useinnatebehavior" Set them to the amount you would like your bots to act like.



Hit Ok



Now goto the preset Objects~Spawners Click the main Obect spawners tab, not anything under it, hit the temp button again.



Name this one "Engineer_AI_Spawn" or something like that. Goto the settings tab, set what team this is for, unteam will make it attack all teams.



Now Click "Pick Presets", Find your "Engineer_Ai" That you made before.

Now CLick the scripts tab, hit the add button at the bottom.
Select the script "M01_Base_Gdi_Minigunner_JDG" Hit OK


(*Note this is for a Gdi Bot, The nod Script for this is right above it "M01_Base_Nod_Minigunner_JDG")

(*Note This is a good script im sure someone knows one better, but this will do in most cases)

Nod to Create the bot you simply hit "Make", Be careful and look at the ground close to where you want the bot.


To Change the script or "Specs" Of a bot do on the Spawner preset that you just made, that way you wont have to go through your entire map and making the changes bot by bot.

(*Note The Aggressiveness and TakeCover Probability is under the Soldiers Preset you made, You CAN change it)


Export Your Mod, And Prepare for Bot Mania.



I Am Oblivion

[Updated on: Fri, 05 September 2003 09:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can max 5.1 .uvws ........
Next Topic: How to end game after killing 1 structure
Goto Forum:
  


Current Time: Sat Dec 14 04:40:14 MST 2024

Total time taken to generate the page: 0.00713 seconds