i want aa gun can shoot laser, please help me !!

Have modding questions or discovered something new? Post here.
Post Reply
tanpc
Noob
Noob
Posts: 2
Joined: Thu Nov 22, 2018 7:52 am
Vietnam

i want aa gun can shoot laser, please help me !!

Post by tanpc »

i want aa gun can shoot laser, please help me !! :"> :"> :"> Image
User avatar
TommyCD1
Moderator
Moderator
Posts: 1144
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: i want aa gun can shoot laser, please help me !!

Post by TommyCD1 »

You'll have to be a bit more specific than that...
Do you mean like in this map?


Did you want this for your own map, or were you looking to make it a global thing, like an edit to base.x ?
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
tanpc
Noob
Noob
Posts: 2
Joined: Thu Nov 22, 2018 7:52 am
Vietnam

Re: i want aa gun can shoot laser, please help me !!

Post by tanpc »

As in this video setinel can shoot lasers, and I want similar with aa gun lol!

[YouTube]https://www.youtube.com/watch?v=ZDJxWyDsK-0[/YouTube]
fx_weapon_aagun_particles and fx_weapon_aagun.cfg how to @!
link download map http://www.mediafire.com/file/l4uyp2t62 ... XTREME.zip i like sentinel tower
User avatar
TommyCD1
Moderator
Moderator
Posts: 1144
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: i want aa gun can shoot laser, please help me !!

Post by TommyCD1 »

Well, if you have the map, then you can unpack it with DrPack or with the exe.exe file.

Once that's done, you can see how units use their weapon effects from their .cfg files.

Code: Select all

    GenericFX()
    {
      Add("Weapon::Fire", "weapon.aagun.fire");
      Add("Construct::Start", "construct.aagun");
      Add("Recycle::Start", "recycle.aagun");
      Add("MapObj::Health::Low", "damage.aagun");
      Add("MapObj::Death", "death.army.pillbox");
      Add("MapObj::AddToMap2", "restore-large");
    }
This is the effects for the AA Gun. As you can see, it uses the 'weapon.aagun.fire' effect whenever it fires its weapon. You can change it to whatever you like and then have it use it ingame.
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests