Jump to content
Sign in to follow this  
Scott

Just a couple of questions...

Recommended Posts

Yay. Indeed.

 

Anyhow, how would I go about making landmines? Any I've tried so far just don't work...

 

And also, would it be possible to make a landmine that psychicly controls a unit for a short amount of time? If not, I'll go with Chaos gas...

 

Oh, and naturally, this is YR.

Share this post


Link to post

First... if you want to create a landmine, you might need to use the aircraft carrier way... make an aircraft that you can't select and it most not be able to move... and has like a terrorist suicide weapon... the problem i see is that what if it doesn't move... and blows up your landmine placer... and your land mine place can ony place like it's load then it is useless... because it can only have this much mine out... the second method is to make an unbuildable infantry or unit and make a paradrop that drops it... the problem with that is you will lose a current paradrop but there is a method to make a new paradrop... i just forgot how...

As for the psychic control... it won't work... the computer somehow doesn't know how to control units using a area fired weapon. i tried that with yuri's psychic blast and it doesn't work... the game just crashes... hope that helps.

Share this post


Link to post

Making a Mine Layer:

 

1) Create a vehicle with 5 ammo. Now clone that 4 times, each one with 1 less ammo pip.

 

2) The vehicle deploys into the mine and you need SIX mines to do this. Put FreeUnit=MLAYR#.

 

3) Repeat this process until your sixth mine gives you a Mine Layer with no ammo.

 

Addendum: You can skip that and just give your Mine Layer infinite ammo.

Share this post


Link to post

Another way is to make a unit that deploys into the mine. Just invisibleingame=yes for the deployed setting. Or use cloak. Then just give it a suicide weapon such as TerrorBomb.

 

As for the mind control... I don't know about a temporary mind control, but you could just give the mine one of the many mind control attacks. That would last until it grabs another unit. Your best bet would probably be Chaos gas.

 

Fenring's idea for a mine layer is the best one though.

Share this post


Link to post

You could also make a structure. It would be defense, cloaked (if you want it to) and you could build it around your base. Then give it a weapon with a very short range (about 1 or 2 times its own lenght depending on the mine.)Then make that weapon a kamikaze weapon. You should set it to suicide= yes or damageself=yes depending on the game. Then you can build it and it would destroy enemies and itself when an enemy gets to close. And don't forget to give the weapon itself a nice blast radius, else it would only destroy itself. And for which game is it?

Share this post


Link to post

Yeah, I meant it for structure. Defensive structure.

 

And this is YR.

Share this post


Link to post

When its a structure you want then do the above.

Here its simply put. Make a short range suicidal weapon with a blast radius equal to the weapon radius. Make it cloaked.

Share this post


Link to post

I am strongly thinking that you can't mind control units for a short time... your going to have to go with the chaos gas. for mines, i say the best way is the deployed building way... but i also like the Paradrop mine layer way... where the planes drops mines instead... but there goes the america paradrop...

Share this post


Link to post

Mind control wont work because once the mine blows up the link to the controlled unit is terminated.

Share this post


Link to post

Thanks for the advice everyone.

 

I've abandoned the Psychic Mine seems it's impossible,a nd coded myself a Chaos Mine instead. Here's the stuff, seem's I'm not testing this 'til i've added most of the units...

 

----------

; Yuri Chaos Mine

[YAMINE]

UIName=Name:YAMINE

Name=Chaos Mine

BuildCat=Combat

Strength=25

Invisible=yes

LegalTarget=no

Primary=ChaosMineWeapon

Armor=wood

Prerequisite=YABRCK,YACNST

Insignificant=yes

TechLevel=4

Adjacent=10

Sight=3

Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,

Arabs,YuriCountry

;AIBasePlanningSide=0 ;gs 0 for Allies, 1 for Soviets, 2 for Yuri

Cost=250

BaseNormal=no

Points=30

Power=-10

Crewed=no

Trainable=no

Cloaked=yes

Capturable=false

Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60

DebrisAnims=DBRIS4LG,DBRIS4SM,DBRIS6LG

MaxDebris=2

MinDebris=1

Powered=yes

ThreatPosed=30 ; This value MUST be 0 for all building addons

;DamageParticleSystems=SparkSys,LGSparkSys

IsBaseDefense=no

AIBuildThis=no

HasStupidGuardMode=false

DeathWeapon=ChaosMineExplosion

 

[ChaosMineWeapon]

Projectile=Invisible

Damage=1

Warhead=ChaosMineWH

Range=2.5

ROF=100

Suicide=yes

 

[ChaosMineWH]

Verses=100%,100%,100%,100%,100%,100%,0%,0%,0%,100%,0%

InfDeath=3

CellSpread=1.5

PercentAtMax=.5

PsychicDamage=yes

 

[ChaosMineExplosion]

Damage=800

ROF=100

Range=1

Projectile=Invisible

Warhead=PsychGasExp

 

; Psych Gas Explosion

[PsychGasExp]

CellSpread=2.5

Verses=100%,100%,100%,100%,100%,100%,0%,0%,0%,100%,100%

InfDeath=1

AnimList=CHGASEXP

Psychedelic=yes

Share this post


Link to post

Yeah, thats good. I also know that there is a mod called Eagle Red and they use 3 diffenrent mines. (explosive (USA) , radiation (soviet) and chaos (Yuri) You can download it on www.eagelred.net.

To see how those mines work you'll have to leave the mine active after playing it and then start a new YR mod. Then you'll see all the new stuff from Eagle Red including the mines.

Share this post


Link to post

You've never looked at Eagle Red's coding then? :wink:

Share this post


Link to post

Without tibEd no. But then again, I play generals and ZH.

Share this post


Link to post

; Yuri Psychic Mine

[YAPSYM]

UIName=Name:YAPSYM

Name=Psychic Mine

BuildCat=Combat

Strength=25

Invisible=yes

LegalTarget=no

Primary=MultipleMindControlTank

Armor=wood

Prerequisite=YABRCK,YACNST

Insignificant=yes

TechLevel=4

Adjacent=10

Sight=3

Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,

Arabs,YuriCountry

AIBasePlanningSide=2

Cost=250

BaseNormal=no

Points=30

Power=-10

Crewed=no

Trainable=no

Capturable=false

Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60

DebrisAnims=DBRIS4LG,DBRIS4SM,DBRIS6LG

MaxDebris=2

MinDebris=1

Powered=yes

ThreatPosed=30IsBaseDefense=no

AIBuildThis=no

HasStupidGuardMode=false

DeathWeapon=PsyMineExplosion

DeathWeaponDamageModifier=1.2

 

[PsyMineExplosion]

Damage=400

ROF=100

Range=2.5

Projectile=Invisible

Warhead=PsyMineWH

 

[PsyMineWH]

CellSpread=2.5

Verses=200%,200%,200%,0%,0%,0%,0%,0%,0%,100%,100%

InfDeath=6

AnimList=RING1

PsychicDamage=yes

 

This controls units temporarily when the mine has OVER 3 units in its control. It will then explode, using its death weapon. ;)

Share this post


Link to post

Cool....thanks dude. Thought it would be you who gets the code for it. :D

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×