Monthly Archives: December 2012

Portalgun had to undergo an emergency update to fix a major bug with its portals.

Changes to 1.4.5v2 is the same as 1.4.6v2, with one additional, included in the 1.4.6v2 hotfix:

– Fixed players who go through portals may randomly accidentally pull all other players in the vicinity along with said player.

At this point of time the creeperhost repo appears to be… malfunctioning for 1.4.5v2, so grab the file from the mirror.

Hotfix for 1.4.6v2 is in the primary mirror only. Only clients need to redownload and reinstall this. Servers are unaffected.

Also a reminder: DO NOT use forge build 481. It is currently broken.

As a few of you guys know, Portal Gun has been undergoing a complete rewrite, but due to the release of 1.4.6, its release had to be pushed ahead, slightly incomplete. These updates to return content will come in the future, after which I will move on to new content.

Anyways, that’s not the objective of this post. This post if to inform you guys of what’s new/changed in the rewrite.

Rewritten Code Base

Most of the base code that makes the mod what it is has been rewritten from the ground up. This, in the end resulted in cleaner code and a better (lots) working environment, as well fixing a couple of potential issues in the future.

New Config format/file

As a couple of you who may have noticed (*cough* non-modpack users *cough*), the config file has been redone, also from scratch, and also using forge’s Configuration utility. As you can see from the picture, the old config was kinda messy, while the new config is much neater with appropriate comments.

Also while you’re looking at the picture I would want to highlight that there is an unused block ID in the config, which will be removed in future versions, and that the default block ID range has been moved to 1100 onwards.

Also would want to add, there used to be 3 config files, client (with LAN map settings), server, and map settings. That has now been changed so that client and servers share the same config, while the map config itself is a standalone which gets loaded every time the map is loaded.

 

Mod part individualization

With the new code base, it has become easier for me add new mod parts. Therefore the mod parts have been reorganised, giving each specific category a more precise individuality. Want portal guns, but no long fall boots? You can easily disable them, like I’ve shown in the picture above, Grids, Lasers and Checkpoints as well as Long fall boots have been disabled (for example purposes only).

New API added

As with the rewrite comes some a new API that is packaged with the release, for use of modders. Say, you don’t want the turrets to shoot at your Entity, or you don’t want certain blocks to be picked up, use the API. The mod also accepts IMCMessages sent before @PostInit, with the same names as in the API, send the list in a string as you would list them out in the config file to “PortalGun”. There is also an additional IMCMessage accepted referenced as “BaconMod” for the key. Simply put your Class (containing a static reference to the item) and Item field name in as the value, eg “gravigun.common.GraviGun, itemGraviGun”, and the mod will use that item in place of the raw porkchop used for the bacon gun.

Gameplay Changes

If you are just an average user, this will be what you’d be looking for.

The rewrite is INCOMPLETE!

Right now, mainly because of the release of 1.4.6, the release of the rewrite had to be pushed forward at an incomplete stage. For now the mod is lacking a couple of items, most notable are See through portals, Fizzlers, Lasers, and checkpoint blocks. ALSO, it is incompatible with previous versions of Portal Gun. Most items will survive, but many blocks will not.

Update Checker

PortalGun now comes with an update checker. While it checks that your sounds are all downloaded, it also checks for a new version of PortalGun. If there is an update you’ll be notified once you join a world.

New/Changed Recipes

There’s a couple of new/changed recipes, these changes are permanent and will not be changed any time soon.

“What? A nether star?? Are you joking?!”

No, I’m not. There have been many complains of the mod being over powered so this is my solution.

“No way, I am not going to be able to fight a wither!”

Then I would suggest you begin dungeon hunting:

Portal Guns (All 5 of them), Spawners and Fizzlers have been added to dungeon loot. It is at a low, but still possible chance.

See Through Portals have been disabled for now

As this being a rewrite, I am looking for a new way to render the portals as see through, so for now see through portals does not exist. The portals which have a link to them will render as “open” state, if the link is loaded within the area.

Portals act as chunkloaders

Placement of portals have a preset range (previously being “as far as the world is loaded”) and can go up to 10000 blocks by default config now. Portals themselves should have no issues and will keep the chunks the bottom half is in loaded, like your average chunkloader.

Resetting portals have improved

You can hold and release R to remove both portals of the particular gun you are holding, or you can hold R and hit the Left mouse button or the Right mouse button to close just one of the corresponding portals.

New PortalGun model

Many thanks to the collaborative efforts of both L5_ and mr_hazard|d95, there is now a new PortalGun model to be used! It is used on the pedestal as well, replacing the old model.

