1. Post #1
    SB2DevTeam's Avatar
    September 2007
    384 Posts
    ByeBye
    Reply With Quote Edit / Delete Reply Belgium Show Events Dumb Dumb x 5Disagree Disagree x 2Optimistic Optimistic x 1 (list)

  2. Post #2
    Gold Member
    Spacetech's Avatar
    January 2006
    510 Posts
    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):
    Inputs
    [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]
    Reply With Quote Edit / Delete Reply United States Show Events Lua King Lua King x 2Funny Funny x 1Agree Agree x 1 (list)

  3. Post #3
    Gold Member
    LPine's Avatar
    April 2007
    260 Posts
    I made all the effects. :D

  4. Post #4
    Froogle_'s Avatar
    September 2006
    200 Posts
    Sounds cool

  5. Post #5
    MythBuster's Avatar
    August 2007
    57 Posts
    Thank you very much again again lol

  6. Post #6
    hedhunta95's Avatar
    July 2007
    256 Posts
    -snip-

  7. Post #7
    Gold Member
    gilly_54's Avatar
    June 2006
    260 Posts
    Looks like Gcombat now has some tough competition, I'm going to try this out.

  8. Post #8
    Razot's Avatar
    April 2007
    13 Posts
    where do i get svn and how do i use it

  9. Post #9
    Froogle_'s Avatar
    September 2006
    200 Posts
    Hosting server when RD2 gets released.

  10. Post #10
    Gold Member
    Spacetech's Avatar
    January 2006
    510 Posts
    Froogle_ posted:
    Hosting server when RD2 gets released.
    It is released :)
    Reply With Quote Edit / Delete Reply United States Show Events Lua King Lua King x 1 (list)

  11. Post #11
    Gold Member
    gilly_54's Avatar
    June 2006
    260 Posts

  12. Post #12
    Omnimmotus's Avatar
    August 2006
    211 Posts
    LPine, your work on this makes me far more inclined to forgive you for past troubles. :D

  13. Post #13
    Gold Member
    Spacetech's Avatar
    January 2006
    510 Posts
    Omnimmotus 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 effect
    Reply With Quote Edit / Delete Reply United States Show Events Lua King Lua King x 1 (list)

  14. Post #14
    Omnimmotus's Avatar
    August 2006
    211 Posts
    I've been curious about the future of shields in SB. (And CDS) Have you got a good way to block bullets yet?

  15. Post #15
    Gold Member
    Spacetech's Avatar
    January 2006
    510 Posts
    Omnimmotus 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.
    Reply With Quote Edit / Delete Reply United States Show Events Lua King Lua King x 1 (list)

  16. Post #16
    SB2DevTeam's Avatar
    September 2007
    384 Posts
    Spacetech posted:
    The new space shield will block ANY damage done to anything in the shields radius.
    It won't always stop the effects though

  17. Post #17
    Omnimmotus's Avatar
    August 2006
    211 Posts
    Spacetech posted:
    The new space shield will block ANY damage done to anything in the shields radius.
    Nice. That sounds like it should do the job nicely. Good work.

  18. Post #18
    snake_1_1's Avatar
    June 2005
    347 Posts
    Reply With Quote Edit / Delete Reply Belgium Show Events Dumb Dumb x 1 (list)

  19. Post #19
    sman789's Avatar
    June 2007
    3 Posts
    Ok. This IS cool. Thanks a lot mate ;)

  20. Post #20
    Gold Member
    tad2020's Avatar
    December 2006
    163 Posts
    LPine posted:
    I made all the effects. :D
    I set up the overlay text system

  21. Post #21
    IceWarrior98's Avatar
    April 2006
    2,249 Posts
    Does anyone else have a problem with Errors coming up when either damaging props or spawning CDS weapons?

  22. Post #22
    Gold Member
    aVoN's Avatar
    December 2005
    2,880 Posts
    Finally released.
    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.

  23. Post #23
    Gold Member
    Spacetech's Avatar
    January 2006
    510 Posts
    What are the errors?
    Reply With Quote Edit / Delete Reply United States Show Events Lua King Lua King x 1 (list)

  24. Post #24
    Gold Member
    Sodisna's Avatar
    May 2007
    2,943 Posts
    I'm assuming Gcombat doesn't conflict with COmabt Damage System?

  25. Post #25
    Gold Member
    aVoN's Avatar
    December 2005
    2,880 Posts
    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 :)
    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
    Note, I haven't tested the code above, but maybe you are getting the idea :)

  26. Post #26
    IceWarrior98's Avatar
    April 2006
    2,249 Posts
    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.

  27. Post #27
    Gold Member
    Irish_Cereal's Avatar
    June 2006
    175 Posts
    So does this basically replace GCombat? Or can they be used together?

  28. Post #28
    nagachief's Avatar
    June 2007
    406 Posts
    Irish_Cereal posted:
    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.

  29. Post #29
    IceWarrior98's Avatar
    April 2006
    2,249 Posts
    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.

  30. Post #30
    Gold Member
    Spacetech's Avatar
    January 2006
    510 Posts
    IceWarrior98 posted:
    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.
    I just svn committed a fix :)
    Reply With Quote Edit / Delete Reply United States Show Events Lua King Lua King x 2 (list)

  31. Post #31
    SB2DevTeam's Avatar
    September 2007
    384 Posts
    Spacetech posted:
    I just svn committed a fix :)
    Commited a fix for the base_rd_entity problem, will be in the next RD2 update.

  32. Post #32
    IceWarrior98's Avatar
    April 2006
    2,249 Posts
    I'll try the fix in a few moments. I rebooted my computer and am now updating and such.

  33. Post #33
    SB2DevTeam's Avatar
    September 2007
    384 Posts
    Going to update the zip file with the updates in the morning.

    Edit:

    Also going to update the first post with some more detailed info then.

  34. Post #34
    IceWarrior98's Avatar
    April 2006
    2,249 Posts
    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.

  35. Post #35
    Gold Member
    LPine's Avatar
    April 2007
    260 Posts
    IceWarrior98 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'll be making a new version of the anomalies after we're done patching the SB stuff and when I'm done genesis.

  36. Post #36
    Gold Member
    WisdomChief's Avatar
    September 2006
    425 Posts
    do you need to delete the old g-combat for this to work?

  37. Post #37
    hedhunta95's Avatar
    July 2007
    256 Posts
    This is an entirely different thing then Gcombat.

  38. Post #38
    CerusVI's Avatar
    September 2007
    162 Posts
    So here's a question.

    Is there any way to repair something that's been damaged?

  39. Post #39
    Gold Member
    Treelor's Avatar
    February 2005
    2,080 Posts
    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.

  40. Post #40
    Hibernate's Avatar
    July 2007
    8 Posts
    StickyNade posted:
    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.