Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
KissMySedonaPass

How to make a map with no air units?

Recommended Posts

I want to make a version of Sedona Pass for sovwars that does not allow any air units or V3 to be built.

I'm using Final Alert 2

Edited by aWarNoob1

Share this post


Link to post
Share on other sites

you gotta make a small .ini file. take rulesmd copy it, delete everything on it, then find every single unit you dont want in the real rulesmd and add it to the file like you dont want [ZEP] or [ORCA] or [BEAG] or whatever in your map just put all the entries on your blank file and under them put TechLevel=-1. save, use FA2's ini editor function to insert the ini file you made into the map, and it will overwrite the techlevel entry of those usits rendering them unbuildable. you can also edit lightposts or well.... anything... like this.

Share this post


Link to post
Share on other sites
29 minutes ago, McPwny said:

you gotta make a small .ini file. take rulesmd copy it, delete everything on it, then find every single unit you dont want in the real rulesmd and add it to the file like you dont want [ZEP] or [ORCA] or [BEAG] or whatever in your map just put all the entries on your blank file and under them put TechLevel=-1. save, use FA2's ini editor function to insert the ini file you made into the map, and it will overwrite the techlevel entry of those usits rendering them unbuildable. you can also edit lightposts or well.... anything... like this.

Thanks man, but i don't understand how to do any of this. Is there a tutorial video on youtube i can watch?

Share this post


Link to post
Share on other sites

idk but if you give me a list of things you want disabled from your map ill make an ini real quicc

Share this post


Link to post
Share on other sites
4 hours ago, McPwny said:

idk but if you give me a list of things you want disabled from your map ill make an ini real quicc

Hey McPwny, thank you for your support. Just to let you know, user MustacheX has already walked me through step by step. We went about it slightly differently by using only the ini editor in Final Alert 2, adding sections, and command "ForbiddenHouses=Americans,Alliance,French,Germans,British,Africans,Arabs,Confederation,Russians,YuriCountry" To each section. We used the rulesmd only to look up the unit names used in the game script.

I've tested the map and can say that this way does work.

 

Edited by aWarNoob1

Share this post


Link to post
Share on other sites

kind of stupidly easy when you know how right? glad you got it working.

Share this post


Link to post
Share on other sites

Don't take this the wrong way but...

Never use the FA2 ini editor. Never make a ini file yourself to insert into a map. Both are a huge waste of time.

it hurt's my brain to see people still doing stuff like this the hardest way possible and others still telling/showing people the hardest way possible to do it.

Just open the map with notepad++ and copy/paste each air unit inside and save. Nothing else. 1 minute max and done.

Even flyingZ said this 10+ years ago. https://sites.google.com/site/flyingzmaps/tutorial-on-map-making

Q: How do I edit INI a map?
A: Never use the INI editing offered in FA2. Open the map in NotePad and add your new editing anywhere.

Learning from one of the best will only make you better.

Share this post


Link to post
Share on other sites

what? you literally paste the stuff onto an empty ini and insert it. no ghetto rigging the map file with notepad involved. you can change values and check and tweek the mods in game almost instantaneously there is a reason that is a function in the map editor.

Share this post


Link to post
Share on other sites
7 hours ago, McPwny said:

what? you literally paste the stuff onto an empty ini and insert it. no ghetto rigging the map file with notepad involved. you can change values and check and tweek the mods in game almost instantaneously there is a reason that is a function in the map editor.

Why do extra steps? When you can skip the middle man and just put it right onto the map manually. You can change all the values there also.

Its not ghetto rigging lol. Its called being advanced. The function was made for those that don't know what they are doing and so you don't make mistakes. When you know what you are doing which is not hard to figure out. Its much better/easier/faster to use notepad++.

So think of it this way. When you paste it into the ini. You could have just pasted the same stuff right into the map yourself. No need to load the editor. All the editor serves for is to hold your hand and do all the work for you but slow you down at the same time. Sure it seems easier but when you get rid of that crutch it opens up so much more.

The whole point is to save time. You spend more time using the editor and you are limited.

When i make a survival map, 95% of my work is done in notepad++. You really think i make all my scripts/taskforces/teams/triggers in the editor? A normal survival map will take someone about 12+ hours in the editor but i can cut that down to under 4 hours not using the editor and using notepad++.

