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

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Creative use of Genied1: a Tutorial
posted 12-19-07 05:00 PM CT (US)   
Well, by now most of us know how to change the range or hitpoints of a unit, or even maybe its graphics with genied1 or 2. Well, for the last 4-5 months I have been doing stuff a lot less people do, creative stuff. Oliver's work is an excellent example. A few others do it, and this is certainly not anything original to me, but I thought I should post a little tutorial to open up this crazily addicting and fun world of AoK to some people. So here goes:

Genied1?
I am no going to explain the basics of this, that would be a waste of my time. Get it, figure it out, learn the basics. BTW, there are always a few differnet ways and programs that will do what I do, so do whatever you like; this isn't rules, just guidelines.

what exactly do I need to modify?
Well, the files you will be spending the most time in are civ0units.txt and graphics_other.txt. Not enough people fully realize how many great things can be done with the latter file.
other files can be modified and I will show an example of this as well.

What do you try to create?
Simple: things that you need/want in AoK that are impossible to get. Things that add visual or gameplay appeal. Anything that adds to the fun of the scenario.

Examples?
The best way to show what is possible is with examples. Let us stard with my recent entry to the screenshot competition:

Merry Christmas

Now first thing everyone asks is "OMG, blue sky, how?". We will get to that but first let us look at something easier like the snow on the tree and the rocks. Recognize it? Sure, it is the snow on towers and walls that are placed on snow terrain. So how do we get this?

1. let us choose the snow from the guard tower (unit id 234)
2. Open up civ0units.txt and find unit 234
3. find the line "civ_0_unit_234_graphic_snow: 6286"
4. we now know that the snow graphic is 6286
5. Create a unit (or modify one you will not need). Make it something like a rug or flower bed, a gaia object basically. Give it a standing graphic of 6286.
6. that is it. It can be placed on top of trees or cliffs because the attribute of the snow to go on top of everything instead of under is stored in the graphic.

That was a simple one, lets look at the blue sky now (yippee!):

