Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.1 Plugin] AI Dialogue
[SSGM 4.1 Plugin] AI Dialogue [message #487406] Tue, 29 April 2014 06:48 Go to previous message
Neijwiert is currently offline  Neijwiert
Messages: 124
Registered: October 2009
Karma:
Recruit
This code was written by me some time ago and I never really used it. Now I will release it.

Basicly what this plugin does, it adds a script called 'AI_Dialogue'. You attach this script to a soldier bot and it will enable their voices (their conversations defined in their presets) in multiplayer.

It does not automaticly add the scripts to all soldier bots, due to flexibility.

So for example if you were to go into LE to the preset 'GDI_MiniGunner_1Off' and click modify. If you then go to the Dialogue tab you can see several conversations that need to be executed at a certain event. The plugin takes note of the silence weights and the weights per sound-event.

If you do however add custom converstaions (not sure if that would work server-side though) then you have to use the logical naming westwood uses. The conversation names are exactly the same except it doesn't have the .wav extension.

It has to follow that logic or else my plugin will fail, becouse i have yet to find a way to find the wav file that corresponds with the conversation.

Attached is the source code and the dll file.

EDIT: Feel free to do whatever you like as long as you put some credits in the code i suppose.

[Updated on: Tue, 29 July 2014 05:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: LevelRedit, a .mix to .lvl converter!
Next Topic: Tiberium Crystal War 2 Test Client
Goto Forum:
  


Current Time: Sat Apr 20 03:11:21 MST 2024

Total time taken to generate the page: 0.00807 seconds