Shields? (FAQ)
Moderator: Moderators
- PR-0927
- Old School Staff
- Posts: 844
- Joined: Fri Dec 31, 2004 9:15 pm
- Location: Kent, OH, U.S.A.
Shields? (FAQ)
Well, I wanted to add shields to my TX-130S Saber-class Fighter Tank (to make it accurate). I really want to do this. Does anyone know how to?
Thanks in advance.
- Majin Revan
Thanks in advance.
- Majin Revan
-
Vyse
- General

- Posts: 776
- Joined: Sun Aug 28, 2005 5:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- PR-0927
- Old School Staff
- Posts: 844
- Joined: Fri Dec 31, 2004 9:15 pm
- Location: Kent, OH, U.S.A.
Nope. I want a shield that cannot be turned off or on and is like the capital ship shield-it appears when it is fired at and hit. I want it to be able to take the form of the tank and envelope it. I had earlier thought that SWBF II did this with the starfighters, but apparently I was wrong.
- Majin Revan
- Majin Revan
-
xwingguy
-
JabbaLovesLava
- Sith

- Posts: 1396
- Joined: Tue Jun 07, 2005 11:50 am
-
TAWArtemis
- PR-0927
- Old School Staff
- Posts: 844
- Joined: Fri Dec 31, 2004 9:15 pm
- Location: Kent, OH, U.S.A.
xwingguy wrote:Since vehicle spawns are shown as objects...try putting the shield on the vehicle spawn and see what happens. If it works, 2 problems remain:
1) controller object needs to be scrubbed out of the Linked Shields file
2) the fact that they spawn more than one vehicle......
Umm, what? Please explain, who furthest I got was finding the "Linked_shields" file.
- Majin Revan
-
xwingguy
Ok, I'll give a better explaination.MajinRevan wrote:xwingguy wrote:Since vehicle spawns are shown as objects...try putting the shield on the vehicle spawn and see what happens. If it works, 2 problems remain:
1) controller object needs to be scrubbed out of the Linked Shields file
2) the fact that they spawn more than one vehicle......
Umm, what? Please explain, who furthest I got was finding the "Linked_shields" file.
- Majin Revan
First here's the code that state your parameters.
Code: Select all
objs = nil, --set this to a list of object names which share the same shield
maxShield = 200000, --maximum shield value
addShield = 10000, --regeneration rate for the shields
controllerObject = nil, --the object that, if blown up, will take down the shields
ControllerObject is the tricky part. (Usually this is the internal shield generator.) Some way this needs cut out of the file entirely if this were to work properly when used on vehicles.
Lastly if multiple vehicles come from the same spawn point, then they would probably share the same shield (bad).
How to declare and initiate a shield:
Code: Select all
<shieldName> = LinkedShields:New{objs = "<objectName>", controllerObject = "<controllerObjectName>"}
shieldStuffIMP:Init()- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
- PR-0927
- Old School Staff
- Posts: 844
- Joined: Fri Dec 31, 2004 9:15 pm
- Location: Kent, OH, U.S.A.
- PR-0927
- Old School Staff
- Posts: 844
- Joined: Fri Dec 31, 2004 9:15 pm
- Location: Kent, OH, U.S.A.
-
Vyse
- General

- Posts: 776
- Joined: Sun Aug 28, 2005 5:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Emraz
-
Guest
- PR-0927
- Old School Staff
- Posts: 844
- Joined: Fri Dec 31, 2004 9:15 pm
- Location: Kent, OH, U.S.A.
-
Big_rich
-
Murdocr
-
OGEB1103