Share this post


Link to post
Share on other sites

its like 3 extra clicks to do it the proper way you make it sound like some huge chore i mean i have made some pretty intricate mods to map files that do a lot more than bulk spam units via trigger and i have done it using the ini editor and map functions. yeah i can see how you might want to copy over say 20 ai triggers and ai trigger teams like that but ini edits? there is nothing difficult about ini editing the proper way.

Share this post


Link to post
Share on other sites

If you could double click a custom shortcut to load yuris directly to skirmish and it picks the map you want plus starts the game.

You would rather double click the exe and then click skirmish and then pick the map and then hit start?

All I'm trying to say is using the editor for ini is the old way to do things mate. Its 2018, don't you want to do things faster and more effective?

What if all of the editors just vanished? What program would you use to do the work for you?

I have been doing this from day one and at some point you need to break free. Get more advanced and start doing stuff on your own.

But you can keep doing it how you know how to do it if you want. Just trying to help you advance to the next level man.

Share this post


Link to post
Share on other sites

doing it my way you can have a map open in fa2 while running yr, test the map, then minimize yr tweak the ini hit save pop up fa2 hit insert ini hit save the map switch back to yr and restart the map in about a minute flat you can mod the game and test it without restarting yr. As many times as you want untill it is perfect. it is by far the easiest and fastest way to test a mod. period. i dont use any external programs or fancy tricks, i just use normal notepad and fa2. im not going to tell you how you ought to be modding the game, but maby play and look into some of the maps i have made for vs the AI if you want to talk about the specific topic of editing map ini well.

Edited by McPwny

Share this post


Link to post
Share on other sites

Actual you are wrong. Its not the easiest or fastest way to test a mod.

Lets break this down step by step..

 

Your way...

Step 1: Open FA2

step 2: Open custom ini file

Step 3: Open Yuri's to test map

Step 4: Tweak ini (save it)

step 5: Insert the ini into the map via FA2 (save it)

step 6: Restart the map to test again

 

My way...

Step 1: Open the map in notepad

Step 2: Open Yuri's to test map

step 3: Tweak the map in notepad (save it)

step 4: Restart the map to test again

 

You proved me right without even knowing it.

Less steps === faster and easier? Seems like simple math to me.

While you insert the ini file into the map via FA2, I am already in game testing.

Every edit you make to the ini file can be done directly to the map via notepad. Why do we need FA2 again?

I can do it your way just as fast. That's the way i used to do it and its the way most learned first.

Have you done it without FA2? Don't say one way is faster or easier when you can't do it both ways.

Sure you might have done some nice work. I never questioned that, but the speed at which you did it i would question that. btw, i have never seen any map with your name on it before. Can you show me?

Share this post


Link to post
Share on other sites

you are splitting hairs here. the ini feature isnt a novelty for making a lot of crates spawn on happy trails it was a dev tool, just like the ai trigger editors, and script functions. and you are like "thats stupid 60 seconds to test a mod is stupid you are doing it wrong stupid it could be 45 seconds" as you splice maps with a freaKING TEXT EDITOR just to quickly make lots of maps with bulk spammed triggers and have the nerve to lecture people on how to mod just for it? cmon m8.

Share this post


Link to post
Share on other sites

How am i splicing, ghetto rigging, using fancy tricks or not doing it the proper way? My work end up just the same as anyone else using the editor. I just do it in less time. I manually do what the editor does in less time. The end result is the same. This is called being efficient.

Also I'm not even talking about anything with survival maps. That was just one example which you didn't even know was possible. That's how much more advanced I am then you. What is simple to me you have no clue it was even possible.

Keep doing it how you want. I have said enough.

Cheers...

Share this post


Link to post
Share on other sites

man all these people in cncnet just wanna measure genitals and 1 up all the time. yes, maps DO take work, yeah they DO take time. you have shaved seconds off of probably the easiest aspect of making a modded map incredible my god you are so good what do you even use FA2 for? give this man a medal. but your original point was that it is an easier way, and now your point is its a more complex and sophisticated way.  what do you want attention and praise for being so clever  just for taking notepad to map file? what were you even trying to post here for?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...