.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   commander type/unit type (http://forum.shrapnelgames.com/showthread.php?t=36061)

Aezeal September 13th, 2007 09:24 AM

commander type/unit type
 
Ok I want to place a niflgiant Jarl and some nifelgiants on a certain province on a certain map. The docs give a lot of lists but not for those commands #commander �<commander type>� and #units <nbr of units> �<type>� so... is there such a list somewhere or can you give me these names?

Sombre September 13th, 2007 10:06 AM

Re: commander type/unit type
 
I don't do maps, but I would guess you can just type in the name of the unit there.

So...

#commander "Moon Priest"
#units 20 "Jaguar Warrior"

Gandalf Parker September 13th, 2007 11:05 AM

Re: commander type/unit type
 
There is a database by Edi which is very useful.

Or the All_Units game which lets you view all of the units in the game code (including some that arent in the game yet)
http://www.dom3minions.com/docs/AllUnits.zip

Or, if you are working on your favorite nation and you have games where you are playing them, then you can see the units ID number by using the Shft-I key when you are looking at the units info screen.

Aezeal September 13th, 2007 11:29 AM

Re: commander type/unit type
 
hmm I found those in the province editor of someone (though I still dunno how the semi randomizer needs to work)

anyway

#allowedplayer 21#allowedplayer 22#allowedplayer 26#allowedplayer 46#allowedplayer 47#allowedplayer 48#allowedplayer 66#allowedplayer 67

#land 91#setland 91#commander �844"#comname �Ygg the Mountain�#bodyguards 5 �845�#units 10 �845�#units 20 �842�#units 5 �785�#units 20 �300�#units 80 �541�#units 30 �1085�#randomequip 4#commander �844"#comname �Agg the Iceberg�#bodyguards 5 �845�#randomequip 4
#land 1#setland 91#commander �844"#comname �Wenn Wintercold�#bodyguards 5 �845�#units 10 �845�#units 20 �842�#units 5 �785�#units 20 �300�#units 80 �541�#units 30 �1085�#randomequip 4#commander �844"#comname �Fir the Frozen�#bodyguards 5 �845�#randomequip 4

that is what I WANTED to add to the basic file

so
1. what is wrong with the army (it doesn't appear)
2. is there a way to bypass the fact that each of the water races (3 EA/MA and only 1 LA!!) can be used only once each game. I never really noticed all races could be used only once.. and for a water map of 153 water provs and 27 land provs you should be able to play with 5-8 players IMHO

Sombre September 13th, 2007 11:47 AM

Re: commander type/unit type
 
You write names as "name of unit" but you don't use " when you enter an ID number.

Gandalf Parker September 13th, 2007 11:48 AM

Re: commander type/unit type
 
Short Answer: dont put quotes around the numbers

Longer Answer:
Quotes (standardly in most scripting or programming languages, and here also) are used to say "the next item might be more than one word" and it usuall seperates items by a space. So the quotes tell the program not to not skip ahead too quick.

In other words:
units 30 1085 does not need quotes because it reads it 1 2 3

but #comname "Fir the Frozen" would need quotes so that read items 1 2 wont stop at Fir, but include the whole Fir the Frozen into item 2

edit: Sombre beat me to an answer. Darn my "teaching mode" http://forum.shrapnelgames.com/images/smilies/happy.gif

Gandalf Parker

Gandalf Parker September 13th, 2007 11:52 AM

Re: commander type/unit type
 
There is a way to play with more water nations but it involves using a mod. So your map would have to include the map and the mod. It would only take about a dozen lines of text so it would be a really small mod to put MA Oceania and LA Oceania into the Early Age so that all three could play. But to make multiple copies of EA Oceania would take quite abit more code. (unfortunately. That actually is one of my mod wishes to get a command to dupe a nation)

Gandalf Parker

Aezeal September 13th, 2007 11:55 AM

Re: commander type/unit type
 
ah ok thanks, and
1 can I get multiple atlantian players?
2 does a niefel jarl if I enter it in the .map file as mentioned above have it's standard equipment or do I need to add that seperately (I ask this cus when I did shift-I I saw all weapons mentioned even the "standard" ones for that commander.

I'll change it tomorrow, first I gotta go do my evening + night shift on the ER (a slow ER mind you so I hope to get plenty of sleep)

Gandalf Parker September 13th, 2007 12:01 PM

Re: commander type/unit type
 
[slaps self in forehead]
I knew that sounded familiar. I already did a mod like that. Its here
http://www.dom3minions.com/files/Natural_Selection.zip
It puts all the Pangaea and Oceania into the early age. Its for a "Revenge of Gaia" scenario I was considering (making the human players fight a huge allied nature-alliance)

#modname "Natural_Selection"
#description "Nature has decided that it does not like you. This places
all 3 Pangea's and both Oceania's into an early age game."

#selectnation 11
#name "early Pangaea"
#era 1
#end

#selectnation 40
#name "mid Pangaea"
#era 1
#end

#selectnation 61
#name "late Pangaea"
#era 1
#end

#selectnation 26
#name "early Oceania"
#era 1
#end

#selectnation 48
#name "mid Oceania"
#era 1
#end

Gandalf Parker September 13th, 2007 12:06 PM

Re: commander type/unit type
 
The basic units equip is there already. Like if the description says he is using a sword before you give him anything.
You can change that or add items, or even say to give it a random selection of magic equipment.


All times are GMT -4. The time now is 09:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.