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 Thu Mar 28, 2024 12:10 pm
All times are UTC + 0
Tunnel problem
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
freedom fighter
General


Joined: 14 May 2009

PostPosted: Wed Feb 21, 2018 1:42 pm    Post subject:  Tunnel problem
Subject description: Does this shit even work (anymore)?
Reply with quote  Mark this post and the followings unread

So I finally decided to get back into modding and the first thing that happens is some logic not working for some reason.

I've read through the 1.0 doc about tunnel networks and with what little code provided, nothing is working. I have the [TunnelTypes] list set up, defined the TunnelType, gave a building said TunnelType but nothing's happening...

Code:
; *** Tunnel List ***
; A list for tunneltypes
[TunnelTypes]
0=MutantTunnel

; ******* Tunnel Control *******
[MutantTunnel]
Passengers=8
MaxSize=3.0

; Assault Tunnel (test code)
[NATUNL]
UIName=NOSTR:Assault Tunnel
Name=Soviet Assault Tunnel
Adjacent=2
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
Armor=steel
BaseNormal=no
BuildCat=Combat
Prerequisite=NACNST
Capturable=false
ClickRepairable=yes
Cost=10
Crewed=no
DebrisAnim=Dbris3sm,Dbris4lg,Dbris4sm,Dbris6sm,Dbris7lg,Dbris7sm,Dbris8sm,Dbris10lg,Dbris10sm
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
;IsBaseDefense=yes
MaxDebris=15
MinDebris=5
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Powered=no
Sight=6
Strength=600
TechLevel=1
;AntiInfantryValue=25
;AntiArmorValue=10
;AntiAirValue=0
;gs these three are in abstract units and just help the AI pick the right base defense. (see AIForcePredictionFudge)
Tunnel=MutantTunnel


Do I need an additional logic to get the code to work (like CanBeOccupied= or UnitAbsorb= ?) or am I placing the codes at the wrong spots?

_________________
The future belongs to The Forgotten!

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


Joined: 14 Sep 2006
Location: Limbo

PostPosted: Wed Feb 21, 2018 2:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

It needs a [NATUNL]>SizeLimit=3 as well, not sure if that's documented or not.

_________________
"Don't beg for things; Do it yourself or you'll never get anything."

Back to top
View user's profile Send private message Send e-mail YouTube User URL
AnimalMan
Chem Warrior


Joined: 06 Feb 2018
Location: London, England

PostPosted: Wed Feb 21, 2018 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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.1360s ][ Queries: 11 (0.0080s) ][ Debug on ]