View unanswered posts | View active topics It is currently Fri Jan 10, 2025 8:05 am



Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
 Help, problems 
Author Message

Joined: Mon Mar 16, 2009 8:28 pm
Posts: 35
Reply with quote
Post Help, problems
This is one of my very first mods. I ripped Mammoth MK2 graphics from C&C:Tiberian Sun and made a crab actor. I will add turret and death explosion later.
Image
Because all legs are in that single sprite, I didn't add any limbs for the crab. Just body. Is that why it is losing health fast over time?

When a clone jumps on top of it, it will fall down and get stomped inside ground, like it was made of paper. Why? How to fix it?

And all it's gibs are like foam spray, 1 pistol bullet will destroy a leg. I want the gibs to be made of thick metal.

Also, it can't move. So can you tell me what's wrong with all this? And maybe give some advice for GoldCost, mass, and other variables.


Attachments:
MMK2.rte.zip [664.43 KiB]
Downloaded 186 times
Sun Jul 05, 2009 6:22 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Help, problems
maliken wrote:
Because all legs are in that single sprite, I didn't add any limbs for the crab. Just body. Is that why it is losing health fast over time?
...
Also, it can't move. So can you tell me what's wrong with all this?

Alright, here's the deal.
An actor can't move without legs. That is also why it's losing health.
The things with the damage are due to how you set up the wounds and material.
The thing with the falling into the ground is because of how Cortex works. You can' really fix that.

Before you go any further in the .ini, separate out the legs from your body sprite and the head (which I assume is your turret) and learn how to put them together.


Sun Jul 05, 2009 6:32 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Help, problems
maliken wrote:
Because all legs are in that single sprite, I didn't add any limbs for the crab. Just body. Is that why it is losing health fast over time? Most likely

When a clone jumps on top of it, it will fall down and get stomped inside ground, like it was made of paper. Why? How to fix it? Hurr no limbs to support it

And all it's gibs are like foam spray, 1 pistol bullet will destroy a leg. I want the gibs to be made of thick metal. Durr CC is like that now, can be fixed though

Also, it can't move.Derp IT HAS NO ♥♥♥♥ LEGS


Calm the ♥♥♥♥ down, you usually have good critique, don't upset me.


Sun Jul 05, 2009 6:33 pm
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Help, problems
Limbless actors loose health over time.


Sun Jul 05, 2009 6:56 pm
Profile WWW

Joined: Mon Mar 16, 2009 8:28 pm
Posts: 35
Reply with quote
Post Re: Help, problems
Ok. Thanks.


Sun Jul 05, 2009 7:01 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Help, problems
Roon3 wrote:
Limbless actors loose health over time.


No they dooooooooooon't

