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 Sun Apr 05, 2026 12:39 am
All times are UTC + 0
units stealthed while shooting?
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [13 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Guest123
Vehicle Driver


Joined: 23 May 2010
Location: New Zealand

PostPosted: Mon May 24, 2010 11:52 pm    Post subject:  units stealthed while shooting? Reply with quote  Mark this post and the followings unread

basically i want the gdi sniper to not be uncovered while shooting. i have removed the thing in the updateinvisibility tag but that doesnt seem to work.

Back to top
View user's profile Send private message
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Tue May 25, 2010 1:22 am    Post subject: Reply with quote  Mark this post and the followings unread

The default according to the schemas is to reveal stealthed units upon attack so entirely removing the setting won't do any good.

Just try this:
Code:

         <InvisibilityUpdate
            id="ModuleTag_Invisibility"
            UpdatePeriod="0.2s"
            Options="STARTS_ACTIVE">
            <InvisibilityNugget
               ForbiddenStatus="USING_WEAPON_C" />
         </InvisibilityUpdate>

_________________
Off Duty.

Back to top
View user's profile Send private message
Guest123
Vehicle Driver


Joined: 23 May 2010
Location: New Zealand

PostPosted: Tue May 25, 2010 6:53 am    Post subject: Reply with quote  Mark this post and the followings unread

that didnt work; came up as a critical error

Back to top
View user's profile Send private message
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Tue May 25, 2010 8:08 am    Post subject: Reply with quote  Mark this post and the followings unread

What kind of error? When compiling or when in the actual game?

_________________
Off Duty.

Back to top
View user's profile Send private message
Guest123
Vehicle Driver


Joined: 23 May 2010
Location: New Zealand

PostPosted: Wed May 26, 2010 12:18 am    Post subject: Reply with quote  Mark this post and the followings unread

came up while compiling and crashed the game at start-up

Back to top
View user's profile Send private message
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Wed May 26, 2010 6:48 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes but what did it say?

_________________
Off Duty.

Back to top
View user's profile Send private message
Guest123
Vehicle Driver


Joined: 23 May 2010
Location: New Zealand

PostPosted: Wed May 26, 2010 7:50 am    Post subject: Reply with quote  Mark this post and the followings unread

The 'ForbiddenStatus' attribute is invalid - The value 'USING_WEAPON_C' is invalid according to its datatype 'uri:ea.com:eala:asset:ObjectStatusBitFlags' - The Enumeration constraint failed.

ive tried it with 'forbiddenConditions' attribute which allows it in-game but it doesnt do anything

Back to top
View user's profile Send private message
JackTheCrack
Vehicle Driver


Joined: 01 Jun 2010

PostPosted: Tue Jun 01, 2010 8:59 am    Post subject: Reply with quote  Mark this post and the followings unread

The correct line for that is actually:

ForbiddenStatus="IS_FIRING_WEAPON"

Back to top
View user's profile Send private message
Guest123
Vehicle Driver


Joined: 23 May 2010
Location: New Zealand

PostPosted: Tue Jun 01, 2010 9:42 am    Post subject: Reply with quote  Mark this post and the followings unread

yeah i know, what im wanting is for the sniper to fire without un-cloaking like in generals

Back to top
View user's profile Send private message
JackTheCrack
Vehicle Driver


Joined: 01 Jun 2010

PostPosted: Tue Jun 01, 2010 9:47 am    Post subject: Reply with quote  Mark this post and the followings unread

That's easy, you take the GDISniper.xml (squad doesn't have that code):

then find the "invisibilityupdate" code, and at ForbiddenStatus remove IS_FIRING_WEAPON

Edit: might want to remove IS_AIMING_WEAPON as well

Back to top
View user's profile Send private message
Guest123
Vehicle Driver


Joined: 23 May 2010
Location: New Zealand

PostPosted: Tue Jun 01, 2010 9:59 am    Post subject: Reply with quote  Mark this post and the followings unread

that doesnt seem to work. just as golan said in the 2nd post the default in the schemas is to un-stealth to fire

Back to top
View user's profile Send private message
JackTheCrack
Vehicle Driver


Joined: 01 Jun 2010

PostPosted: Tue Jun 01, 2010 10:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Hmm it seems it's not as I tried it in my mod, ill look into it maybe I can find how to make it work. I don't see much use of it though as there's still plenty of units that detect them easily.

Back to top
View user's profile Send private message
Guest123
Vehicle Driver


Joined: 23 May 2010
Location: New Zealand

PostPosted: Wed Jun 02, 2010 3:58 am    Post subject: Reply with quote  Mark this post and the followings unread

ill be lowering that amount significantly or changing them to detect specific types of units in my mod. ps my sniper now takes from 0.5 to 2.5 sec to aim and can only stealth-detect ground units so its quite a bit more realistic. thats one reason for the stealthed firing like the pathfinder in generals

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [13 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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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.6665s ][ Queries: 11 (0.0100s) ][ Debug on ]