[Map]The Great Bombing Run! (V1.21)

Loadable maps as opposed to OldCoder's zoomable maps
User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

[Map]The Great Bombing Run! (V1.21)

by Jonathan » Tue Apr 23, 2013 16:04

It's out! The great Bombing Run!

It includes PilzAdam's TNT mod (modified), my TNT Dropper mod, and Jeija's map. My code might not be the most efficient, but hopefully it does not lag bad. (I would not use PilzAdam's regular TNT mod with this one. Might not work right.)

Goal: Find one of the two bomb shelters to hide in to win! (They are in the city)
Only rules: Don't use fly, fast, or creative mode.

Hope you enjoy! Post any neat screenshots :) (FYI: Some of the signs in the city I added or modified :). Some of them you might find funny.)

Minetest Version Required: 0.4.6 or greater.
Installation Instructions: Just unzip, and put the folder in your "minetest\worlds\" folder, and your ready to go!
Download:https://www.dropbox.com/s/xilba8hj429cl15/TheGreatBombingRun!.zip
Note: The mods are in the world folder so it will not affect other maps (Warning, do not use these mods with other maps you do NOT want destroyed!).

Screenshots:
Starting Position:
Image
Bombs Away!:
Image
City Before:
Image
City After:
Image
Poor Guy:
Image
First Bomb Bunker:
Image
Second Bomb Bunker:
Image
Last edited by Jonathan on Fri May 24, 2013 17:45, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Zane
Member
 
Posts: 122
Joined: Fri Apr 19, 2013 20:28
In-game: Zane

by Zane » Tue Apr 23, 2013 18:53

Wow oh my goodness this map is awesome!!!!Is there any rules?
home of a+ent.
note:
hi everyone im Zane and im the
creator of the sunrisetest stories.
and for a bonus im learning BASIC programing language.sunrisetest doesn't exist anymore so im planning to replace the server
replacement's name:new sunrisetest
 

User avatar
Zane
Member
 
Posts: 122
Joined: Fri Apr 19, 2013 20:28
In-game: Zane

by Zane » Tue Apr 23, 2013 18:53

realy awesome
home of a+ent.
note:
hi everyone im Zane and im the
creator of the sunrisetest stories.
and for a bonus im learning BASIC programing language.sunrisetest doesn't exist anymore so im planning to replace the server
replacement's name:new sunrisetest
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Tue Apr 23, 2013 19:45

Well, I figured out how to place the bombs randomly in a way that I am content with. (I just wish I knew how to make them slowly fall from the sky instead of instantly appearing on the ground)

I think I might use Jeija's old singleplayer map http://forum.minetest.net/viewtopic.php?id=915 , but I am not sure yet.

I still don't know if it is possible for a player to turn off the abm, so any help or suggestions would be appreciated.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Wed Apr 24, 2013 14:25

I sometimes get the following error using PilzAdam's TNT mod:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
10:16:26: ERROR[ServerThread]: ServerEnv: Trying to store id=41 statically but block (-4,0,-5) already contains 49 (over 49) objects. Forcing delete.
10:16:26: ERROR[ServerThread]: ServerEnv: Trying to store id=42 statically but block (-4,0,-5) already contains 49 (over 49) objects. Forcing delete.
10:16:26: ERROR[ServerThread]: ServerEnv: Trying to store id=43 statically but block (-4,0,-5) already contains 49 (over 49) objects. Forcing delete.
10:16:26: ERROR[ServerThread]: ServerEnv: Trying to store id=44 statically but block (-4,0,-5) already contains 49 (over 49) objects. Forcing delete.
10:16:26: ERROR[ServerThread]: ServerEnv: Trying to store id=45 statically but block (-4,0,-5) already contains 49 (over 49) objects. Forcing delete.


