Map with script?

For AI and campaign script related discussions and questions
Post Reply
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK
Contact:

Map with script?

Post by dmkp »

What tells which map to use which script?
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Map with script?

Post by Per »

.wrf files.

If you want a more detailed answer, I suggest a more detailed question.
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK
Contact:

Re: Map with script?

Post by dmkp »

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.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Map with script?

Post by Per »

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.
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK
Contact:

Re: Map with script?

Post by dmkp »

No, for campaign maps :)
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Map with script?

Post by Buginator »

Everything is controlled with the .wrf files. Look at how cam 1 starts...
and it ends here.
dmkp
Trained
Trained
Posts: 182
Joined: 08 Jan 2010, 20:50
Location: UK
Contact:

Re: Map with script?

Post by dmkp »

Ah yes :)

Thank you :D




Are there any scripting tutorials out there?
Post Reply