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

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sat Oct 31, 2020 3:49 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
new country skirmish starting unit
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
RAWRmods
Cyborg Engineer


Joined: 10 Mar 2019

PostPosted: Sun Oct 04, 2020 12:59 am    Post subject:  new country skirmish starting unit Reply with quote

I added north korea and made its unique vehicle be one of its starting units with AllowedToStartInMultiplayer=yes

problem is that when i make its country requirements like below it makes the unique unit start with all countries:

Owner=NorthKorea,Russians,Confederation,Africans,Arabs
RequiredHouses=NorthKorea
ForbiddenHouses=Russians,Confederation,Africans,Arabs

if i do it like below it makes it start with north korea only but the unit isnt buildable:

Owner=NorthKorea
RequiredHouses=NorthKorea
ForbiddenHouses=Russians,Confederation,Africans,Arabs

How to fix this?

Last edited by RAWRmods on Sun Oct 04, 2020 2:55 am; edited 2 times in total

Back to top
View user's profile Send private message
G-E
General


Joined: 09 Feb 2015

PostPosted: Sun Oct 04, 2020 1:02 am    Post subject: Reply with quote

You don't need RequiredHouses with ForbiddenHouses, you use one or the other, and generally in those cases the Owner is all the countries of that side.

Try just:
Owner=NorthKorea
RequiredHouses=NorthKorea
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
RAWRmods
Cyborg Engineer


Joined: 10 Mar 2019

PostPosted: Sun Oct 04, 2020 2:54 am    Post subject: Reply with quote

G-E wrote:
You don't need RequiredHouses with ForbiddenHouses, you use one or the other, and generally in those cases the Owner is all the countries of that side.

Try just:
Owner=NorthKorea
RequiredHouses=NorthKorea


this didnt work, the unit is not buildable. here's my unit codes:

; Heavy Tank
[T3485]
UIName=NOSTR:T-34/85 Tank
Name=Rhino Heavy Tank
Prerequisite=NAWEAP
Primary=85mm
Strength=300
Category=AFV
Armor=medium
Turret=yes
IsTilter=yes
TargetLaser=no
TooBigToFitUnderBridge=true
TechLevel=2
Sight=8
Speed=6
CrateGoodie=no
Crusher=yes

Owner=NorthKorea
RequiredHouses=NorthKorea

AllowedToStartInMultiplayer=yes
Cost=500
Soylent=900
Points=25
ROT=6
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=RhinoTankMoveStart
CrushSound=TankCrush
Maxdebris=3
;origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=40 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
OpportunityFire=yes
BuildTimeMultiplier=1.5;Individual control of build time





and my country codes:


[NorthKorea]
UIName=NOSTR:North Korea
Name=North Korea
Suffix=Soviet
Prefix=B
Color=DarkRed
Multiplay=yes
Side=Nod
SmartAI=yes
;VeteranUnits=HTNK
;IncomeMult=1.2
File.Flag=NK.PCX
RandomSelectionWeight=1
LoadScreenText.Name=name:northkorea
LoadScreenText.SpecialName=name:misltrk
LoadScreenText.Brief=loadbrief:northkorea
File.LoadScreen=ls800nkorea.SHP
File.LoadScreenPAL=mplsnk.PAL

Back to top
View user's profile Send private message
G-E
General


Joined: 09 Feb 2015

PostPosted: Sun Oct 04, 2020 6:30 am    Post subject: Reply with quote

That's odd because I do exactly that on a number of units, mostly naval.
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sun Oct 04, 2020 6:36 am    Post subject: Reply with quote

Does the war factory [NAWEAP] also have NorthKorea set as one of its owners.
_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
RAWRmods
Cyborg Engineer


Joined: 10 Mar 2019

PostPosted: Sun Oct 04, 2020 6:14 pm    Post subject: Reply with quote

Mig Eater wrote:
Does the war factory [NAWEAP] also have NorthKorea set as one of its owners.


This was the problem, thanks.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
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.1145s ][ Queries: 10 (0.0035s) ][ Debug on ]