adding actor sounds to A5 templetes

Posted By: in_christ

adding actor sounds to A5 templetes - 05/19/06 22:11

I want to add sounds for my enemy actors in my A5 templetes, Sounds for attacks
,sounds for patroling and other things. Can someone give me an example how to
Add sounds to the actor_fight , Actor_patrol? Or at least lead me to a good tut
for adding sounds for actor behaviors. I use A5 pro 5.52.0 remember thank you.
Posted By: Michael_Schwarz

Re: adding actor sounds to A5 templetes - 05/19/06 22:59

ent_playsound(me,"somesoundfile.wav",100);
Posted By: in_christ

Re: adding actor sounds to A5 templetes - 05/19/06 23:09

thank you for the reply , I see how this works, But what if i want different
sounds to play during different states. Like patroling, Attacking or dieing?
I stink at scripting But with a good example or tut I could get a hold on this.
Thanks for the help.
Posted By: Michael_Schwarz

Re: adding actor sounds to A5 templetes - 05/19/06 23:13

as far as i can remember, the actors in A5 had different states, but I cant recall them now. anyhow the A5 templates.. wait! any templates are total MESSY, it would take you a sh*tload of work to integrate all that in the template scripts.

The best way is to start scripting your own game from ground off. It is hard in the beginning, but you'll learn a lot and it will get you forward a big step.
And just to help you with your first function, to make you able to actually load the level, take this:

function main
{
level_load("levelname.wmb");
}

this should be the base for all your scripts.

I could try to look through the old A5 templates now and tell you how to implement that inside there, but honestly, it wouldn't be worth it.
© 2024 lite-C Forums