IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> When it comes to lasers...
Devastator
post Aug 29 2010, 11:19 PM
Post #1


Commando
Group Icon

Group: Members
Posts: 543
Joined: 20-February 10
From: The United States
Member No.: 1,799
Alliance: GDI
Favorite game: Tiberian Sun



Just a little "how to"
Is it possible to create a weapon that looks like a laser but doesn't hit it's target instantly?
(I tried putting Speed=1 on laserfire but I figured that it wouldn't work)

Is it hardcoded by it's warhead Super?

(Just another little question:What happens to a weapon that has IsLaser=true, but warhead isn't Super?


--------------------
Go to the top of the page
 
: | +Quote Post
Blackhand Comman...
post Aug 30 2010, 08:27 AM
Post #2


Hum-vee
Group Icon

Group: Members
Posts: 172
Joined: 17-March 09
From: Hungary
Member No.: 1,533
Favorite game: Tiberian Sun



QUOTE (Ionizer @ Aug 30 2010, 01:19 AM) *
Just a little "how to"
Is it possible to create a weapon that looks like a laser but doesn't hit it's target instantly?
(I tried putting Speed=1 on laserfire but I figured that it wouldn't work)

Is it hardcoded by it's warhead Super?

(Just another little question:What happens to a weapon that has IsLaser=true, but warhead isn't Super?


depends on what do you want. If you want blaster fire like in SW, then just simply make a blaster-fire looking projectile for your weapon. If you actually want a delayed laser... uhm... good question... try making a weapon which has an invisble projectile with the given speed, but with inner and outer laser colors. Or mess with railgun logics, or even cyborg reaper clusters.
About the super WH, I dont think it have any influence on the speed but try it.


--------------------
The Brotherhood of Nod will rise agin...
BTW I have a nice voxel for ya: Unused Tank Destroyer
Go to the top of the page
 
: | +Quote Post
Devastator
post Aug 30 2010, 09:08 PM
Post #3


Commando
Group Icon

Group: Members
Posts: 543
Joined: 20-February 10
From: The United States
Member No.: 1,799
Alliance: GDI
Favorite game: Tiberian Sun



I tried creating a cyborg reaper weapon from scratch and it crashed. (I probably forgot an important key)
Yep, I want a SW laser for my mod.


--------------------
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Aug 30 2010, 10:23 PM
Post #4


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



QUOTE (Ionizer @ Aug 29 2010, 11:19 PM) *
Is it possible to create a weapon that looks like a laser but doesn't hit it's target instantly?
(I tried putting Speed=1 on laserfire but I figured that it wouldn't work)

Because you haven't removed Inviso=yes from the LLine projectile. A projectile with Inviso=yes is automatically changed to an instant hit weapon regardless of the Speed set on the weapon.
Though without the key you either have to give it Arcing=true or ROT=1 (or >1), or else the projectile won't be able to travel farther than 1-2 cells.

However, the Laser line effect is hardcoded to be displayed instantly. So a slow projectile would cause the laser to be drawn instantly and then a while later the actual damage done on the target.

QUOTE (Ionizer @ Aug 29 2010, 11:19 PM) *
Is it hardcoded by it's warhead Super?

The warhead has nothing to do with the weapon behavior.
Warhead: defines what happens when the projectile hits the target: The damage done to the different armor types as well as the explosion.
Projectile: the image and behavior of the traveling projectile (e.g. missile, cannon, invisible etc)
Weapon: puts warhead and projectile together to create the actual weapon with it's damage, speed, sound and other settings.

QUOTE (Ionizer @ Aug 29 2010, 11:19 PM) *
(Just another little question:What happens to a weapon that has IsLaser=true, but warhead isn't Super?

Nothing special. Just a Laser that has a different behavior on the target. E.g. doing an explosion

QUOTE (Ionizer @ Aug 30 2010, 09:08 PM) *
I tried creating a cyborg reaper weapon from scratch and it crashed. (I probably forgot an important key)

the splitted weapon needs to be assigned to a dummy unit (e.g. the second stage DualRockets are assigned to the WEEDGUY to prevent the IE)
If the WEEDGUY is full (having already 3 cluster/split stage weapons assigned you can simply create another dummy infantry. (TI uses 5 WEAPDUM infantry to fulfill the role of the weeduy hack)

QUOTE (Ionizer @ Aug 30 2010, 09:08 PM) *
Yep, I want a SW laser for my mod.

Open one of the missile shps. change it to look like a single or dual laser line.
Create a missile projectile with ROT=1 and give it the image of the new SW laser.
Assign the projectile to a weapon.
You can also take a look at my Goliath (see sig) which has already a similar weapon included. (twinlaser.shp)

This post has been edited by Lin Kuei Ominae: Aug 30 2010, 10:31 PM


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
Blackhand Comman...
post Aug 31 2010, 08:46 AM
Post #5


Hum-vee
Group Icon

Group: Members
Posts: 172
Joined: 17-March 09
From: Hungary
Member No.: 1,533
Favorite game: Tiberian Sun



Or you dont mess with shps, but make a small voxel projectile... Btw take a look at your announcement i gave some advices about units to you. Youre a lucky man as im an SW fan...


--------------------
The Brotherhood of Nod will rise agin...
BTW I have a nice voxel for ya: Unused Tank Destroyer
Go to the top of the page
 
: | +Quote Post
Devastator
post Aug 31 2010, 09:09 PM
Post #6


Commando
Group Icon

Group: Members
Posts: 543
Joined: 20-February 10
From: The United States
Member No.: 1,799
Alliance: GDI
Favorite game: Tiberian Sun



QUOTE (Lin Kuei Ominae @ Aug 30 2010, 06:23 PM) *
Because you haven't removed Inviso=yes from the LLine projectile. A projectile with Inviso=yes is automatically changed to an instant hit weapon regardless of the Speed set on the weapon.
Though without the key you either have to give it Arcing=true or ROT=1 (or >1), or else the projectile won't be able to travel farther than 1-2 cells.

However, the Laser line effect is hardcoded to be displayed instantly. So a slow projectile would cause the laser to be drawn instantly and then a while later the actual damage done on the target.


The warhead has nothing to do with the weapon behavior.
Warhead: defines what happens when the projectile hits the target: The damage done to the different armor types as well as the explosion.
Projectile: the image and behavior of the traveling projectile (e.g. missile, cannon, invisible etc)
Weapon: puts warhead and projectile together to create the actual weapon with it's damage, speed, sound and other settings.


Nothing special. Just a Laser that has a different behavior on the target. E.g. doing an explosion


the splitted weapon needs to be assigned to a dummy unit (e.g. the second stage DualRockets are assigned to the WEEDGUY to prevent the IE)
If the WEEDGUY is full (having already 3 cluster/split stage weapons assigned you can simply create another dummy infantry. (TI uses 5 WEAPDUM infantry to fulfill the role of the weeduy hack)


Open one of the missile shps. change it to look like a single or dual laser line.
Create a missile projectile with ROT=1 and give it the image of the new SW laser.
Assign the projectile to a weapon.
You can also take a look at my Goliath (see sig) which has already a similar weapon included. (twinlaser.shp)


Very useful info LKO. I'll be sure to use this for weapons. I'll also follow the advice you once gave me on creating those little movies. rolleyes.gif

@Blackhand Commando:I've read through the list and added some already. Thanks.


--------------------
Go to the top of the page
 
: | +Quote Post
Daroach
post Sep 1 2010, 04:01 PM
Post #7


Hum-vee
Group Icon

Group: Members
Posts: 158
Joined: 28-December 09
From: Patch Land-Space Land-Mysterious UFO level
Member No.: 1,711
Alliance: Scrin
Favorite game: Tiberian Sun



QUOTE (Ionizer @ Aug 30 2010, 12:19 AM) *
Just a little "how to"
Is it possible to create a weapon that looks like a laser but doesn't hit it's target instantly?
(I tried putting Speed=1 on laserfire but I figured that it wouldn't work)

Use the shp of the rockets and make it red or something, then use it like a tick tank projectile. (I don't know much in this area but I wanted to make a contribution.)


--------------------

Projects: Power & Ponies {Name Wip}, C&C Tiberian Sun: Setting, C&C: Europian Rampage [Generals mod] (Fomerly C&C Red Alert for RA2)
Formaly known as: Cat-a-strobic-Dj. Sometimes known as: Plasterat (PSN, Xfire, online)
Worker on:C&C: TS: Best of Beta
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th March 2024 - 11:53 AM


XGhozt.com