Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: KDXDARK on September 09, 2012, 11:08:45 pm
Title: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: KDXDARK on September 09, 2012, 11:08:45 pm
Hi people i am DARKLEGION and this is a tutorial to add custom powerups, Thank's to Treminaor and Codmapper for the help.
1)_Go to raw/maps and copy the _zombiemode_powerups.gsc to mods/mapname/maps .
2)_open in the line 48 you see this " // Random Drops " and down of that: under the carpenter add this 3)_ go to the fuction " powerup_grab() " under add this
4)_now find this fuction " nuke_flash() " and under that add this 5)_ Go to raw/maps and open your mapname.gsc and add this in your main fuction
Example
6)_ Go to Zone_source and open your mapname.csv and add this in the end of it
7)_compile all your map and test it!
ENJOY :troll:
(if you got a error post here and wait for my response) possible error in the GOD POWERUP fuction
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: Chunkdogg9 on September 10, 2012, 01:51:11 am
testing it out now hope it works :D
::EDIT::
It didnt work just says script compile error
i did everything you said to do an didnt work
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: SajeOne on September 10, 2012, 02:18:30 am
epic, death machine is being made into power up now ;)
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: Chunkdogg9 on September 10, 2012, 03:14:17 am
i can't even load my map now >:(
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: treminaor on September 10, 2012, 05:15:16 am
Once someone reports this as working, I will sticky it. Until then, help Chunkdogg9 out .
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: Chunkdogg9 on September 10, 2012, 05:37:51 am
i replaced my DLC3_Code thing with the download you provided im guessing i wasn't suppose to do that?
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: treminaor on September 10, 2012, 05:48:16 am
so just drop it in the where the one in raw is? and replace it?
Yes the one I just gave you is the original file. Overwrite your /raw/maps/dlc3_code with that one. Put the DARKLEGION dlc3_code in /mods/YOURMODNAME/maps
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: SajeOne on September 10, 2012, 06:05:15 am
darklegion it would help if i knew what you edited in dlc3_code
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: treminaor on September 10, 2012, 07:02:48 am
darklegion it would help if i knew what you edited in dlc3_code
Yes you should never have to download script files unless they are new files. Modifications should all be documented.
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: Chunkdogg9 on September 10, 2012, 09:12:46 am
yea this doesnt work i tried doing it after fixing it up and nothing game just freeze's on the load screen :lol:
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: YaPh1l on September 10, 2012, 11:38:34 am
Only thing changed in dlc3_code is the include_powerups(9 function: Which should more look like this: You do not even need the modified dlc3_code.gsc, you could use the stock one and add the three new include_powerup() calls in your mapname.gsc. EDIT: @SajeOne, I already scripted the death machine powerup :troll: .
- Phil.
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: KDXDARK on September 10, 2012, 01:28:04 pm
edited the post, i can give too much support beacause i am not in my computer, this night possible update and fix
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: Chunkdogg9 on September 11, 2012, 03:18:49 am
So what do the power ups look like?
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: KDXDARK on September 11, 2012, 01:44:46 pm
Do I just change the xmodel of each power up to make a different model show when the power up is there?
Is there a way to make my own custom power up model?
How would I goin about adding the little picture in middle at the bottom like x2?
if you look here: in _zombiemode_powerups you can see all the powerups, all you need to do is copy the line and redo it to fit your powerup, heres an example the model for the powerup is "zombie_teddybear" and the name of the powerup is "infinite_ammo" to add the shader look for "shader_2x" and use the two lines there as reference on how to make yours, that is not all you need to do though. Look through the code and see what does what, Darklegion's tutorial GSC might have the shader code in it that you can look at to see what he added, hope this helps a little.
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: w4d3 on October 22, 2012, 08:25:26 pm
This tutorial does work
worked first start but couldnt see the models just the shinney glow
for some reason i had to add the xmodels in my fast file mod csv to get them to show up in game but i think thats a issue on my end
Title: Re: [User Tutorial] Custom powerup(Speed, Unlimited ammo and God)
Post by: haxman123 on October 25, 2012, 11:49:47 pm