I'll update this post as I see fit
If anyone has any questions / think you found a bug in cds please tell me.
Note: You can hit the use key to fire these sents (unlike gcomabt)
List of SENTS included in this release (all made by me):
[list=1][*]Gun - EMP: Turns off all supplies are a location for 5 seconds[*]Gun - Freeze: Freezes all props in a location for 1.5 seconds[*]Gun - Heat: Causes heat in a location which can cause the ship to overheat if the ship doesn't have a space shield / temp regulator[*]Gun - Machine: Shoots bullets at a location[*]Gun - Pierce: Pierces up to 3 props damaging the props armor first, then health[*]Gun - Disintegrate: Goes through ANY prop that gets in its way and disintegrates it. This is one of the strongest guns.[*]Gun - Super: It's the all-in-one gun everyones been looking for[*]Missile Launcher - Anti-Gravity: Shots a anti-gravity missile which messes with the props gravity near the area where it hits[*]Missile Launcher - Disintegrate: Shots a disintegrate missile which disintegrate's any props in the location where it hits[*]Missile Launcher - EMP: When it's missile collides it will turn off all supplies are a location for 8 seconds[*]Missile Launcher - Explosion: Shots a explosion missile which does a lot of damage to the area where it hits[*]Missile Launcher - Seeker[*]Missile Launcher - Freeze: Shots a freeze missile which freezes props in a wide radius for a while[*]Bomb Bay - Freeze: Similar to freeze missile but doesn't use fuel and is dropped[*]Bomb Bay - EMP: Similar to EMP missile but doesn't use fuel and is dropped[*]Bomb Bay - Explosion: Similar to explosion missile but doesn't use fuel and is dropped[*]Bomb Bay - Disintegrate: Similar to disintegrate missile but doesn't use fuel and is dropped[*]Space Shield: Protects your ship from ANY damage. It protects your ship from any cds weapon attacks..besides emp (This is a total rewrite of my old ent. It does nothing like the other one)[*]Wireless Resource Syncer: You can wirelessly sync resources between 2 locations[*]Ammo Factory - Basic: A basic ammo generator[*]Ammo Factory - Pierce: A pierce ammo generator[*]Ammo Factory - Explosion: A explosion ammo generator[*]Ammo Factory - Fuel: A fuel ammo generator for missile launchers [/list]
For Wire Users (Applies to all ents):
[list=1][*]Fire: Fires what the use key would normally do[*]Disable Use: Disables the use key for that ent (anti-minge protection)[*]Draw Beam: Draws a beam so you know where your weapon will hit[/list]Outputs
[list=1][*]Disable Use: Based on the input[*]Can Fire: Will output 1 when you can shoot the weapon[*]Shots Left: Calculates how many more shots you have with your weapon[*]Hit Ent: Will output 1 when it's trace hits an ent[/list]
I made all the effects. :D
Thank you very much again again lol
Looks like Gcombat now has some tough competition, I'm going to try this out.
where do i get svn and how do i use it
Hosting server when RD2 gets released.
It is released :)Froogle_ posted:
LPine, your work on this makes me far more inclined to forgive you for past troubles. :D
He's a professional at effects. All he needs to do is finish a shield effectOmnimmotus posted:
I've been curious about the future of shields in SB. (And CDS) Have you got a good way to block bullets yet?
The new space shield will block ANY damage done to anything in the shields radius.Omnimmotus posted:
It won't always stop the effects thoughSpacetech posted:
Nice. That sounds like it should do the job nicely. Good work.Spacetech posted:
Ok. This IS cool. Thanks a lot mate ;)
I set up the overlay text systemLPine posted:
Does anyone else have a problem with Errors coming up when either damaging props or spawning CDS weapons?
But please get rid of the .svn revision info files in the Zip. There is no need to keep them and as more files you have in /addons, as slower GM starts up.
What are the errors?
I'm assuming Gcombat doesn't conflict with COmabt Damage System?
Just a little suggestion: I'm a person who dislikes any way of using Thinks, especially when it's looping through many entities.
How I see in CDS_Think() (ok it's more a timer :)), you are only updating the values for HP, armor and heat so you can get the specific values by doing the_entity.health.
Well, why not to edit the metatable of the Entity class instead? Pros: No need to update all entities values every second even when you don't need them. And you have always the latest values, not only after a second. Cons: None so far :)
Note, I haven't tested the code above, but maybe you are getting the idea :)local enttable = FindMetaTable("Entity"); if(enttable) then local meta = getmetatable(enttable); local old__index = meta.__index; -- I'm sure, garry uses a function for __index meta.__index = function(t,k) if(k == "health") then if(t:IsNPC() or t:IsPlayer()) then return t:Health(); else return math.Clamp(rawget(t,k),0,t.maxhealth); end -- And so on :) else return old__index(t,k); end end end
The errors are :
Spawning Weapon -
entities/base_cds/init.lua:264: attempt to call global 'Wire_TriggerOutput' (a nil value)
Damaging props -
Error:[Scripted Entity Functon] entities/base_rd_entity/init.lua:34: attempt to index global 'ent' (a nil value)
could this be my Wiremod not working right? It's been a little wonky lately.
So does this basically replace GCombat? Or can they be used together?
Just use CDS for SB if you want to keep GCombat, the weapons in CDS are more suited for space than Gcombat. I would assume they confilict.Irish_Cereal posted:
On second thought I may have found the problem. I had the older Space Anomalies (which i'm pretty sure was put into SB2 if i'm not mistaken) and my wiremod was installed incorrectly lol. I'm gonna fix those up and see if that fixes it.
I just svn committed a fix :)IceWarrior98 posted:
Commited a fix for the base_rd_entity problem, will be in the next RD2 update.Spacetech posted:
I'll try the fix in a few moments. I rebooted my computer and am now updating and such.
Going to update the zip file with the updates in the morning.
Also going to update the first post with some more detailed info then.
The fix works, thanks. I don't care much about the damage problem, i'm not that far into my SB2 exploration just yet haha.
I'll be making a new version of the anomalies after we're done patching the SB stuff and when I'm done genesis.IceWarrior98 posted:
do you need to delete the old g-combat for this to work?
This is an entirely different thing then Gcombat.
So here's a question.
Is there any way to repair something that's been damaged?
I've just tested this and seen a problem - the props are INCREDIBLY STRONG or the guns are INCREDIBLY WEAK. One of the two.
Either way, it took 10 or so rockets to destroy a fridge. That's not right.
It's based on materials. Metal things should be hard to break otherwise minges will just blow every spaceship out of the atmosphere.StickyNade posted: