View Full Version : Few things to do to a YR map...
Fortres87
10-15-2007, 09:15 AM
First of all I honestly dunno if this post is in the right place. :P
Eres some things I've known or dunno how to do, any help?
1. Give stuff to certain startlocation (A command line to the pre set structure or unit.) How I create that command line?
2. Restrict what a startlocation can build? How I can set a startlocation to be able to build only for example Ore Refinerys and defensive structures? Or same thing but startlocation is allowed 2 build units only? Even better if I could allow what units and structures are allowed 2 build.
3. This question is bit noobish but how do I create a main time limit for example units only bases to defeat def stucture bases?
apple23
10-27-2007, 11:13 AM
Welcome to the forums! ^^
Number 1 is pretty easy. This is the very trigger that my career as one of the best trigger designers started at.
1.Go to Edit>Trigger Editor.
2.When you're there, make a new trigger, name it whatever you like, and go to the events tab.
3. In the events tab, make a new event, and make it whatever you want based on what you want to happen before the person recieves the unit.
4. Go to the actions tab
5. In the actions tab, make a new action and type the number 14 in the middle field. If you want to know what that means, look under it for a desctiption.
6. Look in the parameters box at the bottom. Type in 4475 for player 1, 4476 for player 2, 4477 for player 3, 4478 for player 4, and so on.
Also note that in place of typing the numbers, you can simply select them from a list. This is usually easier for novices.
beegee7730
11-02-2007, 02:21 AM
for number one, you could make a offscreen building that is like the "missing link" [ without it, you can only build barracks and ore refineries ect]
apple23
11-02-2007, 06:23 PM
Number 2 is going to be difficult. I have done it before but it's really buggy and kinda weird.
Well, here we go anyways.
Enabling Units:
1. Place a small, distinct building off the map (on the very outer edges)
2. Go to the INI editing section or open your map file in notepad
3. Make a completely new entry for every unit that you want the unit only base to build. Find it's codename (for example, Rhino=HTNK) and use that as the name for the entry. (if using notepad just add the codename anywhere in the text in brackets ([HTNK]))
4. Add the following line: Prerequisites=<CODENAME map off placed building of> [codename of building off the map] <CODENAME map off building the ob>(no [] signs)
5. Now, use the exact same trigger i described in my first post to give player 1 that building. (now player 1 can build all the units that you modified with prereqs)
Disabling Buildings:
1. Look up the codenames of all the buildings you want to disable.
2. Go back to the INI editing section or open up notepad
3. Make a new entry for every building you want to modify
4. To make all players unable to build it, set tech level to -1 (or 11 so AI can't build)
To make only some players able to build it, make a prerequisite that no other startposition could fulfill (such as placing a building off the map, like we did in phase 1)
I think thats all. Hit me up if you have any confusion, errors, bugs, etc. and anyone else that wants to know what i'm saying feel free to ask.
beegee7730
11-04-2007, 04:06 AM
Number 2 is going to be difficult. I have done it before but it's really buggy and kinda weird.
Well, here we go anyways.
Enabling Units:
1. Place a small, distinct building off the map (on the very outer edges)
2. Go to the INI editing section or open your map file in notepad
3. Make a completely new entry for every unit that you want the unit only base to build. Find it's codename (for example, Rhino=HTNK) and use that as the name for the entry. (if using notepad just add the codename anywhere in the text in brackets ([HTNK]))
4. Add the following line: Prerequisites=<codename map="" off="" placed="" building="" of=""> [codename of building off the map] <codename map="" off="" building="" the="" ob="">(no [] signs)
5. Now, use the exact same trigger i described in my first post to give player 1 that building. (now player 1 can build all the units that you modified with prereqs)
Disabling Buildings:
1. Look up the codenames of all the buildings you want to disable.
2. Go back to the INI editing section or open up notepad
3. Make a new entry for every building you want to modify
4. To make all players unable to build it, set tech level to -1 (or 11 so AI can't build)
To make only some players able to build it, make a prerequisite that no other startposition could fulfill (such as placing a building off the map, like we did in phase 1)
I think thats all. Hit me up if you have any confusion, errors, bugs, etc. and anyone else that wants to know what i'm saying feel free to ask.
thats an extended version of what i said
</codename></codename>
apple23
11-07-2007, 09:41 PM
Welcome to the forums to you too.
Anyways, I realised that. your post, however, was extremely vague and wasn't really that helpful. I know you are new, and I hate to be the one who's harsh on the newbie, but please take the time to compose a clear, well-thought-out post before piping up. You really didn't need to say that anyways.
beegee7730
11-11-2007, 12:59 PM
Welcome to the forums to you too.
Anyways, I realised that. your post, however, was extremely vague and wasn't really that helpful. I know you are new, and I hate to be the one who's harsh on the newbie, but please take the time to compose a clear, well-thought-out post before piping up. You really didn't need to say that anyways.
hmph, sorry...
(http://www.youtube.com/watch?v=a1Y73sPHKxw)
hogo98
11-20-2007, 04:00 PM
Welcome to the forums to you too.
Anyways, I realised that. your post, however, was extremely vague and wasn't really that helpful. I know you are new, and I hate to be the one who's harsh on the newbie, but please take the time to compose a clear, well-thought-out post before piping up. You really didn't need to say that anyways.
Everyone Starts like that its normaly best to let them get on with it Unless they do it repeatively Im sure you did I know I did :) Anyway Welcome and happy modding.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.