Help - Search - Members - Calendar
Full Version: Questions
SWR Productions Forum > Game Modding and Development > Generals/Zerohour Modding
Jet02
1.Is it possible to add a new damage type?

2. How do i implement a probability hit system?
(USA)Bruce
1- No

2-Ehh someone else can explain it better but weapons have miss chances or scatter rates
Jet02
QUOTE ((USA)Bruce @ 7 Dec 2016, 13:06) *
1- No


Why not? Has anyone tried?

Also
3. Where can i find any decent w3d sukhoi models?
Shiro
QUOTE (Jet02 @ 7 Dec 2016, 6:01) *
1.Is it possible to add a new damage type?

Damage types are hard-coded, so no.

QUOTE (Jet02 @ 7 Dec 2016, 6:01) *
2. How do i implement a probability hit system?

With randomise-object functions like Technicals. ShW' and ROTR' Flak Cannon bunkers use this IIRC.

QUOTE (Jet02 @ 7 Dec 2016, 6:34) *
3. Where can i find any decent w3d sukhoi models?

Probably in here, somewhere.
Jet02
QUOTE (SoraZ @ 7 Dec 2016, 13:46) *
Damage types are hard-coded, so no.


With randomise-object functions like Technicals. ShW' and ROTR' Flak Cannon bunkers use this IIRC.


Probably in here, somewhere.


1. I see.
2. Where does that go? Does it require lots of coding? Does it work on aa weponry?
3. Can't find any, thanks anyway. I got one on turbosquid, it's in .3ds format though.
Stalker
QUOTE (Jet02 @ 7 Dec 2016, 7:21) *
2. Where does that go? Does it require lots of coding? Does it work on aa weponry?


You use a projectile with a build variation (see Technical) where for instance 4 out of five times a regular projectile is spawned and 1 time a special one which is modified (e.g. Locomotor) in a way that it always misses.

It requires lots of coding.

The Shockwave Flak Bunker works exactly like this (iirc)
Jet02
Thanks guys that really helped:)
Jet02
4.it is possible for fixed wing aircraft not to stick to a certain height above the ground?

5.do special maneuvers require an animation?
Jet02
6) how do i make stealth units "blink" instead of becoming transparent all the moment it exits whatever produced it?
TimeBurner
QUOTE (SoraZ @ 7 Dec 2016, 14:46) *
Probably in here, somewhere.



That is one majestic thread for me. Who or what is sleipnir?
Shiro
QUOTE (TimeBurner @ 23 Dec 2016, 14:07) *
That is one majestic thread for me. Who or what is sleipnir?

A very old gaming forum, and one of those forums where extensive ZH modding was really "born". It's called Sleipnirstuff because the Admin's name is Sleipnir and it's his stuff ^^
Jet02
7. Does weapon speed affect the speed of the projectile or just the damage?

8. If i want to make something target only specific units(like a harm missile), does the code that determines what it can hit go in the scripts or the unit's directory?

Sorry for any inconvenience caused
Zeke
QUOTE (Jet02 @ 23 Dec 2016, 22:36) *
7. Does weapon speed affect the speed of the projectile or just the damage?

8. If i want to make something target only specific units(like a harm missile), does the code that determines what it can hit go in the scripts or the unit's directory?

Sorry for any inconvenience caused


7. Speed of projectiles, except missiles which take their speed from their locomotors.

8. What a unit can attack is determined by the damage type of their weapon, and the damage types its target's armor can take damage from.

Example: Units with weapons with the LASER damage type can attack missiles, because missile armor has the field "LASER = 100%", while they cannot attack tanks because tanks have "LASER = 0%"
Jet02
How about 4,5 and 6?

QUOTE (Zeke @ 23 Dec 2016, 23:23) *
8. What a unit can attack is determined by the damage type of their weapon, and the damage types its target's armor can take damage from.

Example: Units with weapons with the LASER damage type can attack missiles, because missile armor has the field "LASER = 100%", while they cannot attack tanks because tanks have "LASER = 0%"


So units automatically ignore stuff that they can't harm? Seems simple.
Zeke
QUOTE (Jet02 @ 8 Dec 2016, 8:16) *
4.it is possible for fixed wing aircraft not to stick to a certain height above the ground?

5.do special maneuvers require an animation?

6) how do i make stealth units "blink" instead of becoming transparent all the moment it exits whatever produced it?


4. No, afaik

5. What do you mean by "special maneuvers"?

6. What do you mean by "blink", temporarily become un-stealth from time to time, or just visually blinking while stealth?
Jet02
5. Stuff like the aileron roll the berkut does. Or the cobra. Or the kulbit.

6. The latter. Like most other stealth units in-game. Or can i make them totally visible even when cloaked?
Zeke
QUOTE (Jet02 @ 24 Dec 2016, 10:44) *
5. Stuff like the aileron roll the berkut does. Or the cobra. Or the kulbit.

6. The latter. Like most other stealth units in-game. Or can i make them totally visible even when cloaked?


5. Yes they require animations.

6. Add these fields in the object's stealth update, then edit them:
CODE
FriendlyOpacityMin = 50%
FriendlyOpacityMax = 100%
Jet02
So....i assume the Minimum value goes up?
Zeke
min = how transparent it can be
max = how opaque it can be

100% = not transparent
0% = completely invisible
Jet02
Ok thanks
Graion Dilach
QUOTE (TimeBurner @ 23 Dec 2016, 14:07) *
Who or what is sleipnir?


Sleipnir is the old username of pchote, the main OpenRA coder.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.