script generated NTW 3v3 map with terrain

Did you create a mod, map, music, or a tool? Present them here and earn feedback!
Note: addon requests do not belong here.
Note, everything uploaded to this forum, MUST have a license!
Post Reply
wanjia1
Rookie
Rookie
Posts: 27
Joined: 01 Nov 2023, 06:05

script generated NTW 3v3 map with terrain

Post by wanjia1 »

(although there is a dice icon,it not a random map)
with small modification, like the height function, this script can generate different NTW map.

relativeY=((y/mapHeight)-.5)*2
size: 96*96
oil: 40 per player
scavenger: at relativeY==0 (1 cannon fortress per 4 tile)
height: clip((abs(relativeY)-.3)*2, 0,1)*500

map:(is a 6c map)
0c-type0.wz
license:CC0
(2.6 KiB) Downloaded 70 times
auto zip bash:
type0.zip
license:CC0
(11.8 KiB) Downloaded 71 times
Last edited by wanjia1 on 20 Jan 2024, 00:32, edited 1 time in total.
wanjia1
Rookie
Rookie
Posts: 27
Joined: 01 Nov 2023, 06:05

Re: script generated NTW 3v3 map with terrain

Post by wanjia1 »

screenshot:
Attachments
1.jpg
2.png
2.png (9.28 KiB) Viewed 1031 times
User avatar
montetank
Regular
Regular
Posts: 642
Joined: 14 Feb 2013, 00:05
Location: Montenegro

Re: script generated NTW 3v3 map with terrain

Post by montetank »

And what is the idea behind it now? What's new? There are hundreds of such maps. Have I misunderstood something here?
In case the WZ-game ends in a draw , the game winner will be determined by penalty shoot-out.
wanjia1
Rookie
Rookie
Posts: 27
Joined: 01 Nov 2023, 06:05

Re: script generated NTW 3v3 map with terrain

Post by wanjia1 »

montetank wrote: 20 Jan 2024, 05:32 And what is the idea behind it now? What's new? There are hundreds of such maps. Have I misunderstood something here?
the difference is that it can re-layout the map,
like add clamp chamber, highlands, water; and move base; remove oils, add uplink centre or VTOL pads for every base,
with only minor script modification (1~20 lines of javascript), without map editor.
this save the time of making maps.

also,it's the first generated NTW map in this forum
(and, the script has only 127 lines, it is easy to read)
wanjia1
Rookie
Rookie
Posts: 27
Joined: 01 Nov 2023, 06:05

Re: script generated NTW 3v3 map with terrain

Post by wanjia1 »

add random terrain generation and generate cliff by slope:
0c-type0.wz
license:CC0
(3.1 KiB) Downloaded 55 times
screenshot:
Screenshot_2024-01-21_20-15-50.jpg
Post Reply