Map with script?
-
dmkp
- Trained

- Posts: 182
- Joined: 08 Jan 2010, 20:50
- Location: UK
Map with script?
What tells which map to use which script?
-
Per
- Warzone 2100 Team Member

- Posts: 3780
- Joined: 03 Aug 2006, 19:39
Re: Map with script?
.wrf files.
If you want a more detailed answer, I suggest a more detailed question.
If you want a more detailed answer, I suggest a more detailed question.
-
dmkp
- Trained

- Posts: 182
- Joined: 08 Jan 2010, 20:50
- Location: UK
Re: Map with script?
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.
I'd need to know how to link that map with that script.
-
Per
- Warzone 2100 Team Member

- Posts: 3780
- Joined: 03 Aug 2006, 19:39
Re: Map with script?
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

- Posts: 182
- Joined: 08 Jan 2010, 20:50
- Location: UK
Re: Map with script?
No, for campaign maps 
-
Buginator
- Professional

- Posts: 3285
- Joined: 04 Nov 2007, 02:20
Re: Map with script?
Everything is controlled with the .wrf files. Look at how cam 1 starts...
and it ends here.
-
dmkp
- Trained

- Posts: 182
- Joined: 08 Jan 2010, 20:50
- Location: UK
Re: Map with script?
Ah yes 
Thank you
Are there any scripting tutorials out there?
Thank you
Are there any scripting tutorials out there?