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 Fri Apr 19, 2024 9:29 pm
All times are UTC + 0
Unlimited ammo for airplanes/helicopters
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   This topic is locked: you cannot edit posts or make replies. Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Apex
General


Joined: 24 Dec 2005
Location: Final Alert 2

PostPosted: Sun Sep 30, 2007 2:45 am    Post subject:  Unlimited ammo for airplanes/helicopters
Subject description: Doesn't shoot after a while
Reply with quote  Mark this post and the followings unread

Okay, I made a small rules change to TS to give a new unit unlimited ammo. After a while, it refuses to shoot. Heres the part of the code I changed from the orca copy:

Code:

[WTFORCA]
Name=Glitch
Image=Trucka
Strength=750
Primary=HarpyClaw
;PipScale=Ammo ;Removed
;Ammo=5           ;Removed
BuildLimit=1

_________________
Comcast: Yo dawg we herd yo were downloading, so we put fail in yo modem so yo cant download while yo failin!

Back to top
View user's profile Send private message Send e-mail Skype Account Yahoo Messenger Account
Clazzy
Karma Police


Joined: 26 Nov 2002
Location: Algae Colony On Mars

PostPosted: Sun Sep 30, 2007 3:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Aircraft are hardcoded to need ammo. Give it Ammo=9999 and hope it dies before reloading.

_________________
Quote:
This is sexier than what this forum was supposed to tolerate. - Banshee

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


Joined: 28 Feb 2004

PostPosted: Sun Sep 30, 2007 10:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Clazzy wrote:
Aircraft are hardcoded to need ammo. Give it Ammo=9999 and hope it dies before reloading.


Ammo=-1

_________________
Micro TS
Portable, no campaign, movies or music, just the engine and needed resources for skirmish and lan.

Back to top
View user's profile Send private message Send e-mail Skype Account
Clazzy
Karma Police


Joined: 26 Nov 2002
Location: Algae Colony On Mars

PostPosted: Sun Sep 30, 2007 12:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

If you have no Ammo= tag, it defaults to -1, does it not?

_________________
Quote:
This is sexier than what this forum was supposed to tolerate. - Banshee

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


Joined: 18 Aug 2006

PostPosted: Mon Oct 01, 2007 1:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Default is =-1 yes. Its that way across CnC inis dating to RA1.

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


Joined: 28 Feb 2004

PostPosted: Sun Oct 07, 2007 10:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Clazzy wrote:
If you have no Ammo= tag, it defaults to -1, does it not?


probably, but you never can be sure with aircraft imo

_________________
Micro TS
Portable, no campaign, movies or music, just the engine and needed resources for skirmish and lan.

Back to top
View user's profile Send private message Send e-mail Skype Account
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Oct 07, 2007 1:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Guess what. I just gave it a shot, and with ammo=-1, it has infinite ammunition.

_________________


Back to top
View user's profile Send private message
Rico
Tiberian Beast


Joined: 01 Nov 2004
Location: Sydney, Australia

PostPosted: Tue Oct 09, 2007 10:42 am    Post subject: Reply with quote  Mark this post and the followings unread

or u could read what the rules instructions (at top of rules file) says and notice it tells u the answer Razz

Back to top
View user's profile Send private message Skype Account Yahoo Messenger Account
Muldrake
Supreme Commander


Joined: 19 Sep 2003
Location: England

PostPosted: Tue Oct 09, 2007 4:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sorted, no more replies needed, really.

_________________
If there is a problem on the forums, PM me.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies. Page 1 of 1 [9 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.1693s ][ Queries: 11 (0.0082s) ][ Debug on ]