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 Tue Nov 24, 2026 11:55 am
All times are UTC + 0
delay 1st shot ?
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Exley
Commander


Joined: 09 May 2011
Location: Approaching the Great Pyramid

PostPosted: Sun Feb 24, 2013 8:51 pm    Post subject:  delay 1st shot ? Reply with quote  Mark this post and the followings unread

as I understand RateOfFire (ROF) only makes delay after 1st shot and so on
but how to delay the very 1st shot ?

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Feb 24, 2013 9:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

FiringSyncFrame1 in art.ini for vehicles and FireUp for infantry.
In both cases, enough frames need to be present in the SHP for the corresponding firinganim. Not sure if FiringSyncFrame1 works on VXL at all.

But this is only for quite small delays like a unit chargeanim.

There is no real way to delay the very first shot after the unit is build/spawned.
Only the mobileEMP offers a StartCharge value with which you can let it first have to load the weapon before it can fire.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 09 May 2011
Location: Approaching the Great Pyramid

PostPosted: Sun Feb 24, 2013 9:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
FiringSyncFrame1 in art.ini for vehicles and FireUp for infantry.


then this rules out dpod.shp (falling drop pod) ? #Tongue

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Feb 24, 2013 9:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

You want to delay the first shot of the drop pod?
What exactly do you want to do?

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 09 May 2011
Location: Approaching the Great Pyramid

PostPosted: Sun Feb 24, 2013 10:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

well, i have set 1 pod to fall vertical (invisible tho)
and thanks to you falls fast

so I wanted it to shoot 1 bullet/projectile that would land AFTER
droppod, maybe 5 or 7 seconds later

basically that would be my "nuclear rocket"
since I don't want to sacrifice multimissle or chem missle or EMP #Tongue

and this idea seemed most painless hehe

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


Joined: 11 Jan 2012

PostPosted: Sun Feb 24, 2013 10:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Maybe would help to know what Charger=yes does. Its part of the Obelisk. Is it the only building/unit that can get a firing delay?

_________________
Free Tibed!
EA for worst company of the decade!

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Feb 25, 2013 6:42 am    Post subject: Reply with quote  Mark this post and the followings unread

Charge logic works with buildings only.

Exley wrote:
so I wanted it to shoot 1 bullet/projectile that would land AFTER
droppod, maybe 5 or 7 seconds later

Use a very slow projectile.
You could also try a reaper splits logic.
-droppod appears in midair
-droppod fires weapon once (high ROF, so it doesn't shoots again)
-first stage of the weapon has ProjectileRange=2 and Speed=1, so it takes very long till it splits to second stage (you can make this projectile invisible so it's only a helper dummy stage)
-second stage is the normal missile/weapon that moves to the target point

Though droppod logic has several hardcoded properties which might not allow using the reaper splits logic.


An alternative would be using art.ini only.
-droppod fires only invisible dummy weapon
-replace in rules.ini
Code:
DropPod=DROPPOD,DROPPOD2   ; mark to leave after drop pod lands

with DropPod=NUKETIMER
-create in art.ini the animation and the effects of the MYSUPERNUKE animation using art.ini debris (see DTA and TI nukes)

Then you are completely free to time the nuke effect by using dummy timer anims
e.g.
[NUKETIMER] ;use this as a dummy timer stage
Image=INVISO
Start=0
End=1
Rate=1 ;wait a minute (Rate=8 for waiting 7.5 seconds; Rate=7 for 6.6 seconds)
Next=NUKEINIT

[NUKEINIT]
Image=INVISO
Start=0
End=2
Rate=900
TrailerAnim=NUKEIMPACT
TrailerSeperation=1

[NUKEIMPACT]
;art.ini debris of the nuke

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 11 Jan 2012

PostPosted: Mon Feb 25, 2013 1:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

An other idea would be using primary and secondary weaponry. The secondary weapon would be a dummy with a slightly higher range than the primary. Not sure on this but I think the dummy weapon needs lower % on the warhead than the primary weapon so that because of higher range it will fire first and then after the reload of the dummy is complete the primary will fire.

_________________
Free Tibed!
EA for worst company of the decade!

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Feb 25, 2013 1:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

not possible. Droppod is no real unit, only a special engine generated effect and hardcoded to use the weapon set on the key DropPodWeapon.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 11 Jan 2012

PostPosted: Mon Feb 25, 2013 2:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well I care more about the thread title's question "delay 1st shot ?" than him wanting a special droppod weapon xD

_________________
Free Tibed!
EA for worst company of the decade!

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


Joined: 09 May 2011
Location: Approaching the Great Pyramid

PostPosted: Tue Feb 26, 2013 12:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:

Use a very slow projectile.


this was my initial intention, but seems it cannot be done
setting speed=1 doesn't do it, its still instant #Tongue

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


Joined: 25 Nov 2002
Location: @__@

PostPosted: Thu Feb 28, 2013 6:30 am    Post subject: Reply with quote  Mark this post and the followings unread

hrm, how about a emulating a bow..like aimed shot?

or rather than the auto sniper one that plays a red dot animation, jiggles a bit and BAM! headshot?

_________________
Delirium..

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


Joined: 09 May 2011
Location: Approaching the Great Pyramid

PostPosted: Thu Feb 28, 2013 5:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

I haven't tested split rockets
but seems that rules for droppod are hardcoded and any
kind of projectile with any kind of speed will hit instantly
no matter how slow projectile or pod drop is
and no matter how high pod is

which kinda sucks #Tongue

_________________
Quote:

how did we end up here ?

this place is horrible ...

smells like balls ...


Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Thu Feb 28, 2013 5:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Then use the method described above, replacing the Droppod anim.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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