Posted: Wed Apr 28, 2021 12:20 pm Post subject:
Problem with PsySensor in RA2mode on CNCNET(partiaily solved
A rather serious problem exists in the RA2 mode on CNCNET.
In the original RA2, the Soviet PsySensor unmasks mirages. This does not happen on CNCNET in RA2 mode.
This is becoming a rather serious problem, since soviets have no way to deal with mirages in CNCNET in RA2 mode. The only option is to forcefully aim tanks at mirages, but with a large number of mirages, the player cannot quickly kill all the mirages, in this situation. The soviets become very defenseless.
How can i repair PsySensor for my maps by adding lines in .map file? Is it possible?
The problem is very significant indeed.
The same problem is with spyes.
Example in the picture:
CNCNET RA2.jpg
Description:
Filesize:
449.09 KB
Viewed:
2661 Time(s)
Original RA2.jpg
Description:
Filesize:
383.59 KB
Viewed:
2661 Time(s)
Orig RA2.jpg
Description:
Filesize:
397.38 KB
Viewed:
2661 Time(s)
CNC RA2.jpg
Description:
Filesize:
341.77 KB
Viewed:
2661 Time(s)
Last edited by Andrew84 on Sat May 01, 2021 10:33 pm; edited 1 time in total QUICK_EDIT
Apparently, the lines highlighted below should work, but they don't.
[NAPSIS]
UIName=Name:NAPSIS
Name=Psychic Sensor
BuildCat=Combat
Prerequisite=NATECH,NACNST
Strength=750
Armor=wood
TechLevel=10
Adjacent=2
Sight=10
PsychicDetectionRadius=15
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
Cost=1000
Points=50
Power=-50
Powered=true
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=220, 390, 150
AIBuildThis=no ; ;took it out at HY's request -DB To fool the player -- it's not like it's necessary.
HasRadialIndicator=true
ConcentricRadialIndicator=true ; SJM: If HasRadialIndicator, use a concentric-ring effect rather than radar sweep.
DetectDisguise=yes
DetectDisguiseRange=15
;Sensors=yes ;GEF buildings and units use different methods of saying that they are sensors, grumble
SensorArray=yes
SensorsSight=15 QUICK_EDIT
CNCNet "RA2" is actually a stripped down YR, check the YR code for sensor changes?
Can confirm.
RA2 mode only does some rules.ini changes, and some of the changes shouldn't have been done, like changing the Houses/Countries list and removing some trees. QUICK_EDIT
Maybe invent something using a virtual unit?
These lines:
Sensors = yes
Sensors Sight = 15
Work with a units.
Is it possible to turn the psysensor into a unit, or somehow make an additional virtual unit inside the sensor during construction, which could reveal hidden objects in a given radius? QUICK_EDIT
I partially solved the problem. In the part that deals with the definition of submarine units. This is important because all my maps are for naval battles.
The solution is quite interesting. I gave the building a unit, which is a sensor:
I worked on making the psychosensor explode when destroyed, and detonate the attached unit with it. But then I discovered that for some unknown and completely illogical reason, the unit ceases to see underwater units when the psychosensor is sold or destroyed. This is definitely some kind of bug, but luckily it works to our advantage in this case.
Of course, extra tile is involved by additional unit, and perhaps some aesthetic nuances, but these are not very big inconveniences, compared to a non-working psychosensor. Moreover, the attached unit looks like some kind of additional module with equipment.
So that the players do not rack their brains about why this is needed, I signed it, and when you hover over it, the text is highlighted (if this option is activated in the game settings).SDM.jpg
Another small disadvantage of this solution is that this system continues to work even after a power outage, which, of course, should not be. But, these are the costs of such a solution to the problem. We choose the lesser of two evils. Especially considering that usually the energy is not turned off.
Otherwise, this system works just fine.
As for the tanks-mirages and spies - I have not solved this problem. The question remains open.
IIRC there was an old bug of the vanilla game (maybe even in TS?), that sensor units sometimes were not correctly removed from game and still be able to reveal stealthed enemys after they are destroyed. 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