:((((

If it doesn't have limbs defined in the first place then there's no breakwound code associated with them and therefore they don't bleed.

Limbless actors always have and always will be functionally capable of existing. Similarly you can create a dropship without doors and a rocket without legs (see: plane)


Sun Jul 05, 2009 10:46 pm
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Help, problems
God, that looks 3-D.
Nice job.

I think the damage is caused by the body touching the floor and rubbing around on it.

I know this will interrupt the animation, but you need legs to move around.

Great graphics, for say, a video screen. (From some of the missions, you know.)


Mon Jul 06, 2009 12:01 am
Profile WWW

Joined: Mon Mar 16, 2009 8:28 pm
Posts: 35
Reply with quote
Post Re: Help, problems
CrazyMLC wrote:
God, that looks 3-D.
Nice job.

I think the damage is caused by the body touching the floor and rubbing around on it.

I know this will interrupt the animation, but you need legs to move around.

Great graphics, for say, a video screen. (From some of the missions, you know.)


That is a side-view render of a 3D voxel model. I thought you guys know what is Command & Conquer: Tiberian Sun. No?

http://www.ppmsite.com/newspic/hvabuilder21.png

Well, how the body can be rubbing against ground when it doesn't have legs, so it can't move? And in skirmish game, when placing bunker modules, and when I try place Mammoth MK2, it will keep losing health even if it doesn't touch ground (not placed yet). So if the continuous damage isn't about missing limbs nor rubbing against ground, what is it? Animation doesn't get interrupted when trying to move.

Solution to all problems seems to be to get invisible limbs.


Mon Jul 06, 2009 9:15 am
Profile

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: Help, problems
Grif wrote:
Roon3 wrote:
Limbless actors loose health over time.


No they dooooooooooon't

:((((

If it doesn't have limbs defined in the first place then there's no breakwound code associated with them and therefore they don't bleed.

Limbless actors always have and always will be functionally capable of existing. Similarly you can create a dropship without doors and a rocket without legs (see: plane)


ACrabs have this special thing hardcoded that if they are missing their legs, their HP will drain to 0 automaticly. So it means you must have crab legs on it, just make them invisible and non hittable.


Mon Jul 06, 2009 9:24 am
Profile

Joined: Mon Mar 16, 2009 8:28 pm
Posts: 35
Reply with quote
Post Re: Help, problems
Here's an invisible nonexistent leg I made:
Code:

AddActor = Leg
   PresetName = MMK2 Leg
   Mass = 9
   HitsMOs = 0
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Base.rte/Null.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = 0
      Y = 0
   AngularVel = 6
   EntryWound = None
   ExitWound = None
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Metal
      Resolution = 4
      Depth = 0
   DeepCheck = 0
   JointStrength = 200
   JointStiffness = 0.5
   JointOffset = Vector
      X = 0
      Y = 0
   DrawAfterParent = 0
   ExtendedOffset = Vector
      X = 0
      Y = 0
   ContractedOffset = Vector
      X = 0
      Y = 0
   IdleOffset = Vector
      X = 0
      Y = 0
   MoveSpeed = 5.0
   GibImpulseLimit = 90
   GibWoundLimit = 4

But the Mammoth still keeps bleeding/losing health.


Mon Jul 06, 2009 9:52 am
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: Help, problems
maliken wrote:
Here's an invisible nonexistent ---->LEG<---- I made:
Code:
LEG CODE

But the Mammoth still keeps bleeding/losing health.


This would be the problem. You need 4 legS. Or it will bleed.Would you bleed if you only had one leg?


Mon Jul 06, 2009 9:55 am
Profile

Joined: Mon Mar 16, 2009 8:28 pm
Posts: 35
Reply with quote
Post Re: Help, problems
LowestFormOfWit wrote:
maliken wrote:
Here's an invisible nonexistent ---->LEG<---- I made:
Code:
LEG CODE

But the Mammoth still keeps bleeding/losing health.


This would be the problem. You need 4 legS. Or it will bleed.Would you bleed if you only had one leg?


Yes I added 4 of those legs for it. Still bleeds.


Mon Jul 06, 2009 1:22 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Help, problems
anything without any limbs gains the attribute "dying", so its health starts draining. sure, null legs work, but why the hell would you. im not sure if that could be overcome with lua, but it doesnt matter in this case.
you have to add the legs to the actor, in its definition. dont make them null either, make them legs. it wont be able to stand or have proper limbpaths without legs with proper anims and feet. you'll need to add new footgroups aswell, since it will be too large and heavy to walk without eating terrain otherwise. the way the animation you've provided is set up would work fine with the current limb system. dont be lazy about it.


Mon Jul 06, 2009 1:32 pm
Profile WWW
User avatar

Joined: Fri Oct 17, 2008 9:46 pm
Posts: 5212
Location: The Grills Locker.
Reply with quote
Post Re: Help, problems
It is possible that the legs are detaching when they touch the ground. Try changing both GibImpulseLimit and JointStrength to 9999.


Mon Jul 06, 2009 1:43 pm
Profile WWW

Joined: Mon Mar 16, 2009 8:28 pm
Posts: 35
Reply with quote
Post Re: Help, problems
Areku wrote:
It is possible that the legs are detaching when they touch the ground. Try changing both GibImpulseLimit and JointStrength to 9999.


What do those variables control?
Edit: I set the legs variables to 9999. It still keeps getting damage. And I was playing skirmish mode, when a dummy shot a Mammoth with ak47, and the mammoth flew off screen. Wtf?
Edit: I gave the Mammoth 4 dummy legs. Now it doesn't bleed anymore. But when it loses 10 hp (total 2000), it will die.


Last edited by maliken on Mon Jul 06, 2009 4:44 pm, edited 1 time in total.



Mon Jul 06, 2009 4:10 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.084s | 16 Queries | GZIP : Off ]