Jump to content




[MC 1.7.10][CC 1.65] ÜNA - Über Networking Antennas


19 replies to this topic

#1 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 23 October 2014 - 05:19 PM

Über Networking Antennas

Trailer



What is ÜNA ?

ÜNA is a ComputerCraft add-on that let you create huge antennas, allowing you to send messages through a very long distance (even through dimensions), and that without having a huge amount of Chunk Loading. In order to have a little RP dimension and more difficulty, you will have to launch customizables Satellites in space. The gameplay is for now a bit light, but it will surely become richer in the future.

Feel free to use it in any modpack (but just give a credit please lol).


Downloads



Current Version

ÜNA 0.1.0 for Minecraft 1.7.10

Compatible with ComputerCraft 1.64 and 1.65


Changelog

- 0.1.0 : Energy Update
- Added Solar Storms Capacitors and Satellite Batteries
- Fixed some potential bugs
- Energy consumption

- 0.0.2 : - Better client/server optimization
- Fixed a major bug with GalactiCraft

- 0.0.1 : First release

My Twitter for the updates

How to use

1. Satellites

Satellites are an essential part of the mod : they allow the antennas to communicate.
Every Satellites have to be made with at least a Satellite Core, it's basically the element that link them all.

Posted Image
Satellite Core

In space, a Satellite Core alone is not enough. So you'll need to add Satellite Bridge Upgrades.
Those upgrades allow antennas to connect to the Satellite. Alone, those upgrades allow 3 antennas to connect to the Satellite.
You can add an illimited amount of them to a Satellite.


Posted Image
Satellite Bridge Upgrade

To launch a Satellite, you'll have to send every element one at a time.
However, when you'll launch a Satellite Core, you will need to have a Satellite Identifier.
This little card will store the name of you future Satellite and the very secret control codes.
(those codes are so secret that you will never see them xD)
Be careful, this card will then become unique. If you loose it, you also loose the control of your Satellite.
By right clicking a Satellite Controler or an Antenna Controler, you link it to the Satellite.

Posted Image
Satellite Identifier

2. Satellite Controller

Posted Image

The Satellite Controller is an element allowing you to send and control Satellites.
It needs energy in order to send satellites (10000 + distanceToSkyInBlocks * 50 Units).
You can send elements to space with it like this :

Posted Image

It is a peripheral. You can call those functions :
  • isComponentSendable(), boolean : Return if a Satellite element is ready to be sent.
  • sendNewSatellite(), boolean : Prepare the platform to send a Satellite Core. To validate, you'll have to right-click the Satellite Controler with a Satellite Identifier. It will then be assigned to this Satellite.
  • sendNewElement(), boolean : Send an element to the connected Satellite (except Satellite Core).
  • selfDestruct(), boolean : Destroy the connected Satellite.
  • getFrequency(), string : Return connected Satellite's name (its frequency).
  • deconnect(), void : Deconnect the connected Satellite from the Satellite Controler.
3. Antennas

Antennas are the main gameplay element of the mod. You build them like this (air blocks may be replaced by everything you want) :

Spoiler





Posted Image
Antenna Frame


Posted Image
Antenna Support


Posted Image
Antenna Transmitter




Posted Image
Antenna Controller


This last block (Antenna Controller) is a peripheral, its functions are the following :
  • isBuilt(), boolean : Return if yes or no the multiblock structure is correctly built (the controler may take up to 30 seconds to realize the the antenna is built again).
  • open(), boolean : Return true if the computer is now correctly listenning messages from the antenna. In case of incoming message, an event is fired ("uber_message") with the sender id and message as parameters. Receiving a message cost 20 Units/listenning antenna to the Satellite.
  • broadcast(string message), boolean : Send the message to every computers listenning an antenna connected to the same Satellite that the sender's one. Return true if the message has been received by at least one computer (just received, not treated).
  • send(number id, string message), boolean : Same as broadcast, but will be received only by the computer with the specified ID.
  • getFrequency(), string : Return connected Satellite's name (its frequency).
  • setFrequency(string frequency), boolean : Allow the user to manually set the frenquency of the targeted Satellite without owning the Satellite Identifier.
4. Energy

ÜNA implements a small and independant energy system.
The Satellite Battery, when connected to a Satellite, give energy storage to the Satellite (10 000 Units).
On the ground, if connected* directly to a Satellite Controller, it allows the Controller to get its energy.
A Satellite Battery can be connected* to a Satellite Solar Storms Capacitor.
Those capacitor catch Solar Storms particles, it happens almost every 30 seconds (it produce 300 Units/30 seconds/capacitor).
Those batteries, if picked by a turtle, keep their energy storage.

* by connect, I mean you only place them next to each other


Known issues
  • peripheral.getFrequency() not working in Satellite Controllers