1. First creat a unit AND a graphic (or alter ones you don't need). the unit should be some nonattackable gaia object, and the graphic should be like the standing graphic of path, rugs, or some object that goes UNDER all other objects.

This is where graphics_other.txt comes in; if we use path1 (unit id 339), we then open civ0units and find its standing graphic is 2287. So our new graphic should be a carbon copy of 2287. Copy everything written about 2287 in graphics_other.txt into your patches file.

2. The only difference will be slp. It is so importsnt that you undersand the difference between slp and graphic. slp's are the artwork ONLY; graphics tell how the act, if they go above or below for example.

So what slp do we use? Well, hidden in the drs file is an slp 50230. it is a big square solid blue; well actually if you change player colour it changes to red, green etc. Cool Huh? Use that as the slp for your new graphic. You now will have a unit which is basically a sky background for you to use.

Those two examples have all the technical info you need basically. ANything else is more or less a variation of those. The logs on the road? Same thing, just a different slp (and you have to change the graphic to have as many rotations as the slp has and 1 frame per rotation-all in graphics_other.txt).

So how do you know which slp's to use?
Well, the title says creative in it, so open MPS and look through all the slps and use your imagination. I have seen every single one, and when I get to one that I have an idea for, I write it in a text file like this:

3406-splash

Now if I want to add a fountain or rain or a splash (how ingenious to think of that one ), I follow the above steps, changing certain properties in graphics_other.txt to suit my fancy.

You said something about other text files?
You can alter ANY file. try pcolours.txt. It contains info on all the different player colours. the line "playercolour_0_playerpalette: 16" tells us that colour one starts on colour 16 of the 0-255 colour pallete. The next seven colours are assumed. So colour 1 (blue) is from 16 to 23. Change 16 to another number and you have chage the colour. While it is hard to get new player colours out of the pallette, a darker green and a brown are possible. I found these two in a hour or so of fiddling. Here are some brown units:

brown units

Closing comments?
Mix everything together and create confusion! No Seriously, experiment around. The possiblities are endless, there are many more cool tricks I could show but this is too long already. So here are a few screenies to show some more ideas:

About to board a raft...

...Now same unit sailing on the same raft

A mighty lord looks down from his high tower

Norse Axemen prepare to defend their wall

To finish this all off, I want to encourage everyone to try to use dat editing for a more creative use like Oliver, Aggamemnon, and others have. It is only a 1 meg file and it adds an incredible amount of options and opens new doors that you could never imagine.

WARNING: THIS IS TERRIBLY ADDICTIVE AND YOU WILL HAVE A HARD TIME DESIGNING WITH THE NORMAL EDITOR AFTER YOU SO THIS. DO NOT ATTEMPT TO LEARN ABOUT DAT EDITING IF YOU HAVE A REAL LIFE WHICH ACTUALLY REQUIRES YOUR ATTENTION.

"And Matt is a prolific lurker, watching over the forum from afar in silence, like Batman. He's the president TC needs, and possibly also the one it deserves." - trebuchet king

[This message has been edited by matty12345 (edited 12-19-2007 @ 05:08 PM).]

Replies:
posted 12-19-07 05:24 PM CT (US)     1 / 12  
I am no going to explain the basics of this, that would be a waste of my time.
Your benevolence makes me humbled to be in your saintly company.

Beside from that, a rather good guide, with sparkling demostrations, you pull the hat out of the bag with "Norse Axemen prepare to defend their wall".

While am I the only one who thinks "A mighty lord looks down from his high tower" reminds me of Mario?

¬_¬ Scuddles: Rhymes with huggles© ¬_¬
"Scud: the man who could even make God feel foolish." - A Banned User
"Anyway, Scud's not mean, it's not in his nature...he is a bit eccentric though!" - Anastasia

[This message has been edited by Scud (edited 12-19-2007 @ 05:24 PM).]

posted 12-19-07 05:28 PM CT (US)     2 / 12  
Your benevolence makes me humbled to be in your saintly company.
Well, there are just so many better guides to the basics, and chances are anything I did wouldn't be as complete.

Yes Mario does come to mind now. You have ruined my screenshot by saying that

"And Matt is a prolific lurker, watching over the forum from afar in silence, like Batman. He's the president TC needs, and possibly also the one it deserves." - trebuchet king
posted 12-19-07 05:30 PM CT (US)     3 / 12  
You have ruined my screenshot by saying that
I was going to provide a new caption for it; but I'll save you further embarrassment.

¬_¬ Scuddles: Rhymes with huggles© ¬_¬
"Scud: the man who could even make God feel foolish." - A Banned User
"Anyway, Scud's not mean, it's not in his nature...he is a bit eccentric though!" - Anastasia
posted 12-19-07 05:32 PM CT (US)     4 / 12  
Oh go ahead, you have funniest forummer to win after all

"And Matt is a prolific lurker, watching over the forum from afar in silence, like Batman. He's the president TC needs, and possibly also the one it deserves." - trebuchet king
posted 12-19-07 05:40 PM CT (US)     5 / 12  
Very good tutorial matty. This will come into good use if I too ever decide to lose my life and take up genied.
posted 12-19-07 06:03 PM CT (US)     6 / 12  
This will come in handy.

*evil laughter*

*realizes everyone's looking at him in a bewildered way*

Uh... nevermind.

[This message has been edited by Cesar Bernardi (edited 12-19-2007 @ 06:04 PM).]

posted 12-19-07 07:32 PM CT (US)     7 / 12  
I'm assuming GenieD only works on Windows?

It sounds like it would be fun to edit DATs, unfortunately Macs just plain suck in the ways of AoK :/


Names not accepted: Faggy, Figsack, Fagsack, Fig Newton, Figgy Pudding, Figris, Figtree, Figgius, Figaro
I'm sure more are to come
posted 12-19-07 07:59 PM CT (US)     8 / 12  
yeah it would be fun, too bad i can't seem to get mine(geniED2) to work.... don't know why it won't work.

No matter how advance defence is, offense is always a step ahead.
posted 12-19-07 10:00 PM CT (US)     9 / 12  
That's a good piece of read. Even I failed to recognize the possibility of loading interfac graphic into a unit.

IIRC, there is a square of fog of war within interfac.drs. I would love to see if it is also assessible.

Member of Tsunami Studios
Scenario T.C.: “Yes, the traitors can’t be terminated.”
Richard Ames: “Scenario_t_c should take care of them in a succinct but humorous fashion.”
Don Jorge de Leon: “Ave Trisolo! Vive Trisolo!”
posted 12-19-07 10:48 PM CT (US)     10 / 12  
Great! I did not realize we could use interfac.drs for unit graphics. What about the other data files do they contain any graphics?

figgy: you can hex edit, like I do. I am still having trouble with Genied1 and I think hex editing is a lot easier if you're not scared by the numbers. There must be some hex editor for Mac i guess. Except that you can add new units with GE1 and you can't do that with hex.

I think we should have a new screenshot competition to show off hex tricks, it isn't fair to subvert the CSC all the time.

Edit: and you should bold the warning, and put it on top

There is no way 'trigger trickz' , map copy trickz , AokTS trickz can compete with the likes of this.

Edit2: you can also use terrain.drs, but that wouldn't be much use.

,
Jatayu O===|¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯/
`
Battle of Saraighat, 1671|Atlantis, the Lost Realm|AOE Roman Modpack|My profile
ि
StormWind Studios

[This message has been edited by Jatayu (edited 12-20-2007 @ 00:58 AM).]

posted 12-20-07 01:39 AM CT (US)     11 / 12  
Edit2: you can also use terrain.drs, but that wouldn't be much use.
Actually I have used that before. It allows you to place terrain as a perfect square. Use road for instance, you can have a tile effect by placing berfect squares of road in a checker formation. The possibilities of all this stuff is totally endless.

"And Matt is a prolific lurker, watching over the forum from afar in silence, like Batman. He's the president TC needs, and possibly also the one it deserves." - trebuchet king
posted 12-21-07 11:15 AM CT (US)     12 / 12  
Very good guide. Thankfully, I don't have a real life that requires my attention.
Age of Kings Heaven » Forums » Scenario Design and Discussion » Creative use of Genied1: a Tutorial
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Kings Heaven | HeavenGames