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.6 replies
Age of Kings Heaven » Forums » Scenario Design and Discussion » How do I....?
Bottom
Topic Subject:How do I....?
spidy_
Squire
posted 10-25-03 02:47 PM CT (US)         
    Rename a unit that has been created, and was not originally on the map.

    Have X amount of gold given to the player whenever something is killed.

    Keep all units of computer players from moving, without using another file?

    Create a simple battle system(turn based)?

I'm having a lot of trouble and I haven't been able to figure out ways to do this. Does anyone else know, and seem willing to impart their knowledge?

AuthorReplies:
da hobo
Squire
posted 10-25-03 03:06 PM CT (US)     1 / 6       
Q1: Technically, there is no way to do that but if, for example, you wanted Sir Johny (a champion) to mount his noble steed (turns into a paladin) and still have his original name do this:

Place a champ with the name Sir Johny (player 1) and place a paladin (player 2) by a stable.

TRIGGER 0: <name>
Display As Objective: <your choice>
Starting State: <your choice>
Trigger Looping: No
Condition 0: Object in area
Effect 1: Remove Object: (Sir Johny)
Effect 3 : Change Ownership: Paladin
Effect 4: Change Name: "Paladin" to "Sir Johny"

So basically, instead of creating a new unit, just change the ownership and name of another

EDIT:

Q2:

For that use this trigger:

TRIGGER 0
Display as Objective: <your choice>
Starting State: On
Looping: Yes
Condition 0: Accumulate Attribute; 1 Kill Ratio: Player 1
Effect 0: Tribute X Gold: GAIA to Player 1
Effect 1: Create Object: Unit Y
Effect 2: Kill Object: Unit Y's area
X and Y are variables.

I don't really feel like explaining how that works...


"The most important thing to do in your life, is to not interfere with somebody else's life." - Zappa

[This message has been edited by da hobo (edited 10-25-2003 @ 03:21 PM).]

musiclover482
Banned
posted 10-25-03 05:07 PM CT (US)     2 / 6       

Quote:

Keep all units of computer players from moving, without using another file?


I don't really think that's possible. You have to use an AI file. If you need help with it, ask somebody like Elite Raider, Tonto_Dave, Cesar Bernardi, or maybe even me! I now have the feeling that I can do almost anything with AI!
ReIch
Squire
posted 10-25-03 06:40 PM CT (US)     3 / 6       
Question 3
there is a effect ( i dont know how to tranlate it from spanish ) which left a (or all) units inmovile, but i think using it with all the units may crash. so i prefer the AI

--
Best regards

Balazs
Ornlu
Recreational Procreator
posted 10-26-03 05:38 AM CT (US)     4 / 6       
Just freeze all units. (Freeze unit effect)

None of us are free, one of us is chained.
Surge
Squire
(id: Lt_Surge99)
posted 10-26-03 06:21 AM CT (US)     5 / 6       
Looping must be on though.

"Especially awe-inspiring is the fact that any single brain is made up of atoms that were forged in the hearts of countless stars billions of years ago... These atoms now form a conglomerate – your brain – that can not only ponder the very stars that gave it birth but can also think about its own ability to think and wonder about its own ability to wonder. With the arrival of humans…the universe has suddenly become conscious of itself. This, truly, is the greatest mystery of all." - Rama
spidy_
Squire
posted 10-26-03 03:18 PM CT (US)     6 / 6       
alright, thanks for the help on question#3, but hobo, I don't quite understand your answer for question 2. Is Y on your team, or theirs, etc.\?
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames