Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 42 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Latest Posts by acedlol
These topics are the latest to have been updated with new posts.
Show me more: 50 100 150
MODSonline.com Forums
Latest Posts
Subscribed Posts
Search
  Topic Replies Views Last Post
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
You sir, are a ******* legend. edited on Aug. 6, 2011 07:15 am by acedlol... [more]
12 1270 Aug 6, 2011 11:15 am
by acedlol
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
IzNoGoD writes...Quote:Code: main() { teleporter2 = getEnt ( "game2" , "targetname" ); targetaxis2 = getEnt ( "axis2", "targetname"); targetallies2 = getEnt ( "allies2", "targetname"); player=undefined; while(!isdefined(player)||!isplayer... [more]
12 1270 Aug 6, 2011 09:30 am
by acedlol
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
Okay, so I think I got it working, but now I have another problem. Code: main() { teleporter1 = getEnt ( "game1" , "targetname" ); targetaxis1 = getEnt ( "axis1", "targetname"); targetallies1 = getEnt ( "allies1", "targetname"); teleport... [more]
12 1270 Aug 6, 2011 08:22 am
by acedlol
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
Enabled developer_script error was "type undefined was not a vector" ... [more]
12 1270 Aug 5, 2011 03:24 pm
by acedlol
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
Fixed the syntax erros Code: main() { teleporter = getEnt ( "game1" , "targetname" ); targetaxis = getEnt ( "axis", "targetname"); targetallies = getEnt ( "allies" , "targetname"); teleporter waittill("trigger",player); if(player.pers["te... [more]
12 1270 Aug 5, 2011 12:52 pm
by acedlol
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
So I give the script_origins names: teleportaxis1 teleportallies1 Put this into the script target_axis=getent(teleportaxis1,"targetname"); target_allies=getent(teleportallies1,"targetname"); I get unitialised variable error at that ... [more]
12 1270 Aug 5, 2011 11:31 am
by acedlol
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
Script is fine, up to the bit where you set the weapons for(i=0;i... [more]
12 1270 Aug 5, 2011 10:41 am
by acedlol
Complicated thingy :(
Call of Duty 4 : CoD4 Scripting
I have a scripting job, which is essential for my map, and I don't have the amount of knowledge needed to write this myself. I've tried looking and searching and made attempts, but I've only produced miserable failures. I would greatly appreciate if anyon... [more]
12 1270 Aug 5, 2011 07:58 am
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
FINALLY got it working, (so far at least) For all those looking at this topic, and wondering how to: http://modsonline.com/Forums-top-116671.html Thanks to all those that helped, most appreciated.... [more]
15 2242 Jul 22, 2011 02:59 pm
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
It was some syntax error in the _load file, which I found strange, because its my _load file :S:S:S. I'll have a look back over the tutorials and see if I can get it running again. ... [more]
15 2242 Jul 22, 2011 01:33 pm
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
Oh dear, I could probably get it down by a couple of hundred. ... [more]
15 2242 Jul 22, 2011 12:23 pm
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
Hmm, several syntax errors in there, first one popped up at: self.health = self.health -- dmg; Changed the -- to the - (not sure if thats right), then that worked but I got the error at : if( self.health =< 0 ) Removed the = (again probably... [more]
15 2242 Jul 22, 2011 10:22 am
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
Hmm, on further inspection, brax's script isn't working on some occasions, like in promod, and with certain guns on the stock game. I will try the other one, and learn arrays? As I heard that's how you assign one function to a range of things ... [more]
15 2242 Jul 21, 2011 07:27 pm
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
Say if I needed to create hundreds of these blocks, I cannot just copy+paste and change the targetname everytime ? Thanks for your help so far, beginning to understand this scripting lark :P... [more]
15 2242 Jul 21, 2011 04:17 pm
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
IzNoGoD writes...Quote:breakablewall() { health=200; while(health>0) { wall waittill("damage",dmg) health-=int(dmg); } normalbrush notsolid(); normalbrush hide(); } Getting bad syntax at: health-=int(dmg); However I don't see ... [more]
15 2242 Jul 21, 2011 09:07 am
by acedlol
how wierd :<
Call of Duty 4 : CoD4 Scripting
Okay, so in this map I have a simple breakable wall. I do this using this script: main() { thread breakableWall(); } breakableWall() { normalbrush = getEnt("normalbrush", "targetname"); wall = getEnt("damageTrigger", "targetname"); wa... [more]
15 2242 Jul 21, 2011 08:50 am
by acedlol
trigger_hurt + brushmodel
Call of Duty 4 : CoD4 Scripting
Here's the situation picturised. :D The rotating arm itself, and the 16x16 origin texture brush have these settings, and rotate fine. The rotating script: (from the wikimods website) main() { rotate_obj = getentarray("rotate","targe... [more]
3 1671 Jul 19, 2011 02:19 pm
by acedlol
trigger_hurt + brushmodel
Call of Duty 4 : CoD4 Scripting
Did a quick search, couldn't find anything. Basically, I have a rotating brush in my map. Its a spinner and when a player gets close to this brush, I want them to die using the trigger-> trigger_hurt. However radiant doesn't allow for the trigger_hu... [more]
3 1671 Jul 19, 2011 08:56 am
by acedlol
MODSonline.com Forums

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»