Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,103 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
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 Offline OP
Member
in_christ  Offline 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,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
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 Offline OP
Member
in_christ  Offline 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,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
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

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1