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 Sat Apr 20, 2024 3:36 am
All times are UTC + 0
Multiple Errors!
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [10 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Comr4de
Gauss Rifle Trooper


Joined: 23 Feb 2010
Location: The Netherlands

PostPosted: Mon May 17, 2010 11:43 am    Post subject:  Multiple Errors! Reply with quote  Mark this post and the followings unread

Code:
[secret]
UIName=Name:secret
Name=secret
Suffix=Soviet
Prefix=C
Color=DarkRed
Multiplay=no
Side=ThirdSide
SmartAI=yes


How do I make it possible to make this country chosen more often by the 'Random' button than other countries? I have the country, but I want it to be a secret country, but when you choose random it should be 5 out of 10 times the [secret]country.

I have encountered another problem, this:
Code:

[secret]
UIName=Name:secret
Name=secret
Suffix=Soviet
Prefix=C
Color=DarkRed
Multiplay=yes
Side=ThirdSide
SmartAI=yes
VeteranInfantry=INIT,BRUTE,VIRUS,PRSITE,YURI,YURIPR
VeteranUnits=YURIMINER,LTNK,YTNK,TELE,MIND,CAOS,BSUB,CSMIN,YAGATBOAT
VeteranAircraft=DISK,DISK2,CAUSBMB,CHABOMB
ArmorAircraftMult=1.5
ArmorUnitsMult=1.5
ArmorInfantryMult=1.5
ArmorBuildingsMult=1.5
ArmorDefensesMult=1.5
CostAircraftMult=0.5
CostUnitsMult=0.5
CostInfantryMult=0.5
CostBuildingsMult=0.5
CostDefensesMult=0.5
SpeedAircraftMult=1.5
SpeedUnitsMult=1.5
SpeedInfantryMult=1.5
BuildTimeAircraftMult=0.5
BuildTimeUnitsMult=0.5
BuildTimeInfantryMult=0.5
BuildTimeBuildingsMult=0.5
BuildTimeDefensesMult=0.5
IncomeMult=2.0


Can someone tell me what I did wrong? As soon as I have built my BioReactor or killed an Initiate (from the start) it gives an IE.

And the last thing:
I have created a flag for a Yuri country, and it has new colors, red and white. I have edited the pallete and added those colors. But ingame the flag is black, when it should be like I have created it, with a Yuri logo on the left, and the 'flag' part on the right.



except.txt
 Description:

Download
 Filename:  except.txt
 Filesize:  23.93 KB
 Downloaded:  50 Time(s)


_________________


Last edited by Comr4de on Tue May 18, 2010 2:52 pm; edited 1 time in total

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


Joined: 19 Nov 2003

PostPosted: Mon May 17, 2010 3:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Maybe you should try changing DISK under VeteranUnits. VehicleTypes belong under VeteranUnits, AircraftTypes under VeteranAircraft.

Back to top
View user's profile Send private message
High Templar X
Cyborg Firebomber


Joined: 26 Apr 2010

PostPosted: Mon May 17, 2010 7:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

Is this new country listed under [Sides]?

_________________
Because Banshee saw fit to ban my other account for no reason, this is my new one.

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


Joined: 01 Feb 2007
Location: Las Vegas, Nevada, USA

PostPosted: Mon May 17, 2010 11:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

im guessing your making the flags a shp file. the proper format (correct me if im wrong) is suppose to be pcx.

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Comr4de
Gauss Rifle Trooper


Joined: 23 Feb 2010
Location: The Netherlands

PostPosted: Tue May 18, 2010 11:45 am    Post subject: Reply with quote  Mark this post and the followings unread

@ ApolloTD:
The DISK is considered aircraft = yes and if I disable the veteran aircraft.

@ High Templar X:
It is listed under SIDES and at ThirdSide=

@ wardeathfun:
The flag is .PCX created with GIMP, all the other created flags work, but the one with new colors not.

I removed the multipliers completely from the country, still giving the IE

_________________


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


Joined: 05 Dec 2009
Location: USA

PostPosted: Tue May 18, 2010 12:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

What palette did you use for the flag?

_________________

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
Comr4de
Gauss Rifle Trooper


Joined: 23 Feb 2010
Location: The Netherlands

PostPosted: Tue May 18, 2010 12:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

the yrii.pal used for all Yuri flags
I only added three colors, white, red and dark red at a black color (unused) I have a country on a Yuri place (number9) so I have to add them as well.

_________________


Back to top
View user's profile Send private message
Allied General
General


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Tue May 18, 2010 12:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Are you using a exe hack/dll ehancement aka NPatch/Ares?

Flag PCX files have to be in 256-color mode aka 8-bit, thus they technically have palette on them but there's no need to specifically use any existing game palette...

3 reasons why flags can look messed in game include

there's three reasons for why flag pcx looks funky ingame
1: not in correct size
2: not in 256-colors
3: wrong PCX "subformat" e.g saved in wrong program so to say
saving in photoshop or creating PCX file through XCC Mixer Copy as PCX works

[VehicleTypes]
75=DISK

Just because a unit flies in the air doesn't automatically make it a aircraft. Only units under [AircraftTypes] are "true" aircraft.

Think of it like the Cyborg Reaper from Tiberian Sun, its clearly a infantry unit but game purposes its considered a vehicle even though it heals in tiberium, etc.

I would like to thank Starkku for helping me explain the flag issues.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Facebook Profile URL Twitter Channel URL
Comr4de
Gauss Rifle Trooper


Joined: 23 Feb 2010
Location: The Netherlands

PostPosted: Tue May 18, 2010 2:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I am going to try it. I hope it works Very Happy

The next error is about a new weapon,I have edited/recreated the Psychic Tower into some sort of Laser Tower. But I get an IE, before it pops up.

Code:
[YAPSYT2]
Image=YAPSYT2
Cameo=PSYTICON
Remapable=no
Foundation=1x1
Height=8
Buildup=YAPSYTMK
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
ActiveAnim=YAPSYT2_A
ActiveAnimDamaged=YAPSYT2_AD
ActiveAnimZAdjust=-50
ActiveAnimPowered=no  ; SJM: This means anim goes away when underpowered
ActiveAnimPoweredLight=yes ; SJM: This means anim goes away when underpowered
;Below are the settings for the charging animation!
SpecialAnim=YAPSYT2_B
SpecialAnimDamaged=YAPSYT2_BD
SpecialAnimZAdjust=-50
SpecialAnimYSort=362
SpecialAnimPowered=no  ; SJM: This means anim goes away when underpowered
SpecialAnimPoweredLight=yes ; SJM: This means anim goes away when underpowered
CanHideThings=True
CanBeHidden=False
OccupyHeight=5
DamageFireOffset0=-5,5

[YAPSYT2_A]
Image=YAPSYT2_A
Normalized=yes
Start=0
;LoopStart=0
End=1
;LoopCount=-1
Rate=400
Layer=ground
NewTheater=yes
Shadow=yes
 
[YAPSYT2_AD]
Image=YAPSYT2_A
Normalized=yes
;Start=2
;LoopStart=26
;End=3
;LoopCount=-1
Rate=400
Layer=ground
NewTheater=yes
Shadow=yes

[YAPSYT2_B]
Image=YAPSYT2_B
Normalized=yes
Start=0
LoopStart=0
LoopEnd=26
LoopCount=-1
Rate=600
Layer=ground
NewTheater=yes
 
[YAPSYT2_BD]
Image=YAPSYT2_B
Normalized=yes
Start=26
LoopStart=26
LoopEnd=52
LoopCount=-1
Rate=600
Layer=ground
NewTheater=yes


I have added the files, its complicated to explain to you how it works.
The first image, with black jabs is the standard one, also the one for low-power.
The second one, _A, is the powered one.
The third one, _B, is the charging for attack one.

_________________


Last edited by Comr4de on Tue May 18, 2010 3:40 pm; edited 1 time in total

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Tue May 18, 2010 3:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

wouldn't you also need; IsAnimDelayedFire & DelayedFireDelay.

_________________



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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [10 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.2050s ][ Queries: 13 (0.0104s) ][ Debug on ]