Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 12:26 am
All times are UTC + 0
Problems with triggers and ini files
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
AngelLestat
Civilian


Joined: 15 Jun 2007

PostPosted: Fri Jun 15, 2007 10:27 pm    Post subject:  Problems with triggers and ini files Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Blade
Cyborg Commando


Joined: 23 Dec 2003

PostPosted: Fri Jun 15, 2007 11:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
AngelLestat
Civilian


Joined: 15 Jun 2007

PostPosted: Sat Jun 16, 2007 4:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks you very much for your help is very usefull.

I will try to find some way to cheat the trigger for get maybe a similar effect for the question 1.
Or well, to the hell with that effect XD

And I dont know yet where change the ini in the map, but I will read some tutorials about that.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 2.9201s ][ Queries: 11 (2.7908s) ][ Debug on ]