Hi all
i am working on a map but i got a BIG PROBLEM … scripting!
Where can i find a objective/map scripting tutorial (explained!!!)?
the map i work on got 2 objectives to be destroyed and no matter the one will be destroyed first (possible to destroy the objectives in same time)
Links to Mordenkainen tutorials are dead
thanks
scripting
May that help? http://wiki.splashdamage.com/index.php/An_Advanced_Map
Have a look at part 12 and 18.
already seen but what to keep from that “final script” as i don’t need construction/hacking… scripting. Nothing is really explained! just copy/paste if you make a 4 obj. map like that one but what about a dual objectif you can destroy at same time or no priority to the first to do?
Using "gameplay/destructible/dualproxy ? if yes how to set in editworld (keys)?
A lot of tutorials were on the old forums, which are down :rolleyes: People worked hard to find out which entities to place and how to write script, and the info is partially lost unless someone remembers how things worked and posts here. People found out how to write script by comparing to the SD map scripts, and found out which entities with which properties to place by opening the mapname.entities file (it’s a text file that lists all the map’s entities with their keys/values) and guessing which one would do a specific thing.
Lot’s of trial and error.
See the links here, some tutorials may be cached.
This should give you a start of how things work. Then you can look at the scripts from the maps, or better custom maps to see how other things were done.
Good luck:)
edit:
remembers to hate Activision even more so much work lost
Look at refinery scripting maybe?This map has no order or priority for the last dual objective…:rolleyes:
I’m a total newbie at scripting I can’t help more!
Look at the map references and map scripts for either Refinery or Sewer, I’m sure one of them inside their objectives.world reference has what you are wanting, you may need to search around them as they just simply contain the objectives and nothing else, can take while to find what you need if dont know where to look.
Also feel free to post your script code and relevant entities here for a review, there is always a chance someone can spot a problem or knows how to solve it when they see the actual code.
Unless it’s classified info of course :infiltrator:
But yeah I think dual proxy is what you are looking for, comm link have the same btw so you can look at that one too (simpler code).
And remember you can see a maps entity settings in the maps .entity file.
No need to look at .entities, the map references have pretty much all you need and can be copy and pasted over.
yep found in map references => dual proxy. i have a look and will post again if problems. Thanks for help. I will post soon screenshots. the map (BASE from RTCW/W:ET) is nearly finished except objectives and some stuff.
Best get this out of way as may save you grief later on if not already taken it into account.
ET:QW player models are not the same as in ET/RTCW, as thus I really hope you have upscaled your map accordingly as the result can be disastrous. If need any other tips give us a shout, I ran into many problems when porting ET’s Radar map.
All buildings and ways have been upscaled => map size = 82187440 // original map size = 68486200
I have tested the script. It seems to be working.
screenshots coming in WIP thread.
Thanks for help guys
greetings