Map with script?

For AI and campaign script related discussions and questions

Map with script?

Postby dmkp » 11 Feb 2010, 16:44

What tells which map to use which script?
dmkp
Trained
Trained
 
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Map with script?

Postby Per » 11 Feb 2010, 18:31

.wrf files.

If you want a more detailed answer, I suggest a more detailed question.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
 
Posts: 3625
Joined: 03 Aug 2006, 19:39

Re: Map with script?

Postby dmkp » 11 Feb 2010, 23:06

Well let's say I wanted to make a script to activate technology for a specific team. But I wanted it separate from the main script for that level.

I'd need to know how to link that map with that script.
dmkp
Trained
Trained
 
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Map with script?

Postby Per » 11 Feb 2010, 23:48

You mean for skirmish games? Never tried that, but I suppose you would add a custom wrf file referenced from the addon.lev, that loads the VLO and SLO files that contain the scripts.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
 
Posts: 3625
Joined: 03 Aug 2006, 19:39

Re: Map with script?

Postby dmkp » 12 Feb 2010, 00:30

No, for campaign maps :)
dmkp
Trained
Trained
 
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK

Re: Map with script?

Postby Buginator » 12 Feb 2010, 07:02

Everything is controlled with the .wrf files. Look at how cam 1 starts...
and it ends here.
User avatar
Buginator
Professional
Professional
 
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Map with script?

Postby dmkp » 12 Feb 2010, 18:28

Ah yes :)

Thank you :D




Are there any scripting tutorials out there?
dmkp
Trained
Trained
 
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK


Return to Scripting