TODO list
  • More upgrades to Satellites
  • More stuff to do with Satellites and energy
  • Fix little issues said before
License

This mod is licensed under JMMPL 1.0.


Hope you'll enjoy this mod !

Edited by JustPingo, 06 April 2015 - 10:15 AM.


#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 23 October 2014 - 07:03 PM

I would discourage the use of a listMethods peripheral method. It is better to use the built-in method of getting peripheral names, peripheral.getMethods(name).

#3 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 23 October 2014 - 08:00 PM

I've never heard about that peripheral.getMethods function.
So listMethods will surely disappear in the next update. Thanks.

#4 Agent Silence

  • Members
  • 319 posts
  • Location[string "FindMe"]:23143: bad argument #1 to 'returnPos' (vector expected, got nil)

Posted 23 October 2014 - 11:28 PM

There is a typo, It is controller, not controler

#5 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 24 October 2014 - 09:14 AM

View PostAgent Silence, on 23 October 2014 - 11:28 PM, said:

There is a typo, It is controller, not controler

Yep that's true. Translating mistake.
I'll fix it in the next update.

EDIT : Updated.

Edited by JustPingo, 24 October 2014 - 09:43 AM.


#6 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 24 October 2014 - 06:32 PM

How do you receive messages? Is there an event or something?

#7 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 24 October 2014 - 07:13 PM

Yep!

View PostJustPingo, on 23 October 2014 - 05:19 PM, said:

In case of incoming message, an event is fired ("uber_message") with the sender id and message as parameters.


#8 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 25 October 2014 - 09:15 PM

New update ! ÜNA 0.0.2

Better client/server optimization
Fixed a major bug with GalactiCraft

#9 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 11 November 2014 - 08:42 PM

New update ! ÜNA 0.1.0

Energy Update
- Added Solar Storms Capacitors and Satellite Batteries
- Fixed some potential bugs
- Energy consumption

#10 Secret2

  • New Members
  • 1 posts

Posted 20 December 2014 - 06:17 PM

The solar panels only work for a day and then don't generate power again even when it's day time

#11 negamartin

  • Members
  • 46 posts

Posted 23 December 2014 - 09:59 PM

This is way too overexpensive and overcomplicated, specially when compared with computercraft's standards. It's ok to ask for some enderpearls or some diamonds, but this...
Also, you should replicate the modem API, not rednet.

#12 SpencerBeige

  • Members
  • 263 posts

Posted 24 December 2014 - 03:43 AM

diemensional? NETFLIX IN THE NETHER!

#13 Darkhej

  • Members
  • 3 posts

Posted 21 January 2015 - 10:12 AM

Can you please upload it again.

#14 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 21 January 2015 - 05:25 PM

View PostSecret2, on 20 December 2014 - 06:17 PM, said:

The solar panels only work for a day and then don't generate power again even when it's day time

Oops. It will be fixed asap.

View Postnegamartin, on 23 December 2014 - 09:59 PM, said:

This is way too overexpensive and overcomplicated, specially when compared with computercraft's standards. It's ok to ask for some enderpearls or some diamonds, but this...
Also, you should replicate the modem API, not rednet.

That was the idea. This things allow you to send message across dimensions.
But anyway, I don't get what is too expensive.
And modem is a little bit too high level. I want you to do some programming instead of just a plug and play system ^^

View Postdarkhej, on 21 January 2015 - 10:12 AM, said:

Can you please upload it again.

Sorry, I had completly forgotten that my dropbox did that annoying thing.
Fixed.

Edited by JustPingo, 21 January 2015 - 05:30 PM.


#15 Darkhej

  • Members
  • 3 posts

Posted 31 January 2015 - 03:28 PM

Thank you.

#16 zurbo

  • Members
  • 14 posts

Posted 04 April 2015 - 04:09 AM

Hello,
I'm working on a public FTB Modpack and I would like to know if I can use this mod ? I will provide a link to this thread.

#17 JustPingo

  • Members
  • 108 posts
  • LocationFrance

Posted 06 April 2015 - 10:14 AM

View Postzurbo, on 04 April 2015 - 04:09 AM, said:

Hello,
I'm working on a public FTB Modpack and I would like to know if I can use this mod ? I will provide a link to this thread.

Yeah, sure!

#18 PomTom12

  • Members
  • 14 posts

Posted 22 June 2015 - 03:54 AM

This is cool, Ive been looking for something to send messages long distance

#19 DejaVu

  • Members
  • 31 posts

Posted 01 July 2016 - 08:04 PM

cool as a bean.
:)

#20 joshuachris

  • Members
  • 6 posts

Posted 13 November 2016 - 10:14 PM

i can't seem to get the batteries to do any thing or the solar storm capacitor but the api works fine
is there a way i can give the satellite controller power





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users