You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
Welcome! You are not logged in. Please Login or Register.16 replies
Age of Kings Heaven » Forums » Scenario Design and Discussion » Err... Sorry.. I need more help.
Bottom
Topic Subject:Err... Sorry.. I need more help.
Ziko
Squire
posted 04-27-06 08:59 PM CT (US)         
I am terribly sorry, I will be sure to test things out on my own and read some FAQ's..
Well anyway, sorry New Idea, and the rest.

My problem is this.
I'm making an RPG kinda scenario, it's working fine.
I've made it so that deer,wolves,horses ect. respawn.
I did it like this:

Trigger0
Display objective: No
Starting State: On
Trigger Looping: Off
------------------------
Condition0: Destroy Object
Condition1: Timer =40 (So the deer respawns at this speed)
Effect0: Create Object =Deer
========================
Now I wanted to get some food from the deer I killed so I had done this.

Trigger1
Display Objective: No
Starting State: On
Trigger Looping: Off
------------------------
Condition0: Destroy Object
Effect0: Activate Trigger2
========================
Trigger2
Display Objective: No
Starting State: No
Trigger Looping: No
------------------------
Effect0: Display Instructions: -Obtained 2 pieces of meat-
Effect1: Tribute: Player1 to Player5 =-2

Now i'm stuck, because I want to get food each time I kill a deer.
Now If I kill a deer and it respawns and I kill it again, I won't obtain any food.
Is there a way so that I can get food from a deer everytime I kill it?
(PS: I'm using a warrior, no villagers or anything.)


I've had an Idea to take off the Timer in Trigger0 and then
put the Tribute and Display Insructions into Trigger0 but then I want the deer to respawn every 40 seconds...

I've then had another idea about objects in area, I think,
so I place a the area around the whole map but that would take too long.

Does anyone have a solution?

AuthorReplies:
newIdea
Illuminator
posted 04-27-06 09:43 PM CT (US)     1 / 16       
When a unit "respawns" it doesn't make an exact copy of that unit. You use the "Create Object" effect to create a new object. So the only way to use a "Destroy Object" condition, is to use it on an object that is on the map in the editor.

If it is important that you need them to be created, and not be there from the start, you might want to check out this thread. It can help you make objects appear to be created in-game, only they're not. They are there from the start, so you can use the "Destroy Objects" condition on them.

- nI




dannyking.me


[This message has been edited by newIdea (edited 04-27-2006 @ 09:46 PM).]

Ziko
Squire
posted 04-27-06 09:49 PM CT (US)     2 / 16       
Ah.. I see, well once again, thanks newIdea! Ugh, I need to figure out how to create smiley faces...

"When a unit "respawns" it doesn't make an exact copy of that unit. You use the "Create Object" effect to create a new object. So the only way to use a "Destroy Object" condition, is to use it on an object that is on the map in the editor" uh sorry, i'm not sure how to qoute, anyway, I pretty much knew that from the start, and I was trieing to find a solution on how to create objects when they aren't already there.

But then wouldn't I have to repeat creating that object that won't be in the game?
Sorry I can't think right at night. (that rhymed lol...)

Anyway, I'll check out that page you introduced to me.

[This message has been edited by Ziko (edited 04-27-2006 @ 09:55 PM).]

Cesar Bernardi
Squire
posted 04-27-06 10:01 PM CT (US)     3 / 16       
You can use the condition "Own Fewer Objects". Though I don't think it works very well for GAIA units.
Ziko
Squire
posted 04-28-06 05:41 PM CT (US)     4 / 16       
Hey newIdea, I was just wondering if AOKTS worked for Age of empires Conquerors, because I had made the scenario on conquerors...
Cesar Bernardi
Squire
posted 04-28-06 05:47 PM CT (US)     5 / 16       
Yes it does.
Ziko
Squire
posted 05-02-06 09:44 PM CT (US)     6 / 16       
Hey newIdea, I'm kind of not following that cloaking stuff... well I sort of do... Um, may you show me an example of creating a unit when their not actually there?
Sorry, thanks.
newIdea
Illuminator
posted 05-02-06 09:47 PM CT (US)     7 / 16       
Well, I was making a utility for it, but I messed up. So I'll have to start over.

If you give me your email I'd be glad to make you something small.




dannyking.me


Ziko
Squire
posted 05-02-06 09:48 PM CT (US)     8 / 16       
Heh, your too awesome to be true!

Erm.. Sorry for the "hell" and stuff in it, anyhow
my email is: Hell_Chronicle@hotmail.com

your da bomb!

[This message has been edited by Ziko (edited 05-02-2006 @ 09:50 PM).]

newIdea
Illuminator
posted 05-02-06 10:18 PM CT (US)     9 / 16       
Scenario made and sent.



dannyking.me


Ziko
Squire
posted 05-02-06 10:26 PM CT (US)     10 / 16       
Yep! Recieved it and it's pretty clear to me now. Wish you we're my brother Well.. about time for me to go to bed, nighty night everyone!

PS: Any reason for the scenery with the tree's?

[This message has been edited by Ziko (edited 05-02-2006 @ 10:29 PM).]

newIdea
Illuminator
posted 05-02-06 10:30 PM CT (US)     11 / 16       

Quote:

PS: Any reason for the scenery with the tree's?


Nah. Just thought I'd add a bit more.



dannyking.me


Mr Unknown
Squire
posted 05-03-06 06:09 PM CT (US)     12 / 16       
Heya, i been trieing this trick too, i dont get it.
Can u explain it to me because I dont get it either.
Can you give me a scenario on the respawning and getting food thing that That Ziko guy is doing??

my email is: help_the_good@hotmail.com

newIdea
Illuminator
posted 05-03-06 06:26 PM CT (US)     13 / 16       

Quote:

Can you give me a scenario on the respawning and getting food thing that That Ziko guy is doing??


Actually I sent him a scenario to help him with The Invisibility Cloak.



dannyking.me


Mr Unknown
Squire
posted 05-03-06 06:28 PM CT (US)     14 / 16       
oh, well, sorry for asking but do you think you can give me something on that respawning and getting food stuff, I wanna try it out
newIdea
Illuminator
posted 05-03-06 08:11 PM CT (US)     15 / 16       
I'd love to, but the trick that Ziko posted in the Topic Post, is not possible.

But if you want to know about TIC, I just submmited a utlility to the Blacksmith. Watch the BS for it to show up.




dannyking.me


Ziko
Squire
posted 05-03-06 08:54 PM CT (US)     16 / 16       
Heh yes, I just realized that it was not possible this morning, perhaps I could change it a bit, but yep, that trick certaintly doesn't work
This morning I had awoke and ran down the stairs to figure out some possibilities... I spent about an hour doing differen't trigger combinations ect.
Then I thought that it won't be possible, but I didn't give up... ( Meh.. I did after 5 minutes )
I was hoping to ask you newIdea, but unfortunately it
didn't work out.
Anyhow, sorry I never posted anything... I was on a trip
to Crawford Lake. Not a bad place at all.

You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames