TTLG|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 3 of 3

Thread: Help with editing deus ex?

  1. #1
    New Member
    Registered: Jun 2004

    Help with editing deus ex?

    Hello, i wos wondering if anyone could help me with someting, i use unreal ed <or deus ex SDK> in case u need to kno, but i wos wondering if anyone would know how to code the weapons in the game to be 'breakable' like in system shock 2.

    For Example, if using the pistol for a while the quality goes down until its broken and u need a new one or need to use another item amd/or machine <may need code for that also> to repair it/renew its quality.

    If anyone could help, or could direct me to someone that could <or another forum that is more to do with this sort of thing> then please reply, thnx!

  2. #2
    Previously Important
    Registered: Nov 1999
    Location: Caer Weasel, Uelekevu
    Hrhm, now that's an interesting idea.

    Off the top of my head (and remember I'm not very good with UScript, so this is all very vague and conceptual), you might try doing something like whatever it is in a weapon's properties that keeps track of how much ammo it has...

    An additional property for Degradation could work like the ammo counter in that, instead of it displaying remaining ammunition, an additional HUD element (or, probably better, a colour overlay / colour change on the weapon's HUD icon bakground) would change to indicate weapon degradation... or maybe a bar or something, maybe even going from green through yellow to red.

    Depending on how fast you want weapons to degrade -- and this could change with selected game difficulty probably -- the rate of degradation could be something like 1 point removed from a possible 25 every three shots... And have it different for different weapons: The assault rifle is going to degrade much slower than the stealth pistol on a shot-for-shot basis. Or have it relative to # of reloads, but that could get messy for players like me who reload constantly.

    Basically, my advice would be to look at how ammo management is done and trick something similar to that. When degradation is complete, the weapon cannot be fired regardless of ammo... sort of like an Out Of Ammo situation, except without having to be out of ammo.

    Scripting up a repair unit or something wouldn't be all that hard, either. It could probably be just like finding a fresh clip of ammo, except instead of refilling the gun and allowing it to be fired again, it removed the degradation. You'd also want to code it up more like a weapon mod or other "drag it onto the weapon" thing.

  3. #3
    New Member
    Registered: Jun 2004


    yeh thats wot i wos kinda thinking! i cant really code :P at least i never have anyway so yeah the ammo idea is kinda a step to finding out how to do it i suppose ,cheers

    any more help <pros too?> wud be appreciated


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts