Posted: Mon Aug 29, 2011 10:06 pm Post subject:
Need help with MakeInfantry.
i ve been making a apc wich spawns conscrpits but every time i click attak or deploy they spawn not under my ownership but under a nautrel ownership here is the codes , please help, God speed..........
[MINELY]
UIName=NOSTR:Mine Layer
Name=Mine Layer
Prerequisite=NAWEAP,RADAR
Prerequisite.Negative=SovietBranchTech
Image=python
Primary=LayingMines
Strength=175
Category=Transport
Deployer=yes
DeployFire=yes
Armor=(unt)Light-Medium
DeployTime=.022
TechLevel=3
Sight=5
Speed=5
CrateGoodie=no
Owner=Russians,Confederation,Africans,Arabs
AllowedToStartInMultiplayer=no
Cost=900
Soylent=900
Points=20
ROT=4
Crusher=yes
Turret=no
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=FlakTrackSelect
VoiceMove=FlakTrackMove
VoiceAttack=FlakTrackAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=FlakTrackMoveStart
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
CrushSound=TankCrush
DebrisMaximums=4
AirRangeBonus=5
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Normal
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=10
ZFudgeTunnel=13
ImmuneToRadiation=no
ImmuneToPsionics=no
;Bombable=no
Size=3
PipScale=Ammo
PipWrap=2
InitialAmmo=1
Reload=500
EmptyReload=500
Weight=4
Ammo=2
Accelerates=false
I think you need to declare an InfDeath= on your warhead. Try InfDeath=9 _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
However, MakeInfantryOwner only works for specific animations; namely those invoked by InfDeathAnim, DeathAnims and map triggers. The deafult MakeInfantryOwner is 'invoker', which corresponds to a different player depending on the animation.
For InfDeathAnim, 'invoker' represents 'killer' (the owner of the killing unit).
For DeathAnims, 'invoker' represents 'victim' (the owner of the dying unit).
For map triggers, 'invoker', 'killer' and 'victim' all represent the house that is considered to be the owner of the trigger _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Aug 30, 2011 12:12 pm Post subject:
I wonder... are you use Ares at all? Because I just tried the above code (with a dummy SHP and using Brutes) and it did work... _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Tue Aug 30, 2011 5:20 pm Post subject:
WHAT? Nah. makeInfantryOwner stuff is 0.1. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
This might be a dumb question, but did you add your infantry to the AnimToInfantry= list? _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
yes i did add them , Btw i sloved it with translators help i had to add an air burst weapon wich it was a problem.
@Graion Dilach: it does work but they don't change to my [owner ship] i tried to put all options in the tag MakeInfantryOwner. QUICK_EDIT
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum