Posted: Fri Jun 15, 2007 10:27 pm Post subject:
Problems with triggers and ini files
I am doing a Multiplayer map for 2 players, One choose attack position, and the other the defends position.
I am with this since two month, and i cant finish for many problems.
First one: I want make the map depending of the house that you choose (russia, america, irak, etc) you can get differents stuffs.. Like, if u chosse russia, when the elapsed time is 20 min.. u can get nuclear special lunch.. and if u choose england, you have ship reinforment in some time.. something like that.
But the problem is this, the trigger for nuclear it has how owner to Russia, but if u dont chosse russia when the trigger is activated the game crash.
And i dont find the way to do that. Maybe if i could change the owner of a trigger to a player instead a house, but u dont have this option.
2: If i want to do spyable some building, how can i change only the ini setting of the map, and no the global ini settign from the game.
3: I want put in the map, a cronosphere and an iron curtain, but i dont wanna give the option to make make this kind of building.. only for capture. For this i have to use: tech level: 11? or -1 ? in the ini file?
Thats all for now.. Thanks you very much, and sorry my english. QUICK_EDIT
1. You can only make stuff happen based on player in YR and even then you are very limited in what you can do. Use <Player> options for triggers that support it when house is needed for the action. You cannot have a player as the owner of a trigger.
2. Add the building section to your map such as:
[BUILDING]
Spyable=yes
Put it near the top after the [Header] section
3. Same as above on use the line TechLevel=11, that will stop both the player and the AI building them. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum