some questions

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

some questions

Post by ryukaji »

how do you make it so text is displayed in the game when you enter a region and how do you make it so you win the battle when you enter a region

is there a way to make it so you have no reinforcements and only the ones that spawn at the beginning?

and timers in the game, how do you get those to work?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: some questions

Post by [RDH]Zerted »

Text: ShowMessageText( <localized text value>, <optional field: team #>)
Winning: MissionVictory( <teams> )
Reinforcements: Yes, just set the amount of reinforcements to the amount of units you want spawned. SetReinforcementCount( <team>, <new count> )

To detect when someone enters a region, read the scripting documentation and learn about events. One of the documents talks about timers too.
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: some questions

Post by ryukaji »

Text: ShowMessageText( <localized text value>, <optional field: team #>) whats the localized value?
Post Reply