I tried commenting out the following lines with no success preventing the errors (Although for this map I didn't want it to drop the nodes just destroy them anyways):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local destroy = function(pos)
--    if math.random(1,5) <= 4 then
--        minetest.env:add_entity({x=pos.x+math.random(0,10)/10-0.5, y=pos.y, z=pos.z+math.random(0,10)/10-0.5}, "tnt:smoke")
--    end
    local nodename = minetest.env:get_node(pos).name
    if nodename ~= "air" then
        minetest.env:remove_node(pos)
        nodeupdate(pos)
        if minetest.registered_nodes[nodename].groups.flammable ~= nil then
            minetest.env:set_node(pos, {name="fire:basic_flame"})
            return
        end
--        local drop = minetest.get_node_drops(nodename, "")
--        for _,item in ipairs(drop) do
--            if type(item) == "string" then
--                local obj = minetest.env:add_item(pos, item)
--                if obj == nil then
--                    return
--                end
--                obj:get_luaentity().collect = true
--                obj:setacceleration({x=0, y=-10, z=0})
--                obj:setvelocity({x=math.random(0,6)-3, y=10, z=math.random(0,6)-3})
--            else
--                for i=1,item:get_count() do
--                    local obj = minetest.env:add_item(pos, item:get_name())
--                    if obj == nil then
--                        return
--                    end
--                    obj:get_luaentity().collect = true
--                    obj:setacceleration({x=0, y=-10, z=0})
--                    obj:setvelocity({x=math.random(0,6)-3, y=10, z=math.random(0,6)-3})
--                end
--            end
--        end
    end
end


Any thoughts as to what is causing this?
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Apr 24, 2013 16:31

It is because that section of the map has not been loaded, iirc
Last edited by rubenwardy on Wed Apr 24, 2013 16:49, edited 1 time in total.
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Wed Apr 24, 2013 18:07

rubenwardy wrote:It is because that section of the map has not been loaded, iirc


So is it because I have an abm that creates TNT, and the TNT keeps getting added to the unloaded sections of the map?
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Thu Apr 25, 2013 14:31

Thanks for your help Rubenwardy. I decided to change my approach to randomly place the TNT with minetest.register_globalstep instead of an abm.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Thu Apr 25, 2013 17:24

I've hit another roadblock:

tntdropper.init
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local timer = 0
minetest.register_globalstep(function(dtime)
    timer = timer + dtime;
    --Place bombs around every 20 seconds.
    if timer >= 20 then
        timer = 0
        if math.random(0,11) >= 0.5 then
            minetest.chat_send_all("Bombs Away!")
        else
            minetest.chat_send_all("Look Out!")
        end
        local playerlist = minetest.get_connected_players()
        --Bomb every player in map.
        for _,player in ipairs(playerlist) do
            local tpos = player:getpos()
--            local testpos = player:getpos()

            --Check each block within a radius of 15 blocks of the player.
            for dx=-15,15 do
                for dz=-15,15 do
                    for dy=15,-15,-1 do
                        tpos.x = tpos.x+dx
                        tpos.y = tpos.y+dy
                        tpos.z = tpos.z+dz
                        --Around a 10% chance of placing tnt in valid node.
                        if math.random(0,100) > 90 then
                            local check = true
                             local setpos = {x = tpos.x, y = tpos.y - 6, z = tpos.z}
                             
                            --Checking if valid node.
                            if minetest.env:get_node({x = tpos.x, y = tpos.y - 7, z = tpos.z}).name ~= "air" and minetest.env:get_node(tpos).name == "air" then
--                                For testing purposes only:
--                                minetest.env:set_node({x = testpos.x, y = testpos.y + 7, z = testpos.z}, {name = "tnt:tnt"})
--                                minetest.env:punch_node({x = testpos.x, y = testpos.y + 7, z = testpos.z})
                               
                                for t=1,6,1 do
                                    if minetest.env:get_node({x = tpos.x, y = tpos.y - t, z = tpos.z}).name ~= "air" then
                                        check = false
                                    end
                                end

                                --If valid node... bombs away!!!
                                if check == true then
                                    minetest.env:set_node(setpos, {name = "tnt:tnt"})
                                    minetest.env:punch_node(setpos)
                                end
                            end
                        end
                    end       
                end
            end
        end
    end
end)


When the timer >= 20 my minetest.env:get_node functions In the line:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
--Checking if valid node.
if minetest.env:get_node({x = tpos.x, y = tpos.y - 7, z = tpos.z}).name ~= "air" and minetest.env:get_node(tpos).name == "air" then


keep returning "ignore" all except for one time. Can anyone spot the issue? After this issue is fixed, and I tweak the map a little, I'm done.

Edit:
Issue has now been solved. Prestidigitator pointed out the issue to me.
Last edited by Jonathan on Fri Apr 26, 2013 17:13, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Sat Apr 27, 2013 02:43

It's Finished!
Last edited by Jonathan on Sat Apr 27, 2013 02:59, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Sat Apr 27, 2013 03:03

Look's awesome! Maybe someone could make this into a WWII adventure but before the TNT drops, there is an air raid siren :)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Apr 27, 2013 06:34

rubenwardy wrote:It is because that section of the map has not been loaded, iirc

No, its because theres an entity limit per MapBlock
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
xavier108
Member
 
Posts: 227
Joined: Sat Nov 24, 2012 06:05
IRC: Ezlif

by xavier108 » Sat Apr 27, 2013 12:49

My netbook call this the great fps drop run
But the screenshots are great +1
Ezlif :D
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Sat Apr 27, 2013 23:19

Hybrid Dog, those are some great screenshots! Thanks for sharing :)
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Sun Apr 28, 2013 02:17

