|
adding actor sounds to A5 templetes
#74803
05/19/06 22:11
05/19/06 22:11
|
Joined: Aug 2003
Posts: 293 indiana
in_christ
OP
Member
|
OP
Member
Joined: Aug 2003
Posts: 293
indiana
|
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.
JESUS LOVES YOU!!!
|
|
|
Re: adding actor sounds to A5 templetes
[Re: in_christ]
#74804
05/19/06 22:59
05/19/06 22:59
|
Joined: Aug 2003
Posts: 7,440 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,440
Red Dwarf
|
ent_playsound(me,"somesoundfile.wav",100);
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
Re: adding actor sounds to A5 templetes
[Re: Michael_Schwarz]
#74805
05/19/06 23:09
05/19/06 23:09
|
Joined: Aug 2003
Posts: 293 indiana
in_christ
OP
Member
|
OP
Member
Joined: Aug 2003
Posts: 293
indiana
|
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.
JESUS LOVES YOU!!!
|
|
|
Re: adding actor sounds to A5 templetes
[Re: in_christ]
#74806
05/19/06 23:13
05/19/06 23:13
|
Joined: Aug 2003
Posts: 7,440 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,440
Red Dwarf
|
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.
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|