Grabbed entities (including blocks) can transverse through nether portals now.

Yep, go ahead and bring that blaze spawner to the overworld, I dare yeh.

Introducing the Potato Gun

Yep, it’s finally here. There’s finally potatoes in Minecraft. With a bit of nifty redstone workmanship you can craft a PotatOS (recipe above), and attach it to a Portal Gun!

And yes! It really talks!

Compatibility with the Gravity Gun mod

Both mods communicate with one another to avoid conflicts with grabbed entities.

GUI for Aerial Faith Plates uses sliders to adjust the power

No longer will you be confined by Integral power!

Portal Spawner Items drop with their configurations saved

Yep. From now onwards Portal spawners will drop with whatever configuration you set them saved. It is stored in the item, so any mods you have that places Items can be used to place them down! Props to Tahg for requesting this.

New Creative Tab for mod items

PortalGun has its own Creative Tab for listing down the mod items now.


Well, that’s pretty much all the new stuff I can list down for now (that I can remember).

Have fun, and season’s greetings!

– iChun

– Fixed rare crashing issues with portals.
– Fixed incorrect recipe for potatOS.
– Removed unused third block ID in config.
– Moved Aerial Faith Plates from “Decoration” to “Transport”.
– Increased Forge requirement to 6.5.0.480 due to important bugfix in FML.

Many thanks to all the peeps who’s donated 🙂 I’ve went and gotten the ASUS GeForce® GTX 650 Ti DirectCU II dual-fan performance graphics. Took a few pics (Excuse the bad phone cam quality):

I won’t be listing down the donators here, You guys know who you are! Once again many thank yous to those who donated, as well as those who continue to support my mods (and me) all these while.

Cheers, and Happy holidays!

-iChun

PortalGun has been rewritten, 1.4.5v1 is identical in terms of functionality to 1.4.6v1.

There is no documentation on the rewrite at this point of time so use at your own discretion.

Some stuff has been shifted around, it is NOT compatible with the old versions, most of the items can be carried over however. A few recipes has been changed as well.

 

I am not liable for any crashes/corruption that happens to your worlds when updating.

Hey guys,

A couple of you know about this by now, but recently (2 days ago) my graphics card died while I was modding. This happened immediately after i got 1.4.5v2 of Gravity Gun ready. Until I get a replacement I won’t be able to work on my mods efficiently as the card was on my primary system (on which I code, mod, game, etc on).

This was pretty much of a bummer cause I was supposed to be playing a coop game with a friend within the next few weeks, I don’t have a backup card nor onboard graphics so I’m unable to even use the PC right now.

After speaking to a couple people on #Direwolf20 , I’ve decided to get a GeForce GTX 650 Ti, particularly of ASUS brand. After a bit of digging around I found out it costs approximately USD 200 in my local currency (MYR).

If you’d like to help me out somehow, you could do me a favour and drop a donation via chipin on the sidebar on the right (It’s just below the advertisement) –>

When the chip in reaches its goal/ends, I’ll send the highest donator a free copy of the Humble THQ Bundle (above average) via the email they used to donate with. Somewhat as a small thank you I can manage 🙂

Until then, cheers.

-iChun

Another pic here.

– Fixed grabbing entities riding the grabber.
– Fixed wrong world instance usage.
– Fixed “failed to read settings” issue when unsuccessfully connecting to servers.
– Fixed improper model alignment on non-player entities holding the gravity gun.
– Players now hold the gravity gun the same way they hold an armed bow.
– Changed moved gravigun folder from mods to resources.

Might wanna click above to see the two in full view…

 

Anyways! Recently there was this.. well, post a while ago, asking if anyone wanted to help make a new model for portalgun. You can view that post here. So it somewhat turned into a competition. In the end, a couple of people finally decided on these last two candidates, mr_hazard|d95 and L5_ (sorry Kealani! We took note of your submission too, even though it was late!)

Above is a screenshot of what each of the models look like, hazard’s on the left, L5’s on the right.

For a live preview of the models, check out Techne Online here:

mr_hazard|d95’s Model                                                  L5_’s Model

(Note you can mouse scroll and right click in the window to look around)

 


 

 

Okay so… Now that you’ve looked at the models, maybe pick out a favourite, what we need now is your opinion! Which model do you like better? It is up to YOU to choose which model will be put into Portal Gun.

Vote here: Minecraft Forums

 

There you can decide on hazard’s, or L5’s, and with a twist, a mashup of the best of both models, hazard’s portal gun and L5’s pedestal.

 

Feel free to comment, make suggestions, etc, etc, below.

– iChun