Garry's Mod

Garry's Mod

Orbital Friendship Cannon (Admin-Only)
댓글 82
Osk13 2023년 11월 11일 오후 9시 06분 
e
Foxe  [작성자] 2020년 8월 15일 오전 5시 42분 
???
Foxe  [작성자] 2020년 8월 14일 오후 6시 04분 
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  [작성자] 2020년 7월 28일 오후 8시 30분 
As far as I know, it should be. No one has said otherwise.
dr. kleiner 2020년 1월 20일 오후 5시 58분 
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 2017년 5월 19일 오후 8시 22분 
:p
Foxe  [작성자] 2017년 5월 19일 오후 5시 58분 
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 2017년 5월 19일 오전 4시 42분 
I really enjoyed you`re addon sir! But You have a title mistake on the video. It says, "Orbital Friendship Canon"
Foxe  [작성자] 2016년 10월 3일 오후 4시 50분 
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⌬⫸ 2016년 10월 3일 오후 1시 39분 
Im not
Foxe  [작성자] 2016년 10월 2일 오후 6시 36분 
Huh... You're not trying to fire it indoors, are you?
Otherwise I'm not sure what is happening D:
⫷⌬Emperor Phoenix⌬⫸ 2016년 10월 2일 오전 7시 42분 
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 2016년 8월 9일 오후 9시 40분 
@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 2016년 5월 19일 오후 4시 49분 
:D:
cwg 2016년 1월 20일 오후 5시 27분 
I added this to my server, my friends who aren't admins are able to spawn it.

Can anybody help?
coy1010allen 2015년 11월 28일 오후 4시 07분 
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  [작성자] 2015년 10월 30일 오후 6시 53분 
Apparently ThoughtWave42 :v
Minus 2015년 10월 30일 오전 1시 59분 
Who thought it would be a good idea to weaponize Rainbow Dashes Sonic Rainboom?
AnErrorHasOkuued 2015년 10월 11일 오후 7시 46분 
wai-wait a second is that what is think it is if so. Wow
Amber Slime 2015년 10월 3일 오전 7시 33분 
That was either Rainbow Dash or a trail mix loving pig (LOLOLOL MINECRAFT MOD JOKE)
Henry of Skalitz 2015년 8월 28일 오전 4시 44분 
rainbow dash made this supersonic boom
Foxe  [작성자] 2014년 12월 1일 오후 2시 32분 
Awesome! :D And you're welcome~
Laser Guided Anime Fish 2014년 12월 1일 오전 9시 40분 
And the fix solved my issue! Thanks for the quick reply! :D:
Foxe  [작성자] 2014년 12월 1일 오전 5시 10분 
And finished uploading fix. I hope that issue is solved D:
Foxe  [작성자] 2014년 12월 1일 오전 5시 03분 
.... Okay, found one possible error, one item had a repeat of ao in it.
Uploading fix in a few moments here.
Foxe  [작성자] 2014년 12월 1일 오전 4시 43분 
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  [작성자] 2014년 12월 1일 오전 4시 30분 
Fresh map? First thing you do? Default sandbox map?
Laser Guided Anime Fish 2014년 11월 30일 오후 9시 07분 
What's happening with me is happening in single player, even when I fire only once.
Foxe  [작성자] 2014년 11월 30일 오후 7시 27분 
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 2014년 11월 30일 오후 6시 08분 
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 2014년 10월 11일 오후 10시 30분 
Thank you for a quick and concise answer.
Foxe  [작성자] 2014년 10월 11일 오후 10시 12분 
@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 2014년 10월 6일 오전 3시 57분 
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 2013년 12월 27일 오전 11시 19분 
Hm, i really dont know what could be the problem then if both codes are identical
Foxe  [작성자] 2013년 12월 27일 오전 3시 35분 
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 2013년 12월 26일 오전 10시 05분 
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  [작성자] 2013년 12월 26일 오전 12시 48분 
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 2013년 12월 25일 오전 6시 06분 
tested on my server and the non-admin version is fine i just easily made it admin with my admin mod
Brad 2013년 12월 25일 오전 6시 05분 
Foxe, got news for some reason its ONLY the admin gun that makes the white light the non-admin version is fine
Foxe  [작성자] 2013년 12월 25일 오전 3시 01분 
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 2013년 12월 24일 오후 3시 55분 
Broken, just shows white light that is all and no rainbow effect when fired
Blaugh 2013년 11월 23일 오후 1시 39분 
Increase admin fire rate! :D
Plasmawario 2013년 11월 1일 오후 7시 20분 
i showed my friends how much i love them...with this weapon =P
Foxe  [작성자] 2013년 9월 15일 오후 12시 00분 
Alright, I'm glad you got it sorted out :D
Guy 2013년 9월 15일 오전 10시 47분 
I also installed the other one and it works now.
Foxe  [작성자] 2013년 9월 15일 오전 10시 31분 
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 2013년 9월 15일 오전 6시 42분 
When i use this i only get a rainbow laser that gets stuck on the map.
Foxe  [작성자] 2013년 9월 9일 오전 4시 23분 
For all who are only watching the comments, I've fixed the "spawnable" issue, amongst others. The swep is fully usable now :D
Foxe  [작성자] 2013년 9월 2일 오전 11시 40분 
Hmm, I think I'll have to try that, it makes some sense, and I was kinda thinking that too.
Quirky View 2013년 9월 2일 오전 9시 35분 
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.