Since the TNT is falling from the sky, is there a different texture you think might work better with this map?
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Sun Apr 28, 2013 21:12

Hybrid Dog wrote:
Hybrid Dog said:
Image
I don't understand this warning.


Not sure what caused that warning. I never got it during all my testing and tweaking.

By the way I like the textures! :) I'll have to put it in the map (Can't do it today though). What license do you want me to use with the textures?
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Tue Apr 30, 2013 16:42

Would anyone by chance have a blender model of a plane? A model of a World War II plane would be really nice :)
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Apr 30, 2013 17:36

Looking good.
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Wed May 01, 2013 03:00

Jonathan wrote:Would anyone by chance have a blender model of a plane? A model of a World War II plane would be really nice :)

WWII Fighters dropping bombs in this map would be awesome! we could have pilots in them aswell, the player could also get into his/her plane and fight them off, a real WWII adventure!
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Wed May 15, 2013 14:48

Version 1.2 is out! Finally got the map fixed.

Although, it does not use new textures for the TNT yet, due to the link to Hybrid Dog's new textures being removed (not sure why).

Feel free to make maps just like this. I would not mind trying the map ;). I might make some updates later on as well.
Last edited by Jonathan on Wed May 15, 2013 14:51, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Wed May 15, 2013 16:57

Version 1.21 is out! New textures from Hybrid Dog are used now.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Thu May 16, 2013 19:00

New update (Version 2) might be coming soon! Sneak peek below of one of the things that will be added:

https://www.dropbox.com/s/q8ylbf8m9vmxo37/NewTNT.png

This will be an additional TNT type that will be dropped.
Last edited by Jonathan on Thu May 16, 2013 19:05, edited 1 time in total.
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Fri May 24, 2013 19:09

Another sneak peek :D

Image Image
Image Image
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Fri May 24, 2013 21:34

This is a great map! :D Still haven't managed to find a bunker though. (even when flying with noclip :P)
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Mon May 27, 2013 18:40

Hybrid Dog wrote:
Evergreen wrote:This is a great map! :D Still haven't managed to find a bunker though. (even when flying with noclip :P)
I only spawned at the first one. I have never been at the second one.


You won't spawn in the bunker anymore. The newest version does not spawn you in the bunker, and the bunker locations have been changed since the first version ;)
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07

by Jonathan » Tue Jun 04, 2013 13:31

A spin off of The Great Bombing Run! has been created.

You can find it here: http://forum.minetest.net/viewtopic.php?id=6178

Note: This spin off does not contain planes, that is coming later. :)
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Mon Jun 17, 2013 22:49

Here are 2 missiles you might find helpful, in blend format:
One I found free on the internet:https://www.dropbox.com/s/l8d7yun6jm03p61/AGM-65-Maverick-Air-to-Ground-Tactical-Missile.zip
One I made (My first ever blend!):https://www.dropbox.com/s/zxlx43uhdamg18k/rocket.zip
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 


Return to Minetest Maps

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron