Modify that script to start last level ?


(ETdemin) #1

Hi!

I have try but it is not working.

Please, can someone modify that script to obtain a different gameplay ? [Explanation under]

This map is nice but too big and too long to play.

Is that possible to change the script for starting the game directly at the last level ?
[And level7_gate need to be destroyed as a secondary objective]

I think it could be nice.

Thank you :wink:


(phisherman) #2

This is possible indeed, quite easy actually. Though the server you want to use the script on will have to run a mod that supports ETpro-mapscripting. If it does, send me a contact address of yours and we’ll sort something out. [noparse]:)[/noparse]


(acQu) #3

True. You can do this with ETPro Mapscripting feature. Here is a site where you could potentially learn, but it’s quite hard.

http://wolfwiki.anime.net/index.php/Map_scripting


(ailmanki) #4

There is no need for etpro mapscripting. Though that is nice to have…
Just modify the existing mapscript, zip it up in a pk3, put that pk3 in your modfolder, name it something like
mml_minastirith_fp3_short.pk3
and it will work.


(acQu) #5

He runs an etpub server, i know him :slight_smile: And this one got an etpro alternative mapscript directory, which is certainly better than having every client to download that pk3 :stuck_out_tongue:


(mortis) #6

You can use standard scripting if you don’t need entities created on the fly (new spawnpoints for example). changing a constructible can be done in the script routine, in most cases, etpro or not. Etpro just adds a whole new awesome level of scripting power…


(ETdemin) #7

Thank you very much for all your answers and for your support :wink:

Yes I use ETPub and set g_mapScriptDirectory ; I can add a new script for a map directly in that directory.

or change the complete map file (after having edited directly mml_minastirith_fp3.script in the .pk3)

Many maps could be tested in local by using HOST GAME.

I have try to change many things in the mml_minastirith_fp3.script but spawn always seem to start down of the Castle

I need to search more for the spawn command in the link you show me.

But does someone could explain me which command in the script define the FIRST Spawn for Allies & for Axis ?? How can I find the Coordinates to add them ?
It could help me…

Thank you :slight_smile: