Data Realms Fan Forums
http://45.55.195.193/

A few quick noob questions
http://45.55.195.193/viewtopic.php?f=1&t=12411
Page 1 of 2

Author:  Kayne [ Sat Oct 11, 2008 8:23 pm ]
Post subject:  A few quick noob questions

Sorry if this has already been answered (I searched). But I was wondering if the size of an object in cortex command is reliant on how large or small the spite is. Is it possible to reduce the size of the spite with out losing detail?

Author:  Foa [ Sat Oct 11, 2008 8:27 pm ]
Post subject:  Re: A few quick noob questions

No, but the is a variable ( scale ) but f's with the sprites and makes them look bad, and f's up all of it's coding.

So, you need to agree with what you can polish out of the scaled sprites.

Author:  Kayne [ Sat Oct 11, 2008 11:12 pm ]
Post subject:  Re: A few quick noob questions

Ah, thank you. Is there a method besides trial and error to correctly size it?

Author:  Duh102 [ Sun Oct 12, 2008 12:11 am ]
Post subject:  Re: A few quick noob questions

Just scale it to a rocket or a bunker piece. Or take a screenshot.

Author:  Kayne [ Sun Oct 12, 2008 12:28 am ]
Post subject:  Re: A few quick noob questions

Hmm, I successfully got a gun in game, but an odd glitch is happening.

When it's pointing to the right, it appears fine
http://i183.photobucket.com/albums/x156 ... litch0.jpg

but when pointed left, it goes all freaky like
http://i183.photobucket.com/albums/x156 ... glitch.jpg

Whats happening here?

Author:  numgun [ Sun Oct 12, 2008 12:52 am ]
Post subject:  Re: A few quick noob questions

Your gun must be in the CC's palette that has 256 colors. You can find that palette.bmp in base.rte.

Good luck figuring how to load it on your sprites.

Author:  Caelas [ Sun Oct 12, 2008 1:31 am ]
Post subject:  Re: A few quick noob questions

Yeah you'll need to recolor it using the pallete, which shouldn't be too hard. I would recommend going with meh sprites and learn how to code cc first, otherwise you'll have alot of cool sprites but they won't do anything. Trust me, I know from experience.

Good luck!

Author:  janekk [ Sun Oct 12, 2008 11:00 pm ]
Post subject:  Re: A few quick noob questions

I'm trying to make my first (and hopefully not last) mod , its a simple gun. My problem is with magazine, CC says there is error "Could not match property in blah,blah at line 1!" and its: AddAmmo = Magazine. I'm kind of stuck here as I have no idea what possibly could be wrong with this. I've spelled it corectly (even copied and pasted it from other mod to be SURE). Any ideas what I'm doing wrong?

Author:  Caelas [ Mon Oct 13, 2008 4:46 am ]
Post subject:  Re: A few quick noob questions

copy the code and paste it in here, if its too long link us too it.

Author:  janekk [ Mon Oct 13, 2008 7:46 am ]
Post subject:  Re: A few quick noob questions

Code:
AddAmmo = Magazine
   InstanceName = Magazine Battery
   Mass = 4
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = PlasmaGun.rte/Battery.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -3
      Y = -5
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Bullet Metal
      Resolution = 2
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Bullet Metal
      Resolution = 3
      Depth = 1
   DeepCheck = 1
   JointStrength = 200
   JointStiffness = 1
   JointOffset = Vector
      X = 0
      Y = -3
   ParentOffset = Vector
      X = -2
      Y = 2
   DrawAfterParent = 0
   RoundCount = 60
   RTTRatio = 0
   RegularRound = Round
      CopyOf = Round Plasma
   TracerRound = None
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Spark Yellow 1
      Count = 5
      Spread = 2.25
      MaxVelocity = 20
      MinVelocity = 8
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Gib Metal Rust Micro A
      Count = 4
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   GibWoundLimit = 2

Right now its still pretty much ak 47 but i'm planning on some more serious changes like brand new material for bullets and some glows, muzzle flash and sounds, well and maybe other sprite but i'm not good at drawing.

Author:  Exalion [ Mon Oct 13, 2008 9:16 am ]
Post subject:  Re: A few quick noob questions

Don't do the materials thing. due to coding techniques used by Data, custom materials is a bad idea. It's not neccesarry anyway, 'specially not for bullets.

Author:  janekk [ Mon Oct 13, 2008 4:20 pm ]
Post subject:  Re: A few quick noob questions

But if I won't try to do this just because its tricky what i will learn ? Also I want it to be somewhat different than ak 47 or smg , you know its plasma gun its not supposed to shot metal bullets :wink: and I don't aggre that custom material is not necessary (try physanium sprayer, its just a sprayer of custom material but effect is kinda intresting ). So anyone has idea whats wrong with my magazine ?

Author:  Exalion [ Tue Oct 14, 2008 7:27 am ]
Post subject:  Re: A few quick noob questions

You don't get it. It's really easy to make custom materials, but the problem is if you use the same material number as someone else's mod, the game will poo its pants. Don't do it.

Author:  janekk [ Tue Oct 14, 2008 4:57 pm ]
Post subject:  Re: A few quick noob questions

I don't see a problem here. Its not like it must work with all other mods, and its easy to change when that happens. On topic ( or rather real problem here :cctongue: ): So what about magazine? I don't think somethings wrong with my first line so maybe its something messed in CC ? I think I'll try reinstalling it (but on the other hand all other mods work just fine)

EDIT:
Reinstalling didn't help ( no suprise here ). Meh its kinda :dead: , I'm trying for 3 days to do something that should take 30 minutes. Someone has ANY idea? I'm at lost here. I dont see anyhing wrong with my 1 line and its keeping to pop out this error. No matter what I try. :oops:

Author:  janekk [ Fri Oct 17, 2008 12:09 pm ]
Post subject:  Re: A few quick noob questions

Refreshing topic and also I'm putting whole mod. I would be grateful if someone could check it out.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/