Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Wed Apr 24, 2024 12:54 pm
All times are UTC + 0
Need help with MakeInfantry.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [16 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Bu7loos
Commander


Joined: 27 Jul 2011

PostPosted: Mon Aug 29, 2011 10:06 pm    Post subject:  Need help with MakeInfantry. Reply with quote  Mark this post and the followings unread

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

[LayingMines]
Damage=1
ROF=50
Range=5
Projectile=InvisibleMines
Speed=100
Warhead=MineSpawnWH
Report=ExitTransport
AreaFire=yes

[InvisibleMines]
Inviso=yes
Image=none
Cluster=5
FlakScatter=yes
Inaccurate=yes

[MineSpawnWH]
AnimList=MineSpawner

[MineSpawner]
Normalized=yes
MakeInfantry=2
MakeInfantryOwner=killer

Back to top
View user's profile Send private message
001010011100101110
Commander


Joined: 18 Aug 2009

PostPosted: Mon Aug 29, 2011 10:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

EDIT: Did not realized this was Ares

Try with "invoker"

Back to top
View user's profile Send private message
¥R_M0dd€r
Cyborg Soldier


Joined: 03 Jan 2011

PostPosted: Mon Aug 29, 2011 11:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Remove MakeInfantryOwner= tag, I am pretty sure the default value will make you own the spawning units.

Back to top
View user's profile Send private message
Bu7loos
Commander


Joined: 27 Jul 2011

PostPosted: Mon Aug 29, 2011 11:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

the invoker tag didn't work nor removing the MakeInfantryOwner= tag

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Tue Aug 30, 2011 12:47 am    Post subject: Reply with quote  Mark this post and the followings unread

I think you need to declare an InfDeath= on your warhead. Try InfDeath=9

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Tue Aug 30, 2011 2:03 am    Post subject: Reply with quote  Mark this post and the followings unread

actually the Manual states this,

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

Back to top
View user's profile Send private message Visit poster's website Skype Account
Bu7loos
Commander


Joined: 27 Jul 2011

PostPosted: Tue Aug 30, 2011 6:04 am    Post subject: Reply with quote  Mark this post and the followings unread

didn't work Cranium any other suggestions ?

Back to top
View user's profile Send private message
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Tue Aug 30, 2011 7:15 am    Post subject: Reply with quote  Mark this post and the followings unread


_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Bu7loos
Commander


Joined: 27 Jul 2011

PostPosted: Tue Aug 30, 2011 11:07 am    Post subject: Reply with quote  Mark this post and the followings unread

thank you kenosis ill look in to it Smile and psot back.

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Tue Aug 30, 2011 12:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Bu7loos
Commander


Joined: 27 Jul 2011

PostPosted: Tue Aug 30, 2011 2:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

I did use ARES (Every Time) i just don't know why it dosen't work ?
Using brutes hmm try coscripts...

Back to top
View user's profile Send private message
kenosis
Commander


Joined: 19 Aug 2009
Location: Moscow State University

PostPosted: Tue Aug 30, 2011 3:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

the public ares vision does not support owner IIRC

_________________
Tired of grabbing my random SHP conversions? Why not learn to create SHPs for yourself?

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account Yahoo Messenger Account
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Tue Aug 30, 2011 5:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
FurryQueen
General


Joined: 24 Jul 2010
Location: Liyue

PostPosted: Tue Aug 30, 2011 6:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

Graion Dilach wrote:
WHAT? Nah. makeInfantryOwner stuff is 0.1.

I can vouch for that.

_________________
KGR | AT
AZUR
Discord: theastronomer1836
Steam

Back to top
View user's profile Send private message Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Tue Aug 30, 2011 10:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message Visit poster's website Skype Account
Bu7loos
Commander


Joined: 27 Jul 2011

PostPosted: Thu Sep 01, 2011 1:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [16 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1802s ][ Queries: 11 (0.0082s) ][ Debug on ]