Garry's Mod

Garry's Mod

Orbital Friendship Cannon (Admin-Only)
82 commentaires
Osk13 11 nov. 2023 à 21h06 
e
Foxe  [créateur] 15 aout 2020 à 5h42 
???
Foxe  [créateur] 14 aout 2020 à 18h04 
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
If my memory serves me well enough, it needs both of these to be true in order for it to be able to be spawned by admin only. I vaguely remember when trying to test without spawnable being true, and it wouldn't let me spawn it even as an admin.
Foxe  [créateur] 28 juil. 2020 à 20h30 
As far as I know, it should be. No one has said otherwise.
dr. kleiner 20 janv. 2020 à 17h58 
can somebody make a cannon like this except it has real explosions so it looks like a real orbital cannon? this mod would be perfect if it was a orbital cannon that looked real. anyways, this addon looks really cool.
SomeFearsomeDude 19 mai 2017 à 20h22 
:p
Foxe  [créateur] 19 mai 2017 à 17h58 
Oh, that's the video maker's fault, I have no control over it. Was wondering why that topic came up on the other version of this.
If you have a complaint on the video, bring it up with the video maker xD
I know the difference between cannon and canon :P
SomeFearsomeDude 19 mai 2017 à 4h42 
I really enjoyed you`re addon sir! But You have a title mistake on the video. It says, "Orbital Friendship Canon"
Foxe  [créateur] 3 oct. 2016 à 16h50 
Then I don't know what's happening x.x
I only knew enough about how to fix the addon so it would work with gmod 13, but I don't know enough to troubleshoot it very well
⫷⌬Emperor Phoenix⌬⫸ 3 oct. 2016 à 13h39 
Im not
Foxe  [créateur] 2 oct. 2016 à 18h36 
Huh... You're not trying to fire it indoors, are you?
Otherwise I'm not sure what is happening D:
⫷⌬Emperor Phoenix⌬⫸ 2 oct. 2016 à 7h42 
I Keep getting this in Console When I Try to Shoot: [ERROR] lua/weapons/orbital_friendship_beam_ao.lua:241: attempt to index local 'self' (a nil value)
1. unknown - lua/weapons/orbital_friendship_beam_ao.lua:241

Timer Failed! [aokill][@lua/weapons/ao_orbital_friendship_cannon.lua (line 77)]

[Orbital Friendship Cannon (Admin-Only)] lua/weapons/orbital_friendship_beam_ao.lua:155: attempt to index local 'self' (a nil value)
1. start - lua/weapons/orbital_friendship_beam_ao.lua:155
2. unknown - lua/weapons/ao_orbital_friendship_cannon.lua:76
Delta 9 aout 2016 à 21h40 
@Person, that is 2 users below me

I can't help you with that, but If they do it use sv_cheats 1, then do godmode, then use an admin gun to kill or spawnkill.
That is a punishment :D.
Just a tip from Mr.Epic
balenciaga 19 mai 2016 à 16h49 
:D:
cwg 20 janv. 2016 à 17h27 
I added this to my server, my friends who aren't admins are able to spawn it.

Can anybody help?
coy1010allen 28 nov. 2015 à 16h07 
wait... if rainbowdash makes the sonic boom when she goes past the sound barier and the beam is going from the sky to the ground... then she is hiting the ground at sonic speeds... and nothing remains. this is a grim-dark addon!
Foxe  [créateur] 30 oct. 2015 à 18h53 
Apparently ThoughtWave42 :v
Minus 30 oct. 2015 à 1h59 
Who thought it would be a good idea to weaponize Rainbow Dashes Sonic Rainboom?
AnErrorHasOkuued 11 oct. 2015 à 19h46 
wai-wait a second is that what is think it is if so. Wow
Amber Slime 3 oct. 2015 à 7h33 
That was either Rainbow Dash or a trail mix loving pig (LOLOLOL MINECRAFT MOD JOKE)
Henry of Skalitz 28 aout 2015 à 4h44 
rainbow dash made this supersonic boom
Foxe  [créateur] 1 déc. 2014 à 14h32 
Awesome! :D And you're welcome~
Laser Guided Anime Fish 1 déc. 2014 à 9h40 
And the fix solved my issue! Thanks for the quick reply! :D:
Foxe  [créateur] 1 déc. 2014 à 5h10 
And finished uploading fix. I hope that issue is solved D:
Foxe  [créateur] 1 déc. 2014 à 5h03 
.... Okay, found one possible error, one item had a repeat of ao in it.
Uploading fix in a few moments here.
Foxe  [créateur] 1 déc. 2014 à 4h43 
I'm also not sure how you got -1 for the setpos readout if you're shooting it in an open area O.o That kinda is the difference in the two errors. I think I may have to have you unsub, go into your addons folder, delete the addon, and then resub and see if that fixes it, because if you get that kind of error, there's something seriously wrong with the game..

Or if you want to, you could simply try verifying the integrity of gmod first, and see if that fixes the problem.

If the error happens on the default sandbox map after you do either/both of those fixes, then I got no idea what's going on
Foxe  [créateur] 1 déc. 2014 à 4h30 
Fresh map? First thing you do? Default sandbox map?
Laser Guided Anime Fish 30 nov. 2014 à 21h07 
What's happening with me is happening in single player, even when I fire only once.
Foxe  [créateur] 30 nov. 2014 à 19h27 
Please see the previous commenter's conversation with me, the thing that's causing this to happen is when the swep is fired too soon before another person shoots it. I'm not entirely sure why this is happening, I wish I could fix it, but I don't have the knowledge or the time to learn what's going on.
Do remember this was originally designed with single player in mind when it was made, I merely modified it to work with the current version of Gmod and cleaned it up so that this error would be less likely to happen.

You can fix the error by cleaning up your map in the Q menu tools, I forget exactly where, but I believe it's under the tab labeled tools on the right side. This is very likely to remove all items on your map that weren't there on map startup. If you wish, you can cause the error to happen again and systematically go through the list and see which element has to be cleaned up for the laser to go away, I'd really like if you could tell me which it is if you decide to do that
Laser Guided Anime Fish 30 nov. 2014 à 18h08 
Any time I attempt to fire the weapon, it fails and the laser won't leave. I get this eror

[Orbital Friendship Cannon (Admin-Only)] lua/weapons/ao_orbital_friendship_cannon.lua:139: Tried to use a NULL entity!
1. SetPos - [C]:-1
2. start - lua/weapons/ao_orbital_friendship_cannon.lua:139
3. unknown - lua/weapons/ao_orbital_friendship_cannon.lua:76

. . .

[Orbital Friendship Cannon (Admin-Only)] lua/weapons/ao_orbital_friendship_cannon.lua:154: Tried to use a NULL entity!
1. Remove - [C]:-1
2. unknown - lua/weapons/ao_orbital_friendship_cannon.lua:154

Timer Failed! [aokill][@lua/weapons/ao_orbital_friendship_cannon.lua (line 77)]
Shy 11 oct. 2014 à 22h30 
Thank you for a quick and concise answer.
Foxe  [créateur] 11 oct. 2014 à 22h12 
@shyska ronja: That error seems to only happen when you manage to fire two beams one right after another before the first one's timer finishes. The swep was originally designed for single player and I have yet to figure out how to fix this problem, I'm sorry.

For the time being, to avoid this error, please avoid shooting the gun within 1 second of another gun.

If it's happening even on a fresh map, then I don't know what's going on.
To make the beams go away manually without reloading the map, is by clearing the map, however that will remove anything you have manually changed or placed. If you want to go through the list you can see if you can find the clean option that takes care of it, feel free to try, and if you find one that works, please let me know.

I again apologize for any difficulties this has caused D:
Shy 6 oct. 2014 à 3h57 
I keep getting the following error message, [Orbital Friendship Cannon (Admin-Only)] lua/weapons/ao_orbital_friendship_cannon.lua:154: Tried to use a NULL entity!
1. Remove - [C]:-1
2. unknown - lua/weapons/ao_orbital_friendship_cannon.lua:154

Timer Failed! [aokill][@lua/weapons/ao_orbital_friendship_cannon.lua (line 77)]

And I have no idea what it means. But it leaves permanant lasers that leave a rainbow that won't disapear.
Brad 27 déc. 2013 à 11h19 
Hm, i really dont know what could be the problem then if both codes are identical
Foxe  [créateur] 27 déc. 2013 à 3h35 
Both codes are identical, or nearly so. The only difference is the naming of the common files. I had to rename the files owned by this one because people would have conflicts when using both at the same time.
Brad 26 déc. 2013 à 10h05 
It isent anything to do with the map as well.. i have tested it on 3 maps, also there is good news the non-admin version is fine, i guess maybe... copy the non-admin version code and make it admin again? or are both the codes the same?
Foxe  [créateur] 26 déc. 2013 à 0h48 
Huh.. Strange.. Well, I don't know how mods are made to be compatible with dedicated servers, I only know about client. So I'm very sorry, I wish I knew how to fix that issue, I've never worked with the dedicated server setup.
Brad 25 déc. 2013 à 6h06 
tested on my server and the non-admin version is fine i just easily made it admin with my admin mod
Brad 25 déc. 2013 à 6h05 
Foxe, got news for some reason its ONLY the admin gun that makes the white light the non-admin version is fine
Foxe  [créateur] 25 déc. 2013 à 3h01 
Did Gmod update recently? As I've mentioned a few times, I'm not in a position to do updates at this time. Need new computer, ya know? lol
Brad 24 déc. 2013 à 15h55 
Broken, just shows white light that is all and no rainbow effect when fired
Blaugh 23 nov. 2013 à 13h39 
Increase admin fire rate! :D
Plasmawario 1 nov. 2013 à 19h20 
i showed my friends how much i love them...with this weapon =P
Foxe  [créateur] 15 sept. 2013 à 12h00 
Alright, I'm glad you got it sorted out :D
Guy 15 sept. 2013 à 10h47 
I also installed the other one and it works now.
Foxe  [créateur] 15 sept. 2013 à 10h31 
If you use two at the same time, it would likely give you an error like that. But if it didn't say anything like "Something is creating errors", then try unsubscribing and resubscribing and restarting gmod, then trying it again. You may of gotten a version that didn't update. I recently did a ton of updating. Let me know if that helps! o:
Guy 15 sept. 2013 à 6h42 
When i use this i only get a rainbow laser that gets stuck on the map.
Foxe  [créateur] 9 sept. 2013 à 4h23 
For all who are only watching the comments, I've fixed the "spawnable" issue, amongst others. The swep is fully usable now :D
Foxe  [créateur] 2 sept. 2013 à 11h40 
Hmm, I think I'll have to try that, it makes some sense, and I was kinda thinking that too.
Quirky View 2 sept. 2013 à 9h35 
For some reason the friendship cannon is called "PRINT NAME" with no icon and shooting it doesn't do anything at all. Although in reading your lower comment I think you're supposed to have them both true to be admin only and "SWEP.Spawnable" only for it to